gemini-2.5-pro now runs on Gemini 3.8 Flash. I checked 337 Gemini repos for what that breaks
Since December 1, a call to gemini-2.5-pro on the Gemini API doesn't reach Gemini 2.5 Pro. Google's deprecations page has said it since early November: "Effective December 1, 2026, all API requests to gemini-2.5-pro will
Since December 1, a call to gemini-2.5-pro on the Gemini API doesn't reach Gemini 2.5 Pro. Google's deprecations page has said it since early November: "Effective December 1, 2026, all API requests to gemini-2.5-pro will automatically route to gemini-3.8-flash and be billed at Gemini 3.8 Flash rates."
Nothing in your code changes, and your config still says 2.5 Pro.
I wanted to know what that looks like in real code, so I took the 337 most recently pushed Gemini-related public repos I could find through GitHub search, shallow-cloned all of them and grepped for the literal model id in code and config. 40 of them still name gemini-2.5-pro. Most of those only list it in a model picker or a test, which is harmless. The rest fall into three groups, and each one breaks in a different way.
1. Code that still sends it, with settings 3.8 Flash doesn't take
Google's migration checklist for 3.8 Flash asks you to replace thinking_budget with thinking_level (low, medium or high, no minimal), and to remove temperature, top_p, top_k, candidate_count and prefilled model turns.
Nine of the 40 still send real requests to the Gemini API with gemini-2.5-pro as the default or hard-coded model: two chat starters, a multi-agent framework's Gemini example, two cloud-ops agents with it as their "pro" tier, a PDF translation tool's example config, an eval judge and two research benchmarks.
The cleanest example is a big eval framework. Its InverseIFEval judge config, in a repo pushed on December 1, builds the Gemini judge like this:
_gemini_2_5_thinking = dict(thinking_budget=1024, include_thoughts=True)
...
cfg = dict(type=GeminiSDK, path='gemini-2.5-pro', temperature=0.0, ...)
cfg['thinking'] = _gemini_2_5_thinking
thinking_budget, temperature=0.0, and a model id that now means a different model. A small chatbot I found does the same with temperature=0.7.
I don't have a paid Gemini key on this machine, so I can't tell you whether a routed request carrying thinking_budget gets rejected or quietly ignored. I'd rather not guess. If you run a service like this, send one request and look at the response before your users do.
2. Benchmarks and judges that change model under the same label
This is the one that worries me more than errors, because errors at least get noticed.
Two of the 40 are research benchmarks whose run scripts tell you to pass --model gemini-2.5-pro. The eval framework above uses 2.5 Pro as a judge. Run any of these since December 1 and the results table will still say "Gemini 2.5 Pro", but the numbers come from Gemini 3.8 Flash. A leaderboard row computed in October and one computed next week will sit side by side with the same name.
If you publish numbers, either pin gemini-3.8-flash explicitly or write the run date next to the model name. Better both.
3. Cost trackers billing at the old price
Six of the 40 keep their own price table, and every one of them still prices gemini-2.5-pro at 2.5 Pro rates. Four use the official $1.25 per million input tokens. Two copies of the same router use $2.00 input and $12.00 output.
What Google actually charges for those requests now, from the live pricing page:
| per 1M tokens | 2.5 Pro (prompts ≤200k) | 3.8 Flash until Dec 31 | 3.8 Flash from Jan 1 |
|---|---|---|---|
| input | $1.25 | $0.75 | $1.50 |
| output, thinking included | $10.00 | $3.75 | $7.50 |
So for December these dashboards overstate the bill, which nobody complains about. On January 1 the 3.8 Flash input price doubles to $1.50, higher than the $1.25 the trackers use. Input-heavy workloads (long documents, RAG with big contexts) will cost more per input token than the dashboard says, while output still looks pricier on the dashboard than on the invoice. Google also says 3.8 Flash "can use more tokens on longer running tasks, by design", so token counts may move too.
Two repos had already dealt with it, which was nice to see. One LLM router has a deprecation entry that says almost word for word what Google's page says. One analytics dashboard keeps dated price periods, with a test comment pointing at 2.5 Pro's own rates "as they applied through 2026-11-30".
What I'd do now
- grep your code and your config, including
.env.exampleand YAML, forgemini-2.5-pro. Most of the hits I found were in config files, not code. - Where it is sent, change it to
gemini-3.8-flashyourself, and at the same call site swapthinking_budgetforthinking_leveland drop the sampling params. - If you use function calling through
generateContent, check that everyFunctionResponsehascall_idandname. That's on Google's checklist too. - Put the new price, with its January 1 step, into any cost table you keep.
- Re-label eval results from December 1 on.
A caveat on the sample. All of this is about the Gemini Developer API (ai.google.dev); I didn't look at Vertex AI's schedule. GitHub search ranks repos by name, description and README, not code, so this is 337 active Gemini projects rather than every project that calls Gemini. The share that still name 2.5 Pro (12%) is a floor for "active Gemini repos", not a number for the whole ecosystem.
Has anything in your logs looked different since the switch? I'd like to know whether the thinking settings fail loudly or not.
I used AI tools for parts of the grep work and the writing. The census, the code reading and the numbers are checked by hand. Originally published on my Hashnode blog.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.