# gemini-2.5-pro-preview-06-05

Calls to the model gemini-2.5-pro-preview-06-05 on Vertex AI stopped working on July 15, 2025.

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

HTTP 404

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

- API: Vertex AI (aiplatform.googleapis.com)
- Model: gemini-2.5-pro-preview-06-05
- Released: June 5, 2025 (models.dev)
- Kind: Model retirement
- Announced: June 17, 2025
- Takes effect: July 15, 2025
- Calls after that day: fail
- Calls it hits: `model gemini-2.5-pro-preview-06-05`
- Source: [Changelog](https://docs.cloud.google.com/vertex-ai/docs/release-notes)
- Verified: November 6, 2026, against Vertex AI's own pages
- Page: https://www.okapi.bot/models/vertex-ai/gemini-2.5-pro-preview-06-05/

## Vertex AI's words

> Preview endpoint availability and removal: All existing Gemini 2.5 Flash and Pro preview endpoints (listed below) will continue to be available with their current preview pricing until July 15, 2025. After this date, these preview endpoints will be shut down.

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