Vertex AI
Gemini 2.0 Flash-Lite model retirement
Stopped workingSubscribe to Vertex AIShare
On June 1, 2026, Vertex AI discontinued Gemini 2.0 Flash-Lite. This retirement affects calls to model Gemini 2.0 Flash-Lite across both model serving and Provisioned Throughput. Calls using this model fail because it is no longer available.
The error you get
What Vertex AI answers a call to Gemini 2.0 Flash-Lite once the model is gone, as recorded from real responses:
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/Gemini 2.0 Flash-Lite` was not found or your project does not have access to it. Ensure you are using a valid model name and that the model is available in the specified region.","status":"NOT_FOUND"}}
What to use instead of Gemini 2.0 Flash-Lite
Use Gemini 3.1 Flash-Lite, Gemma 4, or more recent Gemini releases.
In Vertex AI's words
Gemini 2.0 Flash and 2.0 Flash-Lite are discontinued and are no longer available. This includes both model serving and Provisioned Throughput. Use Gemini 3.1 Flash-Lite, Gemma 4, or more recent Gemini releases.
Facts
Questions
When does Gemini 2.0 Flash-Lite shut down?
Calls to the model Gemini 2.0 Flash-Lite on Vertex AI stopped working on June 1, 2026.
What happens to calls after June 1, 2026?
They have failed since June 1, 2026.
What error does Gemini 2.0 Flash-Lite return once it is shut down?
Vertex AI answers HTTP 404: "Publisher model `projects/{project}/locations/{region}/publishers/google/models/Gemini 2.0 Flash-Lite` was not found or your project does not have access to it. Ensure you are using a valid model name and that the model is available in the specified region.". Send another model to fix it.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Vertex AI 10
-
claude-3-7-sonnetModel retirement Stopped working -
models claude-3-7-sonnet@*Model retirement Stopped working -
Gemini 2.0 FlashModel retirement Stopped working -
gemini-2.0-flashModel retirement Stopped working -
gemini-2.0-flash-liteModel retirement Stopped working -
imagen-3.0-capability-002Model retirement Stopped working -
imagen-3.0-generate-001Model retirement Stopped working -
imagen-3.0-generate-002Model retirement Stopped working -
imagen-4.0-fast-generate-001Model retirement Stopped working -
imagen-4.0-generate-001Model retirement Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.