Full Byte Developer.

From Dec 1, gemini-2.5-pro answers as a different model

Your model string stays the same. The model answering does not. Pin and retest before December 1.

Published here · 4 sources

From December 1, 2026, all Gemini API 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, each billed at the new model's rates [1][2]. Your model string stays the same. The model answering does not.

Find the old names

Search code, env files and gitignored files. Plain ripgrep skips hidden and gitignored files by default.

bash
rg -nP -uu -g '!node_modules' -g '!.git' 'gemini-2\.5-(pro|flash)(?![-\w])' .

No PCRE support? Use grep:

bash
grep -rnE --exclude-dir=node_modules 'gemini-2\.5-(pro|flash)([^-[:alnum:]_]|$)' .

Note: gemini-2.5-flash-lite is not deprecated, which is why the pattern stops at the full name [2].

Pin a current model

Choose a current model on purpose. Put its exact ID in your code and rerun your saved test prompts on it before December 1. Compare the answers.

Log which model answered

Check that your logs show the actual model version:

python
print(resp.model_version)

In REST JSON, the field is modelVersion [3].

Price changes on the same page

Also on the pricing page (paid tier, Standard) [1]:

  • Dec 1: Gemini 4 Argon doubles. Input $2.00 to $4.00, output $10.00 to $20.00 per 1M tokens.
  • Jan 1, 2027: Gemini 3.8 Flash and 3.6 Flash double. Input $0.75 to $1.50, output $3.75 to $7.50.

The 3.8 Flash free tier is still listed as free of charge.

Breaking API changes

Google's migration guide lists breaking API changes for 3.8 Flash [4]. For example, thinking_budget becomes thinking_level, and temperature, top_p and top_k are removed. Read it before December 1.

Send this to the friend whose app still calls Gemini 2.5 Pro before December 1.

Keep this guide

By Full Byte Developer

Filed under AI agents

Questions about this guide

Does this apply to Vertex AI?

Vertex AI may have different dates. Check its own page.

Is gemini-2.5-flash-lite deprecated?

No. Google says it is not deprecated, which is why the search pattern stops at the full name.

Sources

  1. Google AI Studio: pricingaistudio.google.com

Next in this stack