Claude API Deadlines — What to Migrate Before It Breaks

One Claude API deprecation hits Aug 5, 2026. Here's the plain-English checklist: what's breaking, what to swap it to, and what you can ignore.

Last updated: Jun 27, 2026

⚠ Skip this page if you only use Claude in the web app or desktop app. These deadlines only affect the Claude API. If you're a knowledge worker using claude.ai, Projects, Artifacts, or the Claude Desktop app, you don't need to do anything. Send this page to your dev team instead.

Do you need to read this?

  • Yes — if you have API code that calls Claude (backend services, scripts, agents, integrations).
  • Yes — if your product uses Anthropic's API through Bedrock, Vertex AI, or Foundry.
  • No — if you only use Claude through claude.ai, the Desktop app, Cowork, or Claude Code interactively.
  • No — if someone else on your team owns your Claude API integration.

Deadlines at a glance

Monday, June 15, 2026 Jun 15, 2026

Sonnet 4 and Opus 4 — already retired (June 15)

Anthropic retired both models on June 15, 2026. If you still call these model IDs in production, they're already failing — migrate immediately.

claude-sonnet-4-20250514 claude-sonnet-4-6
claude-opus-4-20250514 claude-opus-4-8

Heads up on Opus 4.8: Anthropic notes the current flagship may require prompt tweaks compared to Opus 4. It's a stronger model — better self-verification, better vision, better long-running agent behavior, and more honest about flagging what it's unsure of — but your existing Opus 4 prompts weren't necessarily tuned for it. Test before you ship.

Opus 4.8 announcement · Deprecation guide →

Tuesday, August 5, 2026 Aug 5, 2026

Opus 4.1 retires

Opus 4.1 reaches end of life on August 5, 2026. If you still pin this model ID anywhere — backend services, scripts, agents, Bedrock/Vertex configs — roll it forward to the current flagship, Opus 4.8, well before the date.

claude-opus-4-1-20250805 claude-opus-4-8

What to check: grep your repos and Bedrock/Vertex configs for the Opus 4.1 model ID. Opus 4.8 is a stronger model — better self-verification and more honest about its own work — but test your existing prompts in staging before you promote.

Deprecation guide →

Now, and Monday, August 31, 2026 Sonnet 5

Migrating to Sonnet 5 — two breaks + a pricing window

Sonnet 5 is the new default, but two things break existing code. First: if your calls set temperature or top_p, they now error on Sonnet 5 — remove those parameters before switching the model ID. Second: the new tokenizer produces up to about a third more tokens from the same text, so any token budgets or cost estimates calibrated on Sonnet 4.6 will undercount — recheck them.

The pricing window: promotional pricing of $2 / $10 per million tokens (input / output) runs through August 31, 2026. That makes this a cheap window to migrate and test before rates normalize.

What to check: grep for temperature and top_p in your Sonnet call sites; re-run any token-budget math against the new tokenizer in staging.

The 5-minute migration checklist

  1. Grep every repo for claude-sonnet-4-20250514, claude-opus-4-20250514, and claude-opus-4-1-20250805.
  2. For each hit: replace the model ID per the migration pairs above.
  3. Run your existing eval suite or golden test cases against the new models in staging.
  4. Pay attention to output formatting diffs — especially prompts that depend on specific token counts or structured JSON.
  5. Roll canary traffic to 10% for 24 hours, watch error rates and output quality, then promote to 100%.
  6. Document the swap in your team's runbook so the next deprecation is faster.

What you don't need to do

If you're only using Claude in the web app (claude.ai), Projects, Cowork, or the Desktop app: nothing. Anthropic manages model selection on your behalf in those surfaces. You're already on the latest models.

If you're using Claude Code: nothing. Claude Code picks models automatically based on the task — it's already migrated.

If you're on Enterprise with SSO + managed models: check with your admin, but most Enterprise deployments auto-migrate.

One more thing

Deprecations are going to keep happening. Anthropic ships a new flagship model roughly every two months, and older models get retired on a ~6–12 month cycle. The fastest teams build one migration runbook once and reuse it each cycle. If this page helped, we'll keep it current — bookmark it.

Keep going

The full path to Claude as a complete work stack.

ProjectsCoworkVisualsFull Stack