SunsetDiff

gemini-2.5-flash-image on Google Gemini API Mar 15, 2027

Google Gemini API shuts down 1 models on March 15, 2027: gemini-2.5-flash-image. The official replacement is gemini-3.1-flash-lite-image. Requests to these models start failing on that date.

This date is still ahead. The rows below use the published shutdown date only. Google Gemini API deprecation page · Google Gemini API on SunsetDiff · Shutdowns in 2027-03 · Google Gemini 3.7 Flash and 2.5 Flash Image shutdowns from January 28, 2027 to March 15, 2027

1 Google Gemini API models with shutdown date 2027-03-15. A replacement cell says "Not published" when the official page did not name one.
Model Status Replacement Migrate Source
gemini-2.5-flash-image deprecated gemini-3.1-flash-lite-image Migrate gemini-3.1-flash-lite-image Gemini API deprecations (checked 2026-11-12) , Gemini model docs (checked 2026-11-02) , Gemini API pricing (checked 2026-11-02)

Migration checklist

  1. Find every request that still uses these model ids before March 15, 2027.
  2. Point each request at the replacement in the table. If a cell says "Not published", the provider did not name one.
  3. Open the source link on each row and read that page before you switch.
  4. Run the scan page on your code to catch the ids in this table.

Scan your code for these model ids. Each migrate link opens the diff for that model.

Deprecation alerts

We email you before models shut down. Unsubscribe anytime.

Deprecation alert signup
Providers (optional)

SunsetDiff Pro is in early access. Join free today. You won't be charged until Pro launches, and we'll email you before your first charge. After that it's $19 a month, and you can cancel anytime. Alerts only for the models in your code are coming at launch. The form on this page is the free alert signup.

Questions

Which Google Gemini API models are shutting down on March 15, 2027?

Google Gemini API shuts down these 1 models on March 15, 2027: gemini-2.5-flash-image.

What replaces the Google Gemini API models shutting down on March 15, 2027?

The official replacement is gemini-3.1-flash-lite-image. The table lists the replacement for each model.

When do requests to these models start failing?

Google Gemini API shuts these models down on March 15, 2027. Requests start failing on that date.