The error you get
What Anthropic answers a call to claude-2.1 once the model is gone, as recorded from real responses:
{"type":"error","error":{"type":"not_found_error","message":"model: claude-2.1"}}
What to use instead of claude-2.1
Move to claude-opus-4-8, recommended by Anthropic.
In Anthropic's words
Retirement date: July 21, 2025; Deprecated model: claude-2.1; Recommended replacement: claude-opus-4-8
Facts
- API
- Anthropic
api.anthropic.com - Model
claude-2.1- Kind
- Model retirement
- Takes effect
- July 21, 2025
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against Anthropic's own pages
Questions
When does claude-2.1 shut down?
Calls to the model claude-2.1 on Anthropic stopped working on July 21, 2025.
What happens to calls after July 21, 2025?
They have failed since July 21, 2025.
What error does claude-2.1 return once it is shut down?
Anthropic answers HTTP 404: "model: claude-2.1". Send another model to fix it.
More from Anthropic 10
| Effective | Model | Status |
|---|---|---|
claude-2.0 | stopped working | |
claude-3-sonnet | stopped working | |
claude-3-sonnet-20240229 | stopped working | |
claude-3-sonnet-latest | stopped working | |
claude-3-5-sonnet | stopped working | |
claude-3-5-sonnet-20240620 | stopped working | |
claude-3-5-sonnet-20241022 | stopped working | |
claude-3-5-sonnet-latest | stopped working | |
claude-3-opus | stopped working | |
claude-3-opus-20240229 | stopped working |