When is gemini-2.5-flash-image (Google Gemini API) shut down?
gemini-2.5-flash-image shuts down on 2027-03-15 per Google Gemini API's deprecation page (checked 2026-11-12). The official replacement is gemini-3.1-flash-lite-image. On the labeled example of 10 million input tokens and 2 million output tokens, gemini-3.1-flash-lite-image costs $5.5 a month, higher than $3.08 for gemini-2.5-flash-image.
deprecated
Add this badge to your README
The image shows the model id and the status from this page. The link opens this page.
gemini-2.5-flash-image shuts down on 2027-03-15 per Google Gemini API's deprecation page (checked 2026-11-12). The official replacement is gemini-3.1-flash-lite-image. On the labeled example of 10 million input tokens and 2 million output tokens, gemini-3.1-flash-lite-image costs $5.5 a month, higher than $3.08 for gemini-2.5-flash-image.
What replaces gemini-2.5-flash-image?
The official replacement is gemini-3.1-flash-lite-image.
Is gemini-2.5-flash-image deprecated?
gemini-2.5-flash-image status is deprecated.
Sources
Gemini API deprecations, checked 2026-11-12. gemini-2.5-flash-image | October 2, 2025 | March 15, 2027 | gemini-3.1-flash-lite-image
Gemini model docs, checked 2026-11-02. gemini-2.5-flash-image input token limit 65536 | max output tokens 32768
Gemini API pricing, checked 2026-11-02. Warning: Gemini 2.5 Flash Image (gemini-2.5-flash-image) is deprecated and will be shut down on March 15, 2027; migrate to Gemini 3.1 Flash Lite Image to avoid service disruption.