Setup guide - Documented by Continue
Use Gemini in Continue
Continue has a native gemini provider configured in config.yaml with a Gemini API key and model id.
Last verified 2 steps2 official sources
Steps
- Step 1.
Get an API key from Google AI Studio (https://aistudio.google.com/).
- Step 2.
Add a model to config.yaml (Continue's documented template; set model to a current Gemini id such as gemini-3.8-flash).
YAMLname: My Config version: 0.0.1 schema: v1 models: - name: <MODEL_NAME> provider: gemini model: <MODEL_ID> apiKey: <YOUR_GEMINI_API_KEY>
Caveats
- Continue's page uses <MODEL_ID> placeholders. The ids listed come from Google's models page.
- The JSON config.json form is marked Deprecated in Continue's docs.
More setup guides
Same tool, other providers
Related reading
- Do Your Agent Hooks Fail Open? Claude Code vs Codex vs Cursor vs Gemini CLIA guard hook that crashes, times out or points at a missing script lets the tool call through by default in Claude Code. v2.1.295 adds onFailure: block. Here is what each coding agent does when your policy hook breaks, with real test runs.
- Google AI Pro vs Gemini API: What Developers Actually GetGoogle AI Pro costs $19.99 a month and has no API key, but includes $10 of monthly Cloud credits. When the subscription wins and when to pay per token.
- How to Keep API Keys Away From Your AI Coding Agent: Claude Code vs Codex vs Cursor vs Gemini CLIA deny rule on .env stops cat but not a Python one-liner. Here are the three layers that actually keep secrets out of a coding agent's context - file rules, environment scrubbing and credential masking - and what Claude Code, Codex, Cursor and Gemini CLI give you for each, with real test runs.
- Google Gemini Agent: Coworker Agents With Their Own EmailGoogle's Gemini agent can create coworker agents with their own Workspace account, email and audit trail. What Google announced and what builders should copy.
- Gemini 4 Argon: What Developers Can Actually UseGemini 4 Argon for developers: what Google shipped, what is verified, why access starts narrow, and what to watch before planning a migration around it.
- Gemini 3.8 Live and 3.8 Live Extended Thinking: Google's Audio-to-Audio Voice Models, Benchmarked and PricedGemini 3.8 Live and 3.8 Live Extended Thinking are Google's audio-to-audio voice models with background tool calls. Benchmarks, pricing and how to build.
FAQ
How do I use Gemini in Continue?
Continue has a native gemini provider configured in config.yaml with a Gemini API key and model id.
Which Gemini model ids work in Continue?
The official docs read for this guide list gemini-4-argon, gemini-3.8-flash, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-3.1-pro-preview, gemini-2.5-pro and gemini-2.5-flash.
Is this an official Gemini and Continue setup?
Continue documents this setup in its own docs. It was last checked against 2 official pages on October 17, 2026.
Sources
Last verified against 2 official pages.
Newsletter
New models, set up the day they ship
One email per week. New model releases, the coding tools that support them and how to wire them up.