# claude-sonnet-4-20250514

Calls to the model claude-sonnet-4-20250514 on Anthropic stopped working on June 15, 2026.

Calls to model claude-sonnet-4-20250514 fail since June 15, 2026. The model was deprecated on April 14, 2026, and is now retired. Any requests specifying this model ID no longer succeed.

## The error Anthropic returns once claude-sonnet-4-20250514 is gone

HTTP 404

```json
{"type":"error","error":{"type":"not_found_error","message":"model: claude-sonnet-4-20250514"}}
```

## What to use instead

Move to claude-sonnet-5-5, which is recommended by Anthropic.

- API: Anthropic (api.anthropic.com)
- Model: claude-sonnet-4-20250514
- Released: May 22, 2025 (models.dev)
- Kind: Model retirement
- Announced: April 14, 2026
- Takes effect: June 15, 2026
- Calls after that day: fail
- Calls it hits: `model claude-sonnet-4-20250514`
- Source: [Deprecations page](https://platform.claude.com/docs/en/about-claude/model-deprecations)
- Verified: November 6, 2026, against Anthropic's own pages
- Page: https://www.okapi.bot/models/anthropic/claude-sonnet-4-20250514/

## Anthropic's words

> API model name: claude-sonnet-4-20250514; Current state: Retired; Deprecated: April 14, 2026; Tentative retirement date: June 15, 2026

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
