Okapi Okapi

Gemini API · Model retirement

gemini-2.0-flash-001

Stopped working

Calls to the model gemini-2.0-flash-001 on Gemini API stopped working on June 1, 2026.

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

Move to gemini-3.6-flash, recommended by Google.

Facts

API
Gemini API generativelanguage.googleapis.com
Model
gemini-2.0-flash-001
Kind
Model retirement
Takes effect
June 1, 2026
Calls after that day
Fail
Source
Deprecations page
Last updated

gemini-2.0-flash-001 on other APIs

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