MorningLabs Index

Guide · by MorningLabs AI · sources checked 30 November 2026

Claude 4.5 moving to 5.5 costs less per token and counts more tokens

Claude Sonnet 4.5 has a retirement date of 30 November 2026 and Claude Opus 4.5 of 22 January 2027. The 5.5 replacements cost less per token but count more tokens for the same text; on Opus the saving can become a small increase. Several old request settings also return 400 errors.

Which Claude 4.5 models retire, and when?

On the Claude API, Claude Sonnet 4.5 has a retirement date of 30 November 2026 and Claude Opus 4.5 of 22 January 2027. Anthropic names a 5.5 model as the replacement for each.

Retirements from Anthropic’s deprecations page
Model idNotice givenRetirement dateReplacement namedRecord
claude-sonnet-4-5-2025092930 September 202630 November 2026claude-sonnet-5-5Sonnet record
claude-opus-4-5-2025110123 November 202622 January 2027claude-opus-5-5Opus record

Is Claude 5.5 cheaper than 4.5?

Per token, yes. For the same text, Sonnet 5.5 comes out about 13% cheaper in the example below, and Opus 5.5 can come out up to about 8% dearer, because the newer models count more tokens.

Claude Sonnet, list price per 1M tokens
PriceSonnet 4.5Sonnet 5.5
Input$3.00$2.00
Output$15.00$10.00
Cache write, 5 minutes$3.75$2.50
Cache write, 1 hour$6.00$4.00
Cache hit$0.30$0.10
Claude Opus, list price per 1M tokens
PriceOpus 4.5Opus 5.5
Input$5.00$4.00
Output$25.00$20.00
Cache write, 5 minutes$6.25$5.00
Cache write, 1 hour$10.00$8.00
Cache hit$0.50$0.20

Anthropic says the same text produces about 30% more tokens on Sonnet 5.5 than on Sonnet 4.5. For Opus it gives a range of 1x to 1.35x against models before Claude Opus 4.7. Both figures vary with the content.

Text that counted 1M input and 0.2M output tokens on 4.5
ModelCost on 4.5On 5.5 if counts matchedOn 5.5 with Anthropic’s token increase
Sonnet$6.00$4.00$5.20 at 1.30x tokens
Opus$10.00$8.00up to $10.80 at 1.35x tokens

Thinking is the part the table leaves out. Sonnet 5.5 runs adaptive thinking on a request that sends no thinking field, where Sonnet 4.5 ran without it, and thinking tokens are billed as output tokens. Opus 5.5 always uses adaptive thinking. Output counts depend on your effort setting and your tasks, so only a measured run gives the real figure.

Images move further than text. Anthropic puts a 2000×1500 image at about 2.5 times as many tokens on Sonnet 5.5, which at the new input price is about 1.67 times the old cost. For full-resolution images on Opus it gives up to about 3 times the tokens, or up to 2.40 times the old cost.

Which requests now return a 400 error?

The 5.5 models reject or restrict the settings below. Some were accepted by 4.5, so code that has run for months can start failing on the day the model id changes.

Settings that change on the 5.5 models
SettingSonnet 5.5Opus 5.5
thinking with budget_tokens400 errorRejected
thinking set to disabled400 error; send between_tools insteadRejected; thinking is always on
temperature, top_p, top_k400 errorOmit them; a non-default value returns a 400 error
A prefilled final assistant turn400 error400 error
tool_choice of type any or tool400 errorRejected
output_format without its beta header400 error400 error; Python SDK 1.0 and later raises TypeError for a schema dictionary
computer_20250124Not acceptedNot accepted on any platform
Thinking blocks from earlier turnsTied to the model and the conversationEdited, reordered or dropped blocks return a 400 error

Can thinking stay off?

On Sonnet 5.5, only the up-front part can: send thinking with type between_tools, at high effort or below, and the model does not think before responding. Its short updates between tool calls still come back as thinking blocks. Opus 5.5 offers no off setting.

What do the error messages say?

These are the messages Anthropic’s Sonnet 5.5 migration guide quotes. Searching your logs for them finds the calls that still send an old setting.

"thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior.

To turn thinking off on this model, send "thinking": {"type": "between_tools"} instead of {"type": "disabled"}.

This model does not support assistant message prefill. The conversation must end with a user message.

What changes without any error?

The response itself changes shape. These items let the request succeed and still alter what your code receives.

How does a Sonnet 4.5 request change?

Remove the sampling setting and the prefill, set the effort, and read the answer by block type.

# Before: claude-sonnet-4-5
response = client.messages.create(
    model="claude-sonnet-4-5",
    max_tokens=1024,
    temperature=0.2,
    messages=[
        {"role": "user", "content": "Classify this ticket: refund or delivery?"},
        {"role": "assistant", "content": "Category:"},
    ],
)
text = response.content[0].text
# After: claude-sonnet-5-5
response = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=4096,
    output_config={"effort": "medium"},
    messages=[
        {"role": "user", "content": "Classify this ticket. Reply with one word: refund or delivery."},
    ],
)
text = next(block.text for block in response.content if block.type == "text")

Where the prefill was there to force a format, Anthropic points to structured outputs through output_config.format. Where a low temperature was there for repeatable answers, note Anthropic’s remark that even a temperature of 0 never guaranteed identical outputs on earlier models.

Which headers should come out?

Then search the code for the old ids and settings before switching traffic.

grep -rnE "claude-(sonnet|opus)-4-5" .
grep -rnE "budget_tokens|temperature|top_p|top_k|tool_choice|output_format" .
grep -rnE "content\[0\]\.text|computer_20250124|interleaved-thinking|fine-grained-tool-streaming|effort-2025" .

How this was checked

Each price, date and quoted setting above comes from a stored passage of a vendor page listed under Sources. The sums are arithmetic on those listed prices. No request was sent to any vendor API to test the behaviour described.

Sources

Records used

Facts drafted with AI. Each number is matched by an automated check to a passage saved from the listed source. Editor: Vishal Gupta spot-checks every batch.