Google Gemini API · model

gemini-2.5-flash-preview-05-20 deprecation: shutdown date & replacement

Shut down November 18, 2025
Provider
Google Gemini API
Type
model
Announced
—
Shutdown
Replacement
gemini-3.6-flash
Source
Official Google Gemini API notice

Page lists announced earliest shutdown date.

Free alert: Email me when Gemini 2.5 Flash Preview 05 20’s shutdown status changes

How to migrate off gemini-2.5-flash-preview-05-20

  1. Find every place that references it:
    grep -rn --exclude-dir={node_modules,.git,dist} "gemini-2.5-flash-preview-05-20" .
  2. Replace the model ID:
    - model: "gemini-2.5-flash-preview-05-20"
    + model: "gemini-3.6-flash"
  3. Re-run your evals or a sample of real prompts — output style, token usage and pricing can change between models.
  4. Check config outside code too: environment variables, feature flags, prompt-management tools, and fine-tuned model references.
  5. Deploy before November 18, 2025, and add the CI scanner so it cannot come back.

Questions

Is gemini-2.5-flash-preview-05-20 deprecated?

Yes. Google Gemini API has deprecated gemini-2.5-flash-preview-05-20. It was shut down on November 18, 2025.

When does gemini-2.5-flash-preview-05-20 shut down?

November 18, 2025, according to Google Gemini API's official deprecation notice.

What should I use instead of gemini-2.5-flash-preview-05-20?

Google Gemini API recommends gemini-3.6-flash. Switch the model ID and re-test your prompts, since outputs, pricing and limits can differ.

What happens to requests to gemini-2.5-flash-preview-05-20 after the shutdown?

Requests using the retired model ID fail with an error, so any code still calling it breaks. Update and deploy before the shutdown date.

ModelSunset Alerts

Hear about a shutdown before your users do

Tell us which model IDs you depend on. We email you (or ping Slack/Discord) when one of them is deprecated, and again 90, 30, 7 and 1 day before shutdown — plus a personal calendar feed.

  • Watchlist of up to 50 model IDs across all providers
  • Alert within a day when a watched model is deprecated
  • Reminders 90 / 30 / 7 / 1 days before shutdown
  • Email, Slack or Discord alerts + personal iCal feed

$5/ month

Get Alerts

Cancel anytime from your account. 14-day money-back guarantee. Payments by Creem (Merchant of Record).

ModelSunset Team · early access

$15/ month

Founding price, locked for as long as you stay subscribed — for the first 100 teams. Regular price will be $29/month.

  • Everything in Alerts, unlimited model IDs
  • Daily scans of up to 20 GitHub repos, including private ones
  • CI check across all repos + monthly “what breaks next quarter” report
  • Several Slack/Discord channels and an API key

Not built yet — no payment now. We’ll open it to the list first.