Blog

Anthropic retires claude-sonnet-4-5 on 30 November 2026: what to change

13 November 2026 · Driftline

On 30 November 2026, Anthropic removes claude-sonnet-4-5 from the API, together with its dated version. From that day, API calls to it fail. Anthropic's recommended replacement (as of 16 November 2026): claude-sonnet-5-5.

What retires, and what replaces it

Anthropic lists this model on its deprecations page. The dates and replacements on this page come from Driftline's registry, which is checked against that page several times a day, so they stay current if Anthropic changes them.

claude-sonnet-4-5 is the short name for claude-sonnet-4-5-20250929, so both stop working.

ModelReplacementMoving to it
claude-sonnet-4-5-20250929claude-sonnet-5-5Parameter changes

More than a new model name

For this model, changing the name isn't the whole job:

Find every place your code uses them

Run this in the root of your repository. No install, account or API key; it lists every OpenAI, Anthropic and Google model ID it finds, with file, line, retirement date and replacement:

npx -y @aidriftline/driftline .

A plain search works too:

grep -rnE '"(claude-sonnet-4-5-20250929)"' .

It misses model names set outside the code: environment variables, deployment settings, values stored in a database, and defaults inside SDKs or agent frameworks you never configured.

Test before 30 November 2026

A new model answers the same prompt differently: format, length, tone, and whether JSON still parses. Take 10 to 20 real prompts from your logs, run each on the old model and the replacement, and compare. Do it while the old model still answers; after the date there is nothing left to compare against.

Driftline Pro does this in your GitHub Actions: it runs the prompts your app sends on the current model and the replacement, and shows what changed in the pull request.

Get a reminder

Get an email before claude-sonnet-4-5-20250929 retires

One email 30 days before, one 7 days before and one on the day, plus a note if Anthropic changes the date. Nothing else. One-click unsubscribe.

Or post the alerts to Slack, Discord or a webhook

Slack: add an incoming webhook to your channel and paste its URL. Discord: channel settings → Integrations → Webhooks. Any other https URL gets the alert as JSON. A test message is posted right away; every message has a link to stop them.

The free Driftline GitHub Action flags retired and soon-to-retire model IDs on every pull request, so the next retirement doesn't come as a surprise.

Questions

Will calls to claude-sonnet-4-5 keep working after 30 November 2026?

No. Anthropic removes the model from the API on that day, and requests to it return an error.