DEV Community

Cover image for Two Claude API calls stop on November 30: find yours now
System Design Simple
System Design Simple

Posted on Originally published at systemdesignsimple.com

Two Claude API calls stop on November 30: find yours now

Claude Sonnet 4.5 retires from the Claude API on November 30, 2026, and fast mode on Claude Opus 4.8 ends the same day, so both calls fail after that date. The trap is that there are two breaks, not one: changing the model ID fixes the first, and the second hides in the settings.

What stops on November 30

Anthropic deprecated Sonnet 4.5 on September 30, 2026, and it retires November 30, 2026. The replacement is claude-sonnet-5-5. The retirement covers both claude-sonnet-4-5-20250929 and the alias claude-sonnet-4-5. Retired models fail with a 404 not_found_error.

The second call that stops is fast mode on Opus 4.8. The fast mode page names November 30, 2026 as the removal date: after that, requests to claude-opus-4-8 with speed fast return an error. To keep fast mode, migrate to Claude Opus 5.5. Opus 4.8 itself is not retiring, so standard speed calls keep working.

The second break: five settings Sonnet 5.5 rejects

The Sonnet 5.5 migration guide lists five settings that return a 400 error: thinking budgets, sampling parameters, assistant prefill, forced tool choice, and thinking type disabled.

Remove the thinking budget and set an effort level instead, with high the default. Remove temperature, top_p and top_k. Drop assistant prefill. Send tool_choice type auto instead of any or tool, and mark the tool strict true. For thinking type disabled, send thinking type between_tools.

Two costs follow. First, max_tokens now covers thinking plus text, and thinking tokens are billed as output tokens. Second, a response can start with thinking blocks, so code that reads content[0].text breaks. Read content blocks by type.

Find yours in three steps

Step one is a scan of your own code for ten patterns: the two model IDs, speed fast, temperature, top_p, top_k, budget_tokens, thinking type disabled, forced tool choice, and an assistant role prefill. On a sample app built for the test, it found 13 hits, every pattern at least once. The first version missed 4 of those hits, because it only matched quoted JSON keys. A grep for the model ID alone finds the retirement, not the 400 errors.

Step two is the Console usage export: open the Usage page in Claude Console and review the CSV by API key and model. That finds the calls a grep misses.

Fix it: the new call shape

The old call:

model: "claude-sonnet-4-5-20250929"
temperature: 0.7
thinking: {"type": "enabled", "budget_tokens": 2000}
Enter fullscreen mode Exit fullscreen mode

The new call:

model: "claude-sonnet-5-5"
output_config: {"effort": "high"}
Enter fullscreen mode Exit fullscreen mode

No temperature, no budget, no prefill, no forced choice. Run the scan again after the change: zero hits is the pass mark.

Our take

The deadline is real and the second break is the one that bites. Swapping the model ID is a one line change, but Sonnet 5.5 rejects five settings the old call used, so a copy paste migration still fails with 400 errors. The only safe check is a scan of your code before the date.

Read the full article with the FAQ: https://systemdesignsimple.com/claude-sonnet-4-5-retires-nov-30/

Top comments (0)