Claude Opus 4.1 Retirement: What to Do Now
Claude Opus 4.1 retires from the Claude API on August 5, 2026. Here is the exact migration path to claude-opus-4-8 before requests start failing.
Claude Opus 4.1 has been fully retired from the Claude API since August 5, 2026, exactly 60 days after Anthropic's June 5 deprecation notice. Any request still pointed at claude-opus-4-1-20250805 now fails outright, with no grace window and no automatic fallback. The fix is a model string swap to claude-opus-4-8, Anthropic's designated replacement, plus a short check for a couple of parameters that behave differently now.
The timeline in plain terms
June 5, 2026: Anthropic marked Claude Opus 4.1 deprecated on the Claude Platform model deprecations page, starting a 60 day countdown.
August 5, 2026: hard retirement. Requests to the model ID fail permanently, the same as any other decommissioned Claude model.
This is not a one-off. Anthropic has been retiring models roughly 60 to 90 days after a successor ships, Sonnet 4 and Opus 4 went through the same cycle earlier in 2026. If you build on the Claude API, treat this cadence as a recurring maintenance task, not a surprise each time.
What breaks if you do nothing
Nothing subtle. A request to claude-opus-4-1-20250805 after August 5 returns an error, full stop. There is no silent redirect to a newer model and no warning period once the hard date passes, so anything still pointed at the old model ID goes down the moment the clock runs out.
How to migrate, step by step
Search your codebase, environment variables, routing configs, and any LLM gateway or router setup for "claude-opus-4-1" or the full "claude-opus-4-1-20250805" string, and replace it with "claude-opus-4-8".
Check whether your calls set temperature, top_p, or top_k explicitly. On claude-opus-4-7 and later, including 4.8, these three sampling parameters are deprecated, confirm your SDK version handles that gracefully before the cutover.
Re-run whatever eval suite you have against claude-opus-4-8. If you don't have one, spot check the handful of prompts that matter most to your product rather than assuming parity.
If you use Claude Code, the built-in /claude-api migrate command can automate the model string swap and flag deprecated parameter usage across a project automatically.
Update monitoring and alerting rules that filter by model name string. A dashboard hardcoded to "opus-4-1" will just go quiet once traffic stops, not alert you, so check for that failure mode specifically.
Why the fast retirement cadence
Anthropic ships a new model generation every few months, and keeping every past version running indefinitely adds infrastructure and support cost without much upside once a clearly better option exists. The tradeoff lands on API users: real capability gains on a predictable cycle, in exchange for a maintenance task every time an old model ID gets a retirement date. Budgeting a recurring hour or two per quarter for model string audits is cheaper than finding out about a retirement the day production traffic starts failing. For a repeatable checklist to run the next time this happens, see what to do when an AI model gets deprecated.
Building with agents makes this easier to miss
Teams running AI coding agents or autonomous workflows on top of a specific Claude model are the most exposed here, since the model ID is often buried a few layers down in a router config or an agent framework's defaults, not in a place anyone checks routinely. Add a recurring calendar reminder tied to Anthropic's deprecation announcements rather than relying on someone noticing a docs page update.
Closed-model retirements like this one are only half the current picture. Open-weight releases are closing the gap with closed frontier models faster than most builders have caught up with on several dimensions, including context length and licensing terms.
Frequently asked questions
What happens to my API calls after Claude Opus 4.1 retires?
They fail. Requests to claude-opus-4-1-20250805 return an error after August 5, 2026, with no automatic fallback to a newer model.
Is Claude Opus 4.8 a direct replacement for Opus 4.1?
It's Anthropic's designated migration target, but check your specific use case. Sampling parameters like temperature, top_p, and top_k are deprecated on claude-opus-4-7 and later, so verify your calls don't depend on them.
Will my temperature and top_p settings still work on the new model?
They are deprecated starting with claude-opus-4-7, so calls that explicitly set them need testing before you migrate, rather than assuming silent compatibility.
How often does Anthropic retire old Claude models?
Roughly every 60 to 90 days after a successor model ships, based on the pattern seen with Sonnet 4, Opus 4, and now Opus 4.1 through 2026.
If you are weighing whether to stay current with each new release going forward, see how to know when to upgrade to a newer AI model.
How did this land?
About the author

Senior Editor, AI & Product
Cecilia leads the Swarmz editorial desk. She has spent a decade turning complex AI and product topics into writing people actually finish, and she owns the blog's quality bar.


