Blog

Anthropic retires claude-opus-4-5 on 22 January 2027: what to change

24 November 2026 · Driftline

On 22 January 2027, Anthropic removes claude-opus-4-5 from the API, together with its dated version. From that day, API calls to it fail. Anthropic's recommended replacement (as of 24 November 2026): claude-opus-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-opus-4-5 is the short name for claude-opus-4-5-20251101, so both stop working.

ModelReplacementMoving to it
claude-opus-4-5-20251101claude-opus-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-opus-4-5-20251101)"' .

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 22 January 2027

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-opus-4-5-20251101 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-opus-4-5 keep working after 22 January 2027?

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