Claude Sonnet 4.5 is retired on the Claude API as of November 30
Requests to claude-sonnet-4-5 now fail on Anthropic platforms; Sonnet 5.5 is the replacement, with breaking changes.
Anthropic retired Claude Sonnet 4.5 on the Claude API on November 30, 2026. Requests to claude-sonnet-4-5-20250929 and the undated alias claude-sonnet-4-5 now return an error. Anthropic announced the retirement on September 30, 2026 and recommends Claude Sonnet 5.5 (claude-sonnet-5-5) as the replacement.
What changed
- Sonnet 4.5 is retired on Anthropic-operated platforms: the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) and Microsoft Foundry. On the Claude API, the Messages API returns a 404
not_found_errorfor retired models. - Anthropic's deprecations page says Sonnet 4.5 is still available as a deprecated model on Amazon Bedrock (
bedrock-runtime). Claude Models on Google Cloud (Google managed) sets its own schedule. - The recommended replacement is
claude-sonnet-5-5.claude-sonnet-4-6andclaude-sonnet-5remain active on Anthropic's list. claude-sonnet-4-5is no longer in the RouterPlus catalog as of November 30, 2026. Requests that name it need a new model ID.
What breaks when you move to Sonnet 5.5
From Anthropic's Sonnet 5.5 migration guide, for code written against Sonnet 4.5:
- Assistant prefill returns a 400 error. Use structured outputs or move the text into the user turn.
thinking: {"type": "enabled", "budget_tokens": N}returns a 400 error. Thinking runs by default and counts towardmax_tokens; setoutput_config.effortinstead.- Remove
temperature,top_pandtop_k, and moveoutput_formattooutput_config.format. - Remove the
interleaved-thinking-2025-05-14header and replacefine-grained-tool-streaming-2025-05-14witheager_input_streaming: trueon each tool.computer_20250124is not accepted. - Sonnet 5.5 uses a newer tokenizer: Anthropic says the same text produces about 30 percent more tokens than on Sonnet 4.5, and large images cost more tokens. Recount before comparing cost.
Claude Sonnet 5.5 on RouterPlus
Prices per million tokens from the RouterPlus catalog on November 30, 2026. Sonnet 5.5 has a 1,000,000-token context window and 128,000 output tokens in the catalog.
| Provider | Input | Cached input | Cache write | Output |
|---|---|---|---|---|
| Anthropic (direct API) | $2.00 | $0.10 | $2.50 | $10.00 |
| DeepInfra | $2.00 | $0.10 | $2.50 | $10.00 |
What to do
Swap the model ID, then apply the request changes above:
curl https://api.routerplus.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTERPLUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-5-5", "messages": [{"role": "user", "content": "Hello"}]}'Claude Opus 4.5 follows on January 22, 2027; see our Opus 4.5 retirement note. Sign up at app.routerplus.com for immediate API access.
