# anthropic/claude-4-sonnet

Calls to the model anthropic/claude-4-sonnet on DeepInfra stopped working on May 20, 2026.

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

Move to anthropic/claude-sonnet-4-6, which is recommended by DeepInfra.

- API: DeepInfra (api.deepinfra.com)
- Model: anthropic/claude-4-sonnet
- Kind: Model retirement
- Takes effect: May 20, 2026
- Calls after that day: fail
- Calls it hits: `model anthropic/claude-4-sonnet`
- Source: [Model list](https://api.deepinfra.com/models/list?ref=manifest.build)
- Verified: November 30, 2026, against DeepInfra's own pages
- Page: https://manifest.build/models/deepinfra/anthropic/claude-4-sonnet/

This data is open source (MIT): https://github.com/mnfst/model-deprecations. Edit this entry: https://github.com/mnfst/model-deprecations/blob/main/models/deepinfra/anthropic/claude-4-sonnet.yaml
