Gemini 2.5 Flash Image retirement date: March 15, 2027
gemini-2.5-flash-image can be shut down as early as March 15, 2027.
- Provider
- Google (Gemini API)
- Model IDs affected
gemini-2.5-flash-image- Shutdown date
- March 15, 2027 earliest possible
- Replacement
- gemini-3.1-flash-lite-image
- Platforms
- Dates apply to the Gemini API and are the earliest possible shutdown dates Google publishes. If you use Gemini through another platform, check that platform's own schedule.
- Source
- Official Google (Gemini API) deprecations page (data last changed 2026-11-02, re-checked daily)
Migrating from Gemini 2.5 Flash Image
Not yet reviewed. We haven't written model-specific migration notes for Gemini 2.5 Flash Image yet. Start with the provider's official guidance and the replacement's model page, and use this general checklist:
- Search your code, config and environment variables for
gemini-2.5-flash-image. - Re-run your evaluation set against gemini-3.1-flash-lite-image before switching traffic.
- Recount tokens with the new model's tokenizer and re-check
max_tokens, context fit and cost. - Check tool calling, structured output and stop sequences on your real prompts.
- Dates apply to the Gemini API and are the earliest possible shutdown dates Google publishes. If you use Gemini through another platform, check that platform's own schedule.
Check your code before Mar 15
All model retirements · All Google (Gemini API) deprecations
FAQ
When will Gemini 2.5 Flash Image be retired?
Gemini 2.5 Flash Image (gemini-2.5-flash-image) shuts down on the Gemini API on March 15, 2027, according to the official Gemini API deprecations page. Google lists this as the earliest possible shutdown date; the exact date is announced later.
What should I use instead of gemini-2.5-flash-image?
The recommended replacement is gemini-3.1-flash-lite-image.
What happens to gemini-2.5-flash-image requests after the shutdown date?
After a model is retired, API requests to it return an error. Move traffic to the replacement and test it on your own prompts before the date.
Does this date apply to Amazon Bedrock, Vertex AI or Azure?
Dates apply to the Gemini API and are the earliest possible shutdown dates Google publishes. If you use Gemini through another platform, check that platform’s own schedule.