Model Sunset Check

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.

PlatformIDShutdownRecommended replacementSource
Gemini API (Google AI)gemini-2.5-flash-imageOct 2, 2026 in 5 daysgemini-3.1-flash-image-previewofficial page
Google Vertex AIgemini-2.5-flash-imageMar 15, 2027 in 169 daysgemini-3.1-flash-lite-imageofficial page

What breaks

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.