ModelRot

gemini-3.1-flash-lite-preview vs gemini-3.1-flash-lite

Google Gemini names gemini-3.1-flash-lite as the replacement for gemini-3.1-flash-lite-preview. gemini-3.1-flash-lite-preview shut down on May 25, 2026.

Retired→Deprecated
Per 1M tokensgemini-3.1-flash-lite-previewgemini-3.1-flash-lite
Input—$0.25
Output—$1.50
Blended changeUnknown: a list price is missing
ProviderGoogle GeminiGoogle Gemini
Statusretireddeprecated
ShutdownMay 25, 2026May 7, 2027
Context window——

Migrating

  • Replace the ID gemini-3.1-flash-lite-preview with gemini-3.1-flash-lite everywhere 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.1-flash-lite lifecycle.