gemini-3.1-flash-lite vs gemini-3.5-flash-lite
Google Gemini names gemini-3.5-flash-lite as the replacement for gemini-3.1-flash-lite. gemini-3.1-flash-lite shuts down on May 7, 2027. At standard list prices, gemini-3.5-flash-lite costs +51% per token (blended 3:1 input:output).
Deprecated→Active
Per 1M tokensgemini-3.1-flash-litegemini-3.5-flash-lite
Input$0.25$0.3
Output$1.50$2.50
Blended change+51%
ProviderGoogle GeminiGoogle Gemini
Statusdeprecatedactive
ShutdownMay 7, 2027—
Context window——
Migrating
- Replace the ID
gemini-3.1-flash-litewithgemini-3.5-flash-liteeverywhere 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.5-flash-lite lifecycle.