Okapi Okapi

Gemini API · Model retirement

gemini-2.0-flash-exp

Stopped working

Calls to the model gemini-2.0-flash-exp on Gemini API stopped working on December 9, 2025.

What to use instead of gemini-2.0-flash-exp

Move to gemini-3.6-flash or gemini-nano-banana-2.1. Our suggestion, not Google's: the shutdown notice names no successor. gemini-3.6-flash is what Google names for the stable gemini-2.0-flash.

gemini-3.6-flash outputs text only: image generation and audio output are not supported, so code that asked this model for images (response modalities including IMAGE) has to call an image model instead.

Facts

API
Gemini API generativelanguage.googleapis.com
Model
gemini-2.0-flash-exp
Kind
Model retirement
Announced
November 4, 2025
Takes effect
December 9, 2025
Calls after that day
Fail
Source
models.dev
Last updated

More from Gemini API

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub