Okapi Okapi

Vertex AI · Model retirement

gemini-2.0-flash

Stopped working

Calls to the model gemini-2.0-flash on Vertex AI stopped working on June 1, 2026.

What to use instead of gemini-2.0-flash

Move to gemini-3.5-flash-lite, recommended by Google.

Facts

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

gemini-2.0-flash on other APIs

More from Vertex AI

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