DeepInfra
anthropic/claude-4-sonnet model retirement
Stopped workingSubscribe to DeepInfraShare
DeepInfra retired the model anthropic/claude-4-sonnet on May 20, 2026. Calls specifying this model fail since that date. The change affects all API requests routed to anthropic/claude-4-sonnet without automatic redirection.
What to use instead of anthropic/claude-4-sonnet
Move to anthropic/claude-sonnet-4-6, which is recommended by DeepInfra.
Facts
- API
- DeepInfra
api.deepinfra.com - Model
anthropic/claude-4-sonnet- Kind
- Model retirement
- Takes effect
- May 20, 2026
- Calls after that day
- Fail
- Source
- Model list
- Last updated
- Verified
- , against DeepInfra's own pages
Questions
When does anthropic/claude-4-sonnet shut down?
Calls to the model anthropic/claude-4-sonnet on DeepInfra stopped working on May 20, 2026.
What happens to calls after May 20, 2026?
They have failed since May 20, 2026.
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 DeepInfra 10
-
allenai/olmo-3.1-32b-instructModel retirement Stopped working -
allenai/olmocr-2Model retirement Stopped working -
allenai/olmocr-2-7b-1025Model retirement Stopped working -
zyphra/zonos-v0.1-hybridModel retirement Stopped working -
zyphra/zonos-v0.1-transformerModel retirement Stopped working -
anthropic/claude-3-7-sonnet-latestModel retirement Stopped working -
anthropic/claude-4-opusModel retirement Stopped working -
google/veo-3.0Model retirement Stopped working -
google/veo-3.0-fastModel retirement Stopped working -
deepseek-ai/deepseek-r1-0528-turboModel 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.