Anthropic (Claude API) · model

claude-sonnet-4-20250514 deprecation: shutdown date & replacement

Shut down June 15, 2026
Provider
Anthropic (Claude API)
Name
Claude Sonnet 4
Type
model
Announced
Shutdown
Replacement
claude-sonnet-4-6
Source
Official Anthropic (Claude API) notice

How to migrate off claude-sonnet-4-20250514

  1. Find every place that references it:
    grep -rn --exclude-dir={node_modules,.git,dist} "claude-sonnet-4-20250514" .
  2. Replace the model ID:
    - model: "claude-sonnet-4-20250514"
    + model: "claude-sonnet-4-6"
  3. Re-run your evals or a sample of real prompts — output style, token usage and pricing can change between models.
  4. Check config outside code too: environment variables, feature flags, prompt-management tools, and fine-tuned model references.
  5. Deploy before June 15, 2026, and add the CI scanner so it cannot come back.

Also shutting down on June 15, 2026 (Anthropic (Claude API))

Questions

Is claude-sonnet-4-20250514 deprecated?

Yes. Anthropic (Claude API) has deprecated claude-sonnet-4-20250514. It was shut down on June 15, 2026.

When does claude-sonnet-4-20250514 shut down?

June 15, 2026, according to Anthropic (Claude API)'s official deprecation notice.

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

Anthropic (Claude API) recommends claude-sonnet-4-6. Switch the model ID and re-test your prompts, since outputs, pricing and limits can differ.

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

Requests using the retired model ID fail with an error, so any code still calling it breaks. Update and deploy before the shutdown date.

ModelSunset Alerts

Hear about a shutdown before your users do

Tell us which model IDs you depend on. We ping your Slack or Discord when one of them is deprecated, and again 90, 30, 7 and 1 day before shutdown — plus a personal calendar feed.

  • Watchlist of up to 50 model IDs across all providers
  • Alert within a day when a watched model is deprecated
  • Reminders 90 / 30 / 7 / 1 days before shutdown
  • Slack or Discord alerts + personal iCal feed

$5/ month

Cancel anytime from your account. 14-day money-back guarantee. Payments by Creem (Merchant of Record).