gemini-2.5-flash-image

Google (Gemini API) retires gemini-2.5-flash-image on 15 March 2027 (in 119 days). Replacement: gemini-3.1-flash-lite-image.

ProviderGoogle (Gemini API)
Statusretiring
Shutdown date
Replacementgemini-3.1-flash-lite-image
Sourcehttps://ai.google.dev/gemini-api/docs/deprecations
Noteearliest possible shutdown date per Google; rel 2025-10-02; Nano Banana; Vertex AI page explicitly marks it Deprecated (retire 2027-03-15)

Before 15 March 2027: move off it safely

  1. Find every call to it in your code (Python, JS/TS, Go, Java, configs, notebooks), with nothing to install:
    uvx llmshift scan
  2. Turn your real traffic into tests, so you compare on what your users send:
    llmshift snapshot logs/ --model "gemini-2.5-flash-image"
  3. See exactly what changes on the replacement: formats, facts, tone, tool calls and settings it rejects:
    llmshift compare --to gemini-3.1-flash-lite-image
  4. Swap the model in your code and open a pull request with the results:
    llmshift upgrade --from "gemini-2.5-flash-image" --apply --compare --pr

Then llmshift init --github keeps the check on every pull request. LLMShift is free and open source (MIT) and runs on your machine.

Other Google (Gemini API) retirements

Wrong date or replacement? Tell us on GitHub, with a link to the provider's page.

Lifecycle data updated 2026-11-14, collected from the providers' official deprecation pages. Dates can move: check the source before you plan around one. Visits are counted with GoatCounter, which sets no cookies.