
Gemini 2.5 Pro and Flash Are Being Retired: A Migration Checklist Before 1 December
Also available in Hindi: यह लेख हिंदी में पढ़ें
Google has deprecated gemini-2.5-pro and gemini-2.5-flash in the Gemini API. From 1 December 2026, requests to gemini-2.5-pro will automatically route to gemini-3.8-flash, and requests to gemini-2.5-flash will route to gemini-3.5-flash-lite, billed at the new model’s rates. Your app will not break with a “model not found” error, but its answers, speed and bill can change without any code change. Here is what to check before then.
What Google changed
Google’s Gemini API changelog entry of 2 November 2026 and its deprecations page say:
gemini-2.5-prois deprecated and can no longer be picked in Google AI Studio. API access is limited to existing users who have used it actively.- From 1 December 2026, calls to it route to
gemini-3.8-flashand are billed at Gemini 3.8 Flash rates. - Calls to
gemini-2.5-flashroute togemini-3.5-flash-litefrom the same date. gemini-2.5-flash-liteis not on the list and keeps working as before.
What it does to your bill
Using Google’s published paid-tier prices (standard, per million tokens):
| Model | Input | Output |
|---|---|---|
| gemini-2.5-pro (prompts ≤200k) | $1.25 | $10.00 |
| gemini-3.8-flash | $0.75 to 31 Dec 2026, then $1.50 | $3.75 to 31 Dec 2026, then $7.50 |
| gemini-2.5-flash (text/image/video) | $0.30 | $2.50 |
| gemini-3.5-flash-lite | $0.30 | $2.50 |
For most 2.5 Pro users the rerouted calls will cost less per token, at least through 2026. Flash users see the same list price. The bigger risk is quality and behaviour: a Flash or Flash-Lite model is not a drop-in copy of the model you tested.
Migration checklist
- Find every call. Search your code and config for the old model names:
grep -rnE "gemini-2\.5-(pro|flash)\b" --include=*.py --include=*.ts --include=*.js --include=*.env* . - Pin the new model explicitly. Change the model string yourself so you control the date of the switch instead of the auto-route.
- Re-run your test prompts. Compare answers, JSON validity and latency on 20 to 50 real examples.
- Check API features. Migration guides from Neural Brew and OmniaKey flag stricter function-calling and
thought_signaturechecks,thinking_levelin place ofthinking_budget, and some sampling parameters and prefilled model turns no longer being accepted. Test any request that uses these. - Set a budget alert for January 2027, when 3.8 Flash prices double.
- Leave 2.5 Flash-Lite alone unless you want to upgrade; it is not deprecated.
Which model should you move to?
If you used 2.5 Pro for hard reasoning or coding, start with gemini-3.8-flash, which Google describes as its most intelligent Flash model for long-horizon engineering and agents. If you used 2.5 Flash for high-volume chat, tagging or translation, test gemini-3.5-flash-lite first. If quality drops, try the next model up before you ship.
Our take: auto-routing saves you from an outage, not from surprises. Pin your models, test this month, and you control the switch instead of Google’s calendar.
Sources
- Gemini API release notes (changelog), Google AI for Developers
- Gemini deprecations, Google AI for Developers
- Gemini Developer API pricing, Google AI for Developers
- Google deprecates Gemini 2.5 Pro and Flash, reroutes calls, Neural Brew
- Gemini 2.5 Pro deprecated: migration guide, OmniaKey
Related reading: OpenRouter Guide: One API Key for Hundreds of AI Models, Gemini CLI Tutorial 2026: Install, Auth and Antigravity and Google Agent Compute Engine and Gemini API CLI.
FAQ
Will my gemini-2.5-pro code stop working on 1 December 2026?
No. Google says requests will automatically route to gemini-3.8-flash and be billed at its rates, so calls keep working but answers may change.
Is gemini-2.5-flash-lite deprecated too?
No. Google’s announcement covers gemini-2.5-pro and gemini-2.5-flash only.
Will the new models cost more?
At current list prices, gemini-3.8-flash is cheaper than gemini-2.5-pro per token, but its price doubles on 1 January 2027. gemini-3.5-flash-lite has the same list price as gemini-2.5-flash.
Can I still use gemini-2.5-pro in Google AI Studio?
No. Google says it is no longer available to select in AI Studio.