Okapi Okapi

Vertex AI · Model retirement

gemini-2.5-flash

Stopped working

Calls to the model gemini-2.5-flash on Vertex AI stopped working on October 20, 2026.

What to use instead of gemini-2.5-flash

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

Facts

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

gemini-2.5-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