- Claude Sonnet 4.5 retires
Claude Sonnet 4.5 retires on November 30, 2026
On September 30, 2026 Anthropic told developers that claude-sonnet-4-5-20250929 retires on November 30, 2026. Requests to a retired model fail. The recommended replacement is claude-sonnet-5-5.
That date covers Anthropic's own platforms: the Claude API, Claude Platform on AWS, Anthropic-managed Claude on Google Cloud, and Microsoft Foundry. Amazon Bedrock and the Google-managed models on Google Cloud set their own schedules, so check their model tables if you call Claude through them.
What breaks
Newer models refuse some requests the old one took. In API version 2026-10-21, temperature, top_p and top_k were removed and return a 400 error. On earlier API versions, Claude 4.7 and later models return the same error when one of them is set to a non-default value. Manual thinking budgets (budget_tokens) also get a 400 on Claude 4.7 and later.
Code that takes content[0].text as the answer is fragile too: with thinking on, the first block of the reply is not the text.
How to fix it
Change the ID to claude-sonnet-5-5, remove custom sampling values and steer with the prompt instead, and read the reply's text block by its type rather than its position. Anthropic's migration guide covers the thinking settings for the newer models.
Check a repository for this
Claude model IDs that retire or are already retired, custom sampling parameters, manual thinking budgets and content[0] reads.
The same rules run offline, with a --fix for the safe rewrites, in atokim4/llm-retire-scan (MIT).
Sources
Dates and wording re-read on the official pages on . Vendors move dates; the official page wins.