AI EngineerGuide

Claude Sonnet 4 retirement date: June 15, 2026

Retired on June 15, 2026; requests to claude-sonnet-4-20250514 now fail.

Retired on Jun 15, 2026retired
Provider
Anthropic
Model IDs affected
claude-sonnet-4-20250514
Announced
April 14, 2026
Shutdown date
June 15, 2026
Replacement
claude-sonnet-5-5
Platforms
Dates apply to the Claude API and other Anthropic-operated platforms. Amazon Bedrock and Claude Models on Google Cloud (Google managed) set their own retirement schedules, so check those model tables separately.
Source
Official Anthropic deprecations page (data last changed 2026-11-02, re-checked daily)

Migrating from Claude Sonnet 4 to Claude Sonnet 5.5

Not yet reviewed. We haven't written model-specific migration notes for Claude Sonnet 4 yet. Start with the provider's official guidance and the replacement's model page, and use this general checklist:

  • Search your code, config and environment variables for claude-sonnet-4-20250514.
  • Re-run your evaluation set against claude-sonnet-5-5 before switching traffic.
  • Recount tokens with the new model's tokenizer and re-check max_tokens, context fit and cost.
  • Check tool calling, structured output and stop sequences on your real prompts.
  • Dates apply to the Claude API and other Anthropic-operated platforms. Amazon Bedrock and Claude Models on Google Cloud (Google managed) set their own retirement schedules, so check those model tables separately.

Check your code before Jun 15

Also shutting down on June 15, 2026

All model retirements · All Anthropic deprecations

FAQ

When was Claude Sonnet 4 retired?

Claude Sonnet 4 (claude-sonnet-4-20250514) was retired on the Claude API on June 15, 2026, according to the official Claude API deprecations page. Requests to it now fail.

What should I use instead of claude-sonnet-4-20250514?

The recommended replacement is claude-sonnet-5-5.

What happens to claude-sonnet-4-20250514 requests after the shutdown date?

After a model is retired, API requests to it return an error. Move traffic to the replacement and test it on your own prompts before the date.

Does this date apply to Amazon Bedrock, Vertex AI or Azure?

Dates apply to the Claude API and other Anthropic-operated platforms. Amazon Bedrock and Claude Models on Google Cloud (Google managed) set their own retirement schedules, so check those model tables separately.