The error you get
What Vertex AI answers a call to Gemini 2.0 Flash 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` 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
Use Gemini 3.1 Flash-Lite, Gemma 4, or more recent Gemini releases instead.
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 shut down?
Calls to the model Gemini 2.0 Flash 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 return once it is shut down?
Vertex AI answers HTTP 404: "Publisher model `projects/{project}/locations/{region}/publishers/google/models/Gemini 2.0 Flash` 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.
More from Vertex AI 10
| Effective | Model | Status |
|---|---|---|
claude-3-7-sonnet | stopped working | |
Gemini 2.0 Flash-Lite | stopped working | |
gemini-2.0-flash | stopped working | |
gemini-2.0-flash-lite | stopped working | |
imagen-3.0-capability-002 | stopped working | |
imagen-3.0-generate-001 | stopped working | |
imagen-3.0-generate-002 | stopped working | |
imagen-4.0-fast-generate-001 | stopped working | |
imagen-4.0-generate-001 | stopped working | |
imagen-4.0-ultra-generate-001 | stopped working |