# gemini-2.5-pro

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

Model gemini-2.5-pro reached its retirement date on October 20, 2026. Calls to model gemini-2.5-pro fail since that day.

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

HTTP 404

```json
{"error":{"code":404,"message":"Publisher model `projects/{project}/locations/{region}/publishers/google/models/gemini-2.5-pro` 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 or gemini-3.5-flash, as recommended by Google.

- API: Vertex AI (aiplatform.googleapis.com)
- Model: gemini-2.5-pro
- Released: June 17, 2025 (models.dev)
- Kind: Model retirement
- Takes effect: October 20, 2026
- Calls after that day: fail
- Calls it hits: `model gemini-2.5-pro`
- 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-2.5-pro/

## Vertex AI's words

> Model ID: gemini-2.5-pro; Release date: June 17, 2025; Retirement date: October 20, 2026; Replacement model ID: gemini-3.8-flash or gemini-3.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
