Claude API: handling model retirements without downtime
By Kallistesoft · · 3 min read
Information checked on November 29, 2026 in Anthropic's documentation. If your app calls the Claude API with a hard-coded model ID, a deadline lands tomorrow: claude-sonnet-4-5-20250929 is scheduled to retire on November 30, 2026.
What has been announced
The model deprecations page defines four states: active, legacy, deprecated (still working but not recommended, with a retirement date) and retired. For publicly released models, Anthropic commits to at least 60 days' notice for customers with active deployments.
| Model | Retirement | Recommended replacement |
|---|---|---|
claude-sonnet-4-5-20250929 (and claude-sonnet-4-5) | November 30, 2026 | claude-sonnet-5-5 |
claude-opus-4-5-20251101 (and claude-opus-4-5) | January 22, 2027 | claude-opus-5-5 |
The platform release notes add that fast mode (speed: "fast") for Claude Opus 4.8 is removed on November 30, 2026, returning an error afterwards, with Claude Opus 5.5 as the recommended migration. They also say temperature, top_p and top_k are no longer accepted from API version 2026-10-21 (a 400 error), so swapping the model can require changing the request too.
What happens at retirement
Per the same page, requests to a retired model fail: the Messages API returns a 404 not_found_error (see the error reference). For an assistant built into your product, that means a feature going silent overnight. The documentation also warns that deprecated models are likely to be less reliable than active ones.
A five-step migration plan
- Audit. In the Claude Console, open the Usage page and export the CSV: usage is broken down by API key and model. Also search your code for model IDs.
- Take the ID out of the code. A configuration variable is enough.
- Test the replacement on your real requests: tone, output format, cost, latency. The migration guide lists the changes to know about.
- Roll out gradually (10% of traffic, then 100%) with a one-line rollback.
- Monitor. Alert on 404 and 400 responses from the API.
# .env
CLAUDE_MODEL=claude-sonnet-5-5
# never in code: model="claude-sonnet-4-5-20250929"
What to compare before switching
Collect 20 to 50 real (anonymized) requests and replay them against both the old and the new model. Compare four things: answer accuracy, whether the expected format holds (JSON, length, tone), cost per request and response time. Have the person who knows the business review the differences: a newer model is not automatically better for your use case, and it may be wordier or respond differently to your instructions. If your prompts were tuned to the old model, budget half a day to revisit them.
Common pitfalls
- Assuming the undated ID is "safe": the page states the retirement covers
claude-sonnet-4-5andclaude-opus-4-5too. - Not re-reading the request parameters: a
temperaturevalue inherited from an old project can trigger an error. - Migrating without a test set: without reference examples you cannot tell whether quality changed.
- Forgetting other platforms: the page's dates apply to Anthropic-operated platforms, while Amazon Bedrock and Google-managed Google Cloud publish their own schedules.
- Having no plan for failure: keep a readable fallback message for when the AI does not answer.
Conclusion
Retirements come with any model provider. Migration is cheap when the ID is configurable and you have tests, and expensive when everything is hard-coded. Put retirement dates on your team calendar the day they are announced.
Sources
- Claude Platform — Model deprecations
- Claude Platform — Release notes
- Claude Platform — Migration guides
- Claude Platform — API errors