Okapi Okapi

Vertex AI gemini-2.5-pro-preview-06-05 model retirement

Stopped workingSubscribe to Vertex AIShare

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


The error you get

What Vertex AI answers a call to gemini-2.5-pro-preview-06-05 once the model is gone, as recorded from real responses:

HTTP 404
{"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"}}

In 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.

Vertex AI, Changelog

Facts

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
Source
Changelog
Last updated
Verified
, against Vertex AI's own pages

Questions

When does gemini-2.5-pro-preview-06-05 shut down?

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

What happens to calls after July 15, 2025?

They have failed since July 15, 2025.

What error does gemini-2.5-pro-preview-06-05 return once it is shut down?

Vertex AI answers HTTP 404: "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.". Send another model to fix it.

When was gemini-2.5-pro-preview-06-05 released?

gemini-2.5-pro-preview-06-05 was released on June 5, 2025, according to models.dev.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


gemini-2.5-pro-preview-06-05 on other APIs 1

  1. Gemini API gemini-2.5-pro-preview-06-05Model retirement Stopped working

More from Vertex AI 10

  1. gemini-1.5-flash-001Model retirement Stopped working
  2. gemini-1.5-pro-001Model retirement Stopped working
  3. imagen-4.0-ultra-generate-exp-05-20Model retirement Stopped working
  4. gemini-2.5-flash-preview-04-17Model retirement Stopped working
  5. gemini-2.5-flash-preview-05-20Model retirement Stopped working
  6. gemini-2.5-pro-preview-05-06Model retirement Stopped working
  7. claude-3-opusModel retirement Stopped working
  8. models claude-3-opus@*Model retirement Stopped working
  9. gemini-1.5-flash-002Model retirement Stopped working
  10. gemini-1.5-pro-002Model retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Vertex AI

Hear about each breaking change Vertex AI announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Vertex AI

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.