# Gemini 2.0 Flash

Calls to the model Gemini 2.0 Flash on Vertex AI (us-central1-aiplatform.googleapis.com) stopped working on June 1, 2026.

On June 1, 2026, Gemini 2.0 Flash was discontinued and became unavailable. This change affects calls to model Gemini 2.0 Flash, covering both model serving and Provisioned Throughput. Calls to this model now fail.

## The error Vertex AI (us-central1-aiplatform.googleapis.com) returns once Gemini 2.0 Flash is gone

HTTP 404

```json
{"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

Use Gemini 3.1 Flash-Lite, Gemma 4, or more recent Gemini releases instead.

- API: Vertex AI (us-central1-aiplatform.googleapis.com) (us-central1-aiplatform.googleapis.com)
- Model: Gemini 2.0 Flash
- Kind: Model retirement
- Announced: June 1, 2026
- Takes effect: June 1, 2026
- Calls after that day: fail
- Calls it hits: `model Gemini 2.0 Flash`
- Source: [Changelog](https://docs.cloud.google.com/gemini-enterprise-agent-platform/release-notes)
- Verified: November 3, 2026, against Vertex AI (us-central1-aiplatform.googleapis.com)'s own pages
- Page: https://www.okapi.bot/models/vertex-ai-2/gemini-2.0-flash-2/

## Vertex AI (us-central1-aiplatform.googleapis.com)'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.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
