How to Configure Your Google Gemini API Key in Remocode
Google's Gemini family offers a wide range of models from the flagship Gemini 3.1 Pro down to the lightweight Gemini 1.5 Flash. Google also provides one of the most generous free tiers among AI providers, making it an excellent starting choice.
Step 1: Get Your API Key
- ●Visit [aistudio.google.com](https://aistudio.google.com)
- ●Sign in with your Google account
- ●Click Get API Key in the navigation menu
- ●Click Create API Key and select a Google Cloud project (or create one)
- ●Copy the generated API key:
AIzaSyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXThe key is available in your Google AI Studio dashboard at any time, so you can retrieve it later if needed.
Step 2: Configure Remocode
- ●Press `⌘⇧A` to open the AI panel
- ●Click the ⚙ Settings gear icon
- ●Navigate to the Provider tab
- ●Select Google as the provider
- ●Paste your API key
- ●Choose your default Gemini model
- ●Click Save
Step 3: Choose a Gemini Model
Remocode supports seven Gemini models across three generations:
#### Generation 3
- ●Gemini 3.1 Pro — Google's latest and most capable model, excellent for complex reasoning and code generation
- ●Gemini 3 Flash — fast and capable, ideal for everyday development tasks
#### Generation 2.5
- ●Gemini 2.5 Pro — strong general-purpose model with great code understanding
- ●Gemini 2.5 Flash — quick responses with solid accuracy
#### Generation 2.0 and 1.5
- ●Gemini 2.0 Flash — reliable and fast
- ●Gemini 1.5 Pro — well-tested, great for structured outputs
- ●Gemini 1.5 Flash — the fastest option, perfect for high-throughput tasks
Model Comparison
| Model | Speed | Quality | Cost | Best For | |-------|-------|---------|------|----------| | Gemini 3.1 Pro | Moderate | Highest | Higher | Complex coding, architecture | | Gemini 3 Flash | Fast | High | Moderate | Daily coding tasks | | Gemini 2.5 Pro | Moderate | High | Moderate | Code review, debugging | | Gemini 2.5 Flash | Fast | Good | Lower | Quick completions | | Gemini 2.0 Flash | Fast | Good | Lower | Rapid iterations | | Gemini 1.5 Pro | Moderate | Good | Lower | Structured outputs | | Gemini 1.5 Flash | Fastest | Adequate | Lowest | High-volume tasks |
Why Choose Gemini?
Free tier advantages: Google offers a generous free quota for Gemini API usage. New developers can experiment extensively without spending money, making it perfect for:
- ●Testing Remocode for the first time
- ●Learning AI-assisted development
- ●Personal projects with light usage
Long context windows: Gemini models support very large context windows, meaning they can analyze more of your codebase in a single request. This is especially valuable when working with large files or asking about cross-file relationships.
Verifying the Connection
- ●Open the AI panel (`⌘⇧A`)
- ●Type:
Explain the difference between let and const in JavaScript - ●A response confirms your key is working
Troubleshooting
"API key not valid" error:
- ●Ensure the key starts with
AIza - ●Check that the key is associated with an active Google Cloud project
- ●Verify the Gemini API is enabled in your Google Cloud Console
"Resource exhausted" error:
- ●You have hit your rate limit or quota
- ●Wait a few minutes and retry
- ●Consider upgrading to a paid plan for higher quotas
"Permission denied" error:
- ●Enable the "Generative Language API" in Google Cloud Console
- ●Ensure your API key is not restricted to specific APIs that exclude Gemini
Recommended Configuration
For most developers, start with Gemini 3 Flash as your default. It provides the best balance of speed, quality, and cost. Switch to Gemini 3.1 Pro when you need the deepest reasoning capabilities.
If you are cost-sensitive or just getting started, Gemini 2.5 Flash within the free tier is more than sufficient for learning and light development work.
Ready to try Remocode?
Start with a 7-day Pro trial — no credit card required. Download now and start coding with AI from anywhere.
Download Remocodefor macOS