Full Byte Developer.

Claude Sonnet 4.5 retires Nov 30: the full swap checklist

Swapping the model name is only half the fix. Sonnet 5.5 returns 400 on settings the old model accepted.

Published here · 2 sources

Requests to claude-sonnet-4-5-20250929 fail after November 30, 2026. The replacement is claude-sonnet-5-5, but swapping the model name is only half the fix. Sonnet 5.5 returns a 400 error on settings the old model accepted.

Find every reference

Search code, env files and ignored files. Plain ripgrep skips hidden and gitignored files by default.

bash
rg -n -uu "claude-sonnet-4-5" .

Without -uu, a test repo missed .env until the flag was added [1].

Replace the model ID

Change claude-sonnet-4-5-20250929 to claude-sonnet-5-5.

Remove what Sonnet 5.5 rejects

These parameters return a 400 error on the new model [2]:

  • temperature, top_p, top_k
  • thinking.budget_tokens (use output_config.effort instead)
  • Assistant prefill as the last message
  • tool_choice of type "any" or "tool"
  • thinking.type: "disabled" (use "between_tools")

Check which API keys still call it

Go to Claude Console, then Usage, then Export. Read the CSV by API key and model to find any keys still hitting the old model [1].

Test before the deadline

Run your tests on the new model first. Bedrock and Claude Models on Google Cloud set their own retirement schedules, so check those separately if you use them.

Send this to the teammate whose code still calls Claude Sonnet 4.5 before November 30.

Keep this guide

By Full Byte Developer

Filed under AI agents

Questions about this guide

Does this apply to Amazon Bedrock?

Bedrock and Claude Models on Google Cloud (Google managed) set their own retirement schedules. Check those separately.

When does the sampling rule apply?

Removed in API version 2026-10-21 (400 at any value). On earlier API versions, returns 400 when set to a non-default value on Claude 4.7 and later.

Sources

Next in this stack