Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
Gemini Coding By Carlos Mendoza

Still calling gemini-2.5-pro? From December 1, Google will quietly answer with 3.8 Flash instead

Google has deprecated gemini-2.5-pro and gemini-2.5-flash, and you can no longer pick them in Google AI Studio. From December 1, 2026, every API request that still names gemini-2.5-pro will be served by gemini-3.8-flash and billed at 3.8 Flash rates. Requests to gemini-2.5-flash will go to gemini-3.5-flash-lite at Flash-Lite rates. Your code won't get an error, but the newer models have breaking API changes: stricter function calling and thought_signature checks, thinking_level instead of thinking_budget, and some sampling parameters and prefilled model turns removed.

Why it matters

A silent model swap can break agents and pipelines that rely on thinking_budget, prefilled turns or older function-calling behaviour, and the bill changes too. Migrating on your own schedule beats finding out from a failed job on December 1.

Who it's for

Developers and teams with apps, agents or scripts still pinned to gemini-2.5-pro or gemini-2.5-flash.

How to try it

  1. Search your code and configs for gemini-2.5-pro and gemini-2.5-flash. A coding agent can do this across repos in one prompt.
  2. Switch to gemini-3.8-flash (for 2.5 Pro) or gemini-3.5-flash-lite (for 2.5 Flash) using Google's migration guides.
  3. Replace thinking_budget with thinking_level, drop prefilled model turns and removed sampling settings, and retest function calls.
  4. Compare costs and outputs on a few real tasks before December 1.

Plan & availability: Applies to all Gemini API users. Both models are already gone from AI Studio's picker, and API auto-routing starts December 1, 2026.

Share on X

Source: @Google on ai.google.dev

Written by Carlos Mendoza from the original post. Checked Nov 5, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

gemini-apideprecationmigrationgemini-3-8-flash

More Gemini tricks

All Gemini tricks →