Anthropic
claude-opus-4-1-latest model retirement
Stopped workingSubscribe to AnthropicShare
Requests using model claude-opus-4-1-latest fail since August 5, 2026. The model was deprecated on June 5, 2026, and is now retired. Any API calls targeting this model identifier no longer succeed.
The error you get
What Anthropic answers a call to claude-opus-4-1-latest once the model is gone, as recorded from real responses:
{"type":"error","error":{"type":"not_found_error","message":"model: claude-opus-4-1-latest"}}
What to use instead of claude-opus-4-1-latest
Move to claude-opus-4-8, which Anthropic recommends as the replacement.
In Anthropic's words
API model name: claude-opus-4-1-20250805; Current state: Retired; Deprecated: June 5, 2026; Tentative retirement date: August 5, 2026
Facts
- API
- Anthropic
api.anthropic.com - Model
claude-opus-4-1-latest- Kind
- Model retirement
- Announced
- June 5, 2026
- Takes effect
- August 5, 2026
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against Anthropic's own pages
Questions
When does claude-opus-4-1-latest shut down?
Calls to the model claude-opus-4-1-latest on Anthropic stopped working on August 5, 2026.
What happens to calls after August 5, 2026?
They have failed since August 5, 2026.
What error does claude-opus-4-1-latest return once it is shut down?
Anthropic answers HTTP 404: "model: claude-opus-4-1-latest". Send another model to fix it.
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.
More from Anthropic 10
-
claude-opus-4Model retirement Stopped working -
claude-opus-4-0Model retirement Stopped working -
claude-opus-4-20250514Model retirement Stopped working -
claude-opus-4-latestModel retirement Stopped working -
claude-sonnet-4Model retirement Stopped working -
claude-sonnet-4-0Model retirement Stopped working -
claude-sonnet-4-20250514Model retirement Stopped working -
claude-opus-4-1Model retirement Stopped working -
claude-opus-4-1-0Model retirement Stopped working -
claude-opus-4-1-20250805Model 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.