gemini-2.5-pro vs gemini-3.8-flash
Google Gemini names gemini-3.8-flash as the replacement for gemini-2.5-pro. gemini-2.5-pro shuts down on Dec 1, 2026. At standard list prices, gemini-3.8-flash costs -56% per token (blended 3:1 input:output).
Deprecated→Active
Per 1M tokensgemini-2.5-progemini-3.8-flash
Input$1.25$0.75
Output$10$3.75
Blended change-56%
ProviderGoogle GeminiGoogle Gemini
Statusdeprecatedactive
ShutdownDec 1, 2026—
Context window——
Migrating
- Replace the ID
gemini-2.5-prowithgemini-3.8-flasheverywhere it appears, including .env files, config and infrastructure templates. - Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
- Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
- Watch the repo on ModelRot so the next retirement doesn't surprise you. gemini-3.8-flash lifecycle.