On November 2, Google posted a notice that a lot of production code is about to feel. According to Google's Gemini API release notes, as reported by DataStudios and AI Polix, the gemini-2.5-pro and gemini-2.5-flash model IDs are deprecated. From December 1, 2026, requests to them get routed to newer models, billed at the newer models' prices. If your product calls the Gemini 2.5 Pro API, nothing will throw an error that morning. It will just start talking to a different model.
That's the part worth worrying about. A hard shutdown is loud: things break and someone gets paged. A silent reroute is quiet. Cost, latency, output format and tool-calling behaviour can all shift while every health check stays green. You have a little over three weeks.
TL;DR#
- Per the reported notice, Gemini 2.5 Pro routes to Gemini 3.8 Flash and Gemini 2.5 Flash routes to Gemini 3.5 Flash-Lite from December 1. Gemini 2.5 Flash-Lite isn't affected.
- Your calls keep working, but the model, the price and parts of the request format change underneath them, including function calling and thinking settings.
- Treat it as a migration you run yourself: test the replacement on real inputs, pin it in config and ship before Google flips the switch for you.
What changed with the Gemini 2.5 Pro API#
Here's the routing, with prices DataStudios pulled from Google's pricing page on November 3 (per 1M tokens, standard paid tier, prompts up to 200k):
| Model ID you call today | Routed to from Dec 1 | Old price (in / out) | New price (in / out) |
|---|---|---|---|
| gemini-2.5-pro | gemini-3.8-flash | $1.25 / $10.00 | $0.75 / $3.75 in December, then $1.50 / $7.50 from Jan 1, 2027 |
| gemini-2.5-flash | gemini-3.5-flash-lite | $0.30 / $2.50 | $0.30 / $2.50 |
| gemini-2.5-flash-lite | no change | unchanged | unchanged |
Two things stand out. First, this came quickly. On September 18, Google's own changelog said the 2.5 models were "not deprecated and will continue to be served until further notice." Seven weeks later they have a date.
Second, this isn't a one-off. On October 8, Google auto-routed gemini-3.7-flash and gemini-3.5-flash to newer versions in the same way. Its deprecations page also notes that listed shutdown dates "indicate the earliest possible dates." Rerouting is now a normal part of how Google retires models, so expect to go through this again.
Why a silent reroute is riskier than a shutdown#
The Pro to Flash move is the big one. That isn't a version bump; it's a different class of model. Teams usually picked Pro for slow, careful work: contract review, multi-step planning, gnarly extraction from messy documents. Flash models are built for speed and price. The new Flash might handle your task just fine. It might not. Nobody can tell you without testing on your own data.
Cost moves in two steps. Pro users get cheaper tokens in December, then a doubling on January 1 (still below old Pro rates). But per-token price isn't your bill. If the new model writes longer answers or spends more on thinking, your total can move in either direction.
Then there's visibility. DataStudios notes that Google hasn't said whether API responses will tell you which model actually answered. If your logs record the model you asked for, they'll keep saying gemini-2.5-pro long after it's gone. That's how quality drift goes unnoticed for weeks.
The technical breakdown: what can break#
According to the notice as summarised by DataStudios and AI Polix, the replacements bring breaking changes in a few areas.
Function calling and thought signatures#
Validation of function calls and thought_signature gets stricter. If you run an agent loop that passes tool results and thinking context back to the model, requests that worked on 2.5 may now get rejected. Test full multi-turn tool flows, not single prompts.
Thinking controls#
thinking_level replaces thinking_budget, so code that sets a token budget needs translating to levels. Both reports say the minimal level returns an error on Gemini 3.8 Flash, while 3.5 Flash-Lite defaults to minimal. Those defaults change both quality and cost.
Sampling parameters and prefills#
Google already deprecated temperature, top_p and top_k back in July. The reports add that prefilled model turns and candidate_count go away. If you used a prefill to force JSON output, you'll need structured output or a schema instead.
What's still unclear#
Neither report says how this applies to Vertex AI, whether you can opt out, or whether explicit caches carry over.
A small change that pays off every time this happens:
# before: model and knobs hard-coded in the call
model = "gemini-2.5-pro"
config = {"thinking_budget": 8192, "temperature": 0.2}
# after: one config entry per workflow, tested before it ships
model = settings.INVOICE_EXTRACT_MODEL # "gemini-3.8-flash"
config = settings.INVOICE_EXTRACT_CONFIG # thinking_level, response schema
log(requested=model, served=response.model_version)
What it means for businesses#
Most business owners we talk to don't know which model their tools call. An agency built the support triage bot. A contractor wrote the invoice parser. Someone wired a Gemini step into a workflow tool two years ago. All of those may be pointing at a 2.5 model ID right now.
The risk depends on what the model does. For drafting product descriptions, a slightly different tone is fine. For extraction that feeds your ERP, CRM or billing system, a model that reads one field differently can push bad data downstream with nobody watching.
There's an upside too. Plenty of teams run Pro on tasks that never needed it. If your tests show the new Flash does the job, you might come out of this with a smaller bill and faster responses. You just want to find that out on purpose, not by accident.
How to act before December 1#
- Inventory every call. Search code, environment variables, workflow tools and no-code steps for
gemini-2.5-proandgemini-2.5-flash. - Ask your vendors. Anyone running AI features for you should be able to say which model they'll use after the switch.
- Build a small test set. Collect 30 to 100 real inputs per workflow with known good outputs. Include the weird ones.
- Run it against the replacement directly. Call
gemini-3.8-flashorgemini-3.5-flash-liteby name and compare accuracy, format, latency and token counts. - Update request parameters. Move to
thinking_level, drop deprecated sampling settings and prefills, and test full tool-calling loops. - Decide if Pro work still needs Pro. If the Flash results fall short, test a current Pro-tier model or another provider before December, not after.
- Pin the model in config and log what served it. The next migration becomes a one-line change plus a test run.
- Set budget alerts for January. The 3.8 Flash price step on January 1 is easy to miss.
How MagicMakers Lab approaches this#
We treat every model call as a dependency that will change. That means a thin adapter around the provider, the model ID in config, a test set for each workflow and logs that record what actually answered. It's the same reason the fulfilment automation we built for Framico can run 200+ orders a day with zero manual steps: changes upstream get caught by tests, not by customers. If your AI features are spread across a few disconnected tools, consolidating them (as we did for Business Hub) also makes migrations like this one far less painful.
Key takeaways#
- From December 1, calls to the Gemini 2.5 Pro and 2.5 Flash API IDs reportedly reroute to Gemini 3.8 Flash and 3.5 Flash-Lite.
- Nothing will crash, which is exactly why quality and cost changes can slip through unnoticed.
- Function calling, thinking settings, sampling parameters and prefills all need checking.
- Test on your own data, pin the model yourself and log the model that served each request.
- Google now uses auto-routing routinely, so build for the next migration while handling this one.
FAQ#
Is the Gemini 2.5 Pro API being shut down?#
Not with an error. According to Google's November 2 release notes, as reported by several outlets, requests to gemini-2.5-pro are routed to Gemini 3.8 Flash from December 1, 2026. Your integration keeps responding, but a different model answers and you pay that model's price. Practically, it's a forced migration, so test the replacement now.
What does Gemini 2.5 Flash get routed to?#
Reported routing sends gemini-2.5-flash to Gemini 3.5 Flash-Lite, with the same listed per-token prices of $0.30 input and $2.50 output per million tokens. Gemini 2.5 Flash-Lite is not affected and has no shutdown date. Check output quality, since Flash-Lite is a lighter model and defaults to minimal thinking.
Will Gemini API costs go up after the reroute?#
For former Pro users, per-token prices drop in December and then rise on January 1, 2027 to $1.50 input and $7.50 output, which is still below 2.5 Pro's rates. Your total bill depends on how many tokens the new model uses, including thinking, so measure real workloads and set budget alerts.
Does the Gemini 2.5 deprecation affect Vertex AI?#
The coverage of Google's notice says it doesn't describe the model lifecycle on Vertex AI, and it doesn't mention an opt-out either. If you call Gemini through Vertex, check your console and Google Cloud's model lifecycle pages directly, and run the same tests anyway. A migration plan you don't need is cheaper than an outage you didn't expect.
If you're not sure which of your workflows call Gemini, or what will change when the model behind them does, we can map it with you and tell you where the real risk sits. Book a free audit.
Sources#
- Gemini API changelog (Google)
- Gemini API deprecations (Google)
- Gemini 2.5 Pro and 2.5 Flash API reroute to 3.8 Flash and 3.5 Flash-Lite on December 1 (DataStudios)
- Google deprecates Gemini 2.5 Pro and 2.5 Flash in the Gemini API (AI Polix)
- Gemini 2.5 Pro and 2.5 Flash deprecated, requests re-route on December 1 (llm-exe on GitHub)