Shutdown calendar / Gemini API (Google AI)
gemini-2.5-flash-image shuts down on Oct 2, 2026
That is 5 days from the last dataset check (Sep 27, 2026).
The provider recommends gemini-3.1-flash-image-preview.
| Platform | ID | Shutdown | Recommended replacement | Source |
|---|---|---|---|---|
| Gemini API (Google AI) | gemini-2.5-flash-image | Oct 2, 2026 in 5 days | gemini-3.1-flash-image-preview | official page |
| Google Vertex AI | gemini-2.5-flash-image | Mar 15, 2027 in 169 days | gemini-3.1-flash-lite-image | official page |
What breaks
- Requests fail. After Oct 2, 2026 every call that names
gemini-2.5-flash-imagereturns an error on Gemini API (Google AI). Nothing is migrated for you. - Output changes. A newer model answers differently: length, format, refusals and JSON shape can all shift. Run your own prompts through both models before the date and compare.
Find it in your code
Quick look:
grep -rnF "gemini-2.5-flash-image" --include=*.{py,js,ts,go,java,rb,yaml,yml,json,env} .
Or scan the whole repo for this and every other retiring model, including parameters the replacement rejects:
Want the migration done?
Our $199 migration report runs your saved prompts on gemini-2.5-flash-image and on the replacement, shows the outputs side by side,
and gives you a ready patch. See pricing.