Can I still use Gemini 2.5 Pro or Flash?
Only until October 20, 2026: Standard Compute serves Gemini 2.5 Pro (google/gemini-2.5-pro) and Gemini 2.5 Flash (google/gemini-2.5-flash) on plans from $19 a month, on a compute budget that returns HTTP 402 at 100%, but both are being retired and can no longer be added to a model selection. Gemini 3.8 Flash (google/gemini-3.8-flash) is the successor for agent work.
| Model | Google's 2.5 generation: Pro for reasoning, Flash for speed. Google's current line is Gemini 3.x. |
|---|---|
| Model IDs | google/gemini-2.5-proFlash: google/gemini-2.5-flash |
| Retirement | Closed to new selectionsExisting selections and pinned requests keep working until the cutoff |
| Model ID, successor | google/gemini-3.8-flashFor cheap high-volume calls: google/gemini-3.5-flash-lite |
| Base URL | https://api.stdcmpt.com/v1 |
| Input | Text, images, files, audio and video |
Copy a working config
These configs use the successor, Gemini 3.8 Flash. To keep 2.5 until it retires, put its model ID in the same place.
{
"$schema": "https://opencode.ai/config.json",
"model": "standardcompute/google/gemini-3.8-flash",
"provider": {
"standardcompute": {
"npm": "@ai-sdk/openai-compatible",
"name": "Standard Compute",
"options": {
"baseURL": "https://api.stdcmpt.com/v1",
"apiKey": "{env:STANDARDCOMPUTE_API_KEY}"
},
"models": {
"google/gemini-3.8-flash": { "name": "Gemini 3.8 Flash" },
"standardcompute": { "name": "Smart routing" }
}
}
}
}
Replace YOUR_API_KEY with a key from the dashboard. This config reads your key from STANDARDCOMPUTE_API_KEY; export it with a key from the dashboard. Full setup: OpenCode, Cline, Aider and other tools, Kilo Code.
What it costs
| Per 1M tokens | Pro to 200K | Pro over 200K | Flash |
|---|---|---|---|
| Input | $1.25 | $2.50 | $0.30 |
| Cached input | $0.125 | $0.25 | $0.03 |
| Output | $10.00 | $15.00 | $2.50 |
Gemini API paid tier. The Pro columns split by prompt length. Flash's input rate covers text, images and video; audio input costs $1.00. Source: Gemini API pricing, checked October 13, 2026.
Gemini 3.8 Flash lists below 2.5 Pro on input and output through the end of 2026, so switching costs nothing on price.
What works differently here
- The cutoff is when the upstream listing we serve Gemini 2.5 through expires. Google's own API and Vertex set their own lifecycle dates; check Google's model versions page if you pay Google directly.
- Once you remove a 2.5 model from your selection, you cannot add it back.
- Gemini CLI cannot connect to this gateway; it only speaks Google's Gemini API.
Other ways to run Gemini 2.5 Pro and Flash
| Gemini APIPay per token | First-party through Google AI Studio, on Google's own lifecycle dates. |
|---|---|
| Vertex AIPay per token | Google Cloud billing, with regional endpoints and its own model versions schedule. |
| Standard ComputeMonthly plan | Being retired here; Gemini 3.8 Flash, 3.1 Pro and 3.5 Flash-Lite are the current Gemini models on every plan. |
FAQ
Which model replaces Gemini 2.5 Pro for coding agents?
Gemini 3.8 Flash for most agent work: Google built it for long-horizon software engineering. Gemini 3.1 Pro, Google's current Pro model, is on every plan too.
Which model replaces Gemini 2.5 Flash?
Gemini 3.5 Flash-Lite for cheap, high-volume calls such as subagents and document parsing; it also takes audio and video. Gemini 3.8 Flash where quality matters more.
What happens to requests that pin a Gemini 2.5 ID after the cutoff?
They stop working once the upstream listing is gone. Change the model ID in your agent and swap the model on the Models page before then.
Is there a Gemini 2.5-class long-context provider without GCP quota requests?
Yes. Standard Compute serves google/gemini-2.5-pro with its 1M-token context until October 20 (closed to new selections), and Gemini 3.1 Pro Preview and Gemini 3.8 Flash at 1M too, on every plan from $19 a month, with no Google Cloud project and no quota request. Paid plans take prompts up to about 850,000 tokens. Limits are a high per-key anti-abuse ceiling and the monthly compute budget, so a launch week needs a budget sized for it, not a quota ticket. Google now marks Gemini 2.5 Pro as limited access, so plan the move to Gemini 3.1 Pro or 3.8 Flash.
Sources: Gemini API pricing; Google Cloud: Gemini model versions and lifecycle; OpenRouter: Gemini 2.5 Pro (expiration date)
Create your key
Sign in, create a key in the dashboard and paste it into the config above.