I'll help you find information about custom models for Cursor and compare those Gemini models.
Custom Models for Cursor
Based on Reddit discussions, here are the custom models that users have successfully added to Cursor:
OpenAI Models:
- GPT-4o
- GPT-4o-mini
- o1-preview
- o1-mini
Anthropic Models:
- Claude 3.5 Sonnet
- Claude 3 Opus
- Claude 3 Haiku
Google Models:
- Gemini 1.5 Pro
- Gemini 1.5 Flash
Open Source/Local Models (via Ollama or similar):
- Llama 3
- CodeLlama
- Mistral
- DeepSeek Coder
- Qwen
Other Providers:
- Groq (for fast inference with models like Llama 3)
- Together AI
- Perplexity models
To add custom models in Cursor, you typically need to:
- Go to Settings → Models
- Add your API key for the provider
- Select or manually add the model name
Gemini Model Comparison
Regarding the three Gemini models you mentioned:
Gemini 2.0 Flash (Preview) - This is the fastest and most cost-effective option. It's optimized for speed while maintaining good performance for most coding tasks.
Gemini 1.5 Pro - This is the stable, production-ready model with strong reasoning capabilities and a large context window (up to 2M tokens). It's well-balanced for coding tasks.
Gemini 1.5 Pro Experimental (exp-0325) - This experimental version typically offers improved performance over the standard 1.5 Pro, with better reasoning and code generation capabilities, but may be less stable.
For coding in Cursor, most Reddit users recommend either Gemini 1.5 Pro for stability or the experimental version if you want cutting-edge performance. The Flash preview is good for quick iterations where speed matters more than maximum capability.
Note that model availability and performance can change, so it's worth testing each with your specific use cases to see which works best for your workflow.