PARAS MADAN
All writing

Latest in AI

Claude Opus 4.5 API Retirement: How to Migrate to Opus 5.5

Find both retiring model IDs, fix the requests Opus 5.5 rejects, and check cost per completed task before the January 22 cutoff.

Anthropic deprecated Claude Opus 4.5 on November 23 and schedules its Claude API retirement for January 22, 2027. Both claude-opus-4-5-20251101 and claude-opus-4-5 are affected. Anthropic recommends claude-opus-5-5, but a change to the model string alone can leave old requests returning HTTP 400.

Start with actual traffic rather than the main application config. Check which jobs, projects, gateways and retry routes still reach either ID. The January date is for the Claude API; customers on partner-operated services should verify the cutoff and model identifiers with their provider instead of assuming the same schedule applies.

Fix request validation first

Anthropic's Opus 5.5 migration guide has a section for teams coming from 4.5, which asks you to work through the earlier breaking changes too. Look for three common patterns:

  • If you send thinking: {type: "enabled", budget_tokens: ...}, remove the old budget field. Opus 5.5 uses adaptive thinking even if you omit thinking. Set output_config.effort to control how much thinking you request, and test that setting against your workload.
  • If the last item in messages is an unfinished assistant response intended as a prefill, remove it. If your old workflow used that prefill to get JSON, use structured outputs for the schema instead.
  • If you force a tool with tool_choice set to any or a named tool, check the Opus 5.5 rules. The supported choices are auto or none. If a particular next action is mandatory, have your own application choose and validate it rather than treating a model-selected tool as guaranteed.

Test one short request without tools, then the most restrictive request your integration actually sends. If you also use token counting, check the same request shape there. Anthropic says the tool choice validation applies to token counting too.

Check bills per accepted task

At standard direct API list rates, Anthropic lists $5 input and $25 output per million tokens for Opus 4.5, versus $4 input and $20 output for Opus 5.5. That is a 20% lower unit price, not a 20% lower bill. Think time and the newer tokenizer can change the number of tokens you pay for even if the prompt looks identical.

At 100,000 ordinary input tokens plus 10,000 billed output tokens, the simple comparison is $0.75 versus $0.60. At 130,000 input tokens and 12,000 output tokens, the 5.5 example costs $0.76. These are illustrative counts, before cache, tools or other charges. Measure your own input and output usage, retries, and the number of results that pass review. Remember that max_tokens includes thinking as well as the visible response, so a request can reach the limit without returning a complete answer.

Decide when to switch

Run a representative sample in staging and check validation errors, schema conformance, incomplete outputs and cost per accepted result. Migrate a small share of approved traffic first, keep watching that same set of numbers, and verify both retiring strings have dropped out of production logs and fallback configuration.

A cheaper model that your application can't call reliably is not a replacement. Fix the request shape, then compare outcomes before the old endpoint is gone.

I'm Paras. I help AI teams write model migration guides that developers can check against their own application. Book a 30-minute call.