cd /news/large-language-models/your-gemini-2-5-pro-calls-are-answer… · home › topics › large-language-models › article
[ARTICLE · art-179194] src=dev.to ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Your gemini-2.5-pro calls are answered by a different model now: a 10 minute check

Google has begun automatically rerouting API requests for the deprecated gemini-2.5-pro and gemini-2.5-flash model strings to gemini-3.8-flash and gemini-3.5-flash-lite respectively, billing callers at the newer models' rates, according to a checklist published by researcher Veer. The post warns that the silent reroute can break prompt tuning and evals built on the old models, and notes breaking changes including thinking_level replacing thinking_budget and altered thought_signature validation for tool-calling paths. "A different model can be better on average and still fail on the exact cases your product depends on," he wrote.

recommendation

Grep code, config, CI secrets and hosting env vars for deprecated model strings, pin the intended model explicitly, and log model_version to catch future silent reroutes.

more in playbook: Running AI in production
by read3 min views4 publishedDec 1, 2026

If your code calls gemini-2.5-pro or gemini-2.5-flash, the model answering you changed today.

Google deprecated both models on November 2 and set the switch for December 1, 2026. From today, every API request for those model strings is automatically routed to a newer model, and billed at that newer model's rates:

What your code asks for What answers from Dec 1
gemini-2.5-pro gemini-3.8-flash
gemini-2.5-flash gemini-3.5-flash-lite

Both 2.5 models are also gone from the model picker in Google AI Studio.

This post is a short checklist to find out whether you're affected and what to re-test.

When an API shuts a model down, your calls fail. It's loud, it's annoying, and someone fixes it the same day.

A reroute is quieter. Your code keeps running, the model string in your config still says 2.5, and the feature keeps answering. The only thing that changed is the model behind it.

I research LLM hallucination, and this is the part that worries me. Every eval you ran, every prompt you tuned, every "it works, ship it" moment happened on the old model. A different model can be better on average and still fail on the exact cases your product depends on. Nothing in your code will tell you that.

Start with a plain search across code, config and environment files:

grep -rnE "gemini-2\.5-(pro|flash)" . \
  --include="*.py" --include="*.ts" --include="*.js" \
  --include="*.json" --include="*.yaml" --include="*.yml" --include="*.env*"

Check the places a search misses too: environment variables in your hosting dashboard, CI secrets, serverless function settings, and any no-code or workflow tool that calls Gemini on your behalf.

Don't let the reroute choose for you. Update the string to the model you intend to run, then test that model on purpose.

from google import genai

client = genai.Client()

MODEL = "gemini-3.8-flash"  # was "gemini-2.5-pro"

response = client.models.generate_content(
    model=MODEL,
    contents="Summarise this support ticket in one line: ...",
)

print(response.model_version)  # log what actually answered
print(response.text)

Logging model_version from the response is a cheap habit. If what you asked for and what answered ever differ again, you'll see it in your logs instead of in a user complaint.

Google's changelog lists breaking API changes that come with the new models:

thinking_level replaces thinking_budget. If you set a token budget for thinking, move to a level instead.thought_signature validation changed. If your app uses tools, re-run every tool-calling path, not just the happy one. The migration guides for Gemini 3.8 Flash and 3.5 Flash-Lite in Google's docs cover each change in detail.

This is the step people skip. Take the inputs your feature actually sees and run them through the new model.

Two things to look at:

from collections import Counter

def consistency(prompt, runs=5):
    answers = [
        client.models.generate_content(model=MODEL, contents=prompt).text.strip()
        for _ in range(runs)
    ]
    most_common, count = Counter(answers).most_common(1)[0]
    return count / runs, most_common

score, answer = consistency("Is this review positive or negative? 'Delivery was late but the food was great.'")
print(score, answer)

Exact string matching is crude, so for free-text answers compare the field or label you care about, not the whole response. The point is the habit: a model that is right once is not the same as a model that is right every time.

Requests are now billed at the new model's rates, not 2.5 rates. Look at your usage dashboard over the next few days, especially if you have long prompts or high volume.

Model churn now arrives as dated changelog entries, not big announcements.

A small routine helps:

Which old model string did you find in your codebase?

I'm Veer, I write about AI, tech and society at SpaceRock. More of my work: veersolanki.in

── more in #large-language-models 4 stories · sorted by recency
── more on @google 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/your-gemini-2-5-pro-…] indexed:0 read:3min 2026-12-01 · —