# gemini-1.0-pro-002

Calls to the model gemini-1.0-pro-002 on Vertex AI stopped working on April 21, 2025.

## The error Vertex AI returns once gemini-1.0-pro-002 is gone

HTTP 404

```json
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/gemini-1.0-pro-002` 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

Move to gemini-3.8-flash. gemini-2.5-flash, named first, stopped working on 2026-10-20.

- API: Vertex AI (aiplatform.googleapis.com)
- Model: gemini-1.0-pro-002
- Kind: Model retirement
- Takes effect: April 21, 2025
- Calls after that day: fail
- Calls it hits: `model gemini-1.0-pro-002`
- Source: [Deprecations page](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions)
- Verified: November 6, 2026, against Vertex AI's own pages
- Page: https://www.okapi.bot/models/vertex-ai/gemini-1.0-pro-002/

## Vertex AI's words

> Model ID: gemini-1.0-pro-002; Release date: April 9, 2024; Retirement date: April 21, 2025; Recommended upgrade: gemini-2.5-flash

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