MorningLabs Index

change · Vendor change · sources checked 2026-11-30

Claude Sonnet 4.5 to Sonnet 5.5: the request settings that change

Anthropic’s migration guide, read 30 November 2026, says Claude Sonnet 4.5 code moving to Claude Sonnet 5.5 meets 400 errors for thinking budgets, sampling parameters, prefilled assistant turns and forced tool choice; thinking now runs by default, and the same text produces about 30 percent more tokens.

Who is affected. Callers moving claude-sonnet-4-5 or claude-sonnet-4-5-20250929 to claude-sonnet-5-5.

What to check. Search requests for budget_tokens, temperature, top_p, top_k, tool_choice any or tool, a final assistant message, and code that reads content[0].text.

Status when retrieved: date already passed

Guide. Claude 4.5 moving to 5.5 costs less per token and counts more tokens · Silent AI API changes from late 2026 that return no error · AI API shutdowns from December 2026 to April 2027, with each named replacement

Facts
Field Value Source Retrieved
Default thinking on Claude Sonnet 5.5 On: a request with no thinking field runs adaptive thinking, where Claude Sonnet 4.5 ran it without thinking Claude Sonnet 5.5 migration guide 2026-11-30
Reading the response A response can start with thinking blocks, so code that reads content[0].text breaks Claude Sonnet 5.5 migration guide 2026-11-30
How thinking tokens are billed max_tokens covers thinking plus text, and thinking tokens are billed as output tokens Claude Sonnet 5.5 migration guide 2026-11-30
Thinking text by default Thinking text is left out by default; set display to summarized to read it Claude Sonnet 5.5 migration guide 2026-11-30
Settings that return a 400 error Five settings return a 400 error: thinking budgets, sampling parameters, assistant prefill, forced tool choice and thinking disabled Claude Sonnet 5.5 migration guide 2026-11-30
Error message for a thinking budget "thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior. Claude Sonnet 5.5 migration guide 2026-11-30
Error message for disabled thinking To turn thinking off on this model, send "thinking": {"type": "between_tools"} instead of {"type": "disabled"}. Claude Sonnet 5.5 migration guide 2026-11-30
Prefilled assistant turns A prefilled last assistant turn returns a 400 error; Claude Sonnet 4.5 accepts one Claude Sonnet 5.5 migration guide 2026-11-30
Error message for a prefill This model does not support assistant message prefill. The conversation must end with a user message. Claude Sonnet 5.5 migration guide 2026-11-30
Tokens for the same text The same text produces about 30 percent more tokens than on Claude Sonnet 4.5, depending on the content Claude Sonnet 5.5 migration guide 2026-11-30
Tokens for an image A 2000×1500 image costs about 2.5 times as many tokens Claude Sonnet 5.5 migration guide 2026-11-30
Effort setting Claude Sonnet 4.5 has no effort parameter, so set an effort level explicitly Claude Sonnet 5.5 migration guide 2026-11-30
Default effort The default effort on the Claude API is high Claude Sonnet 5.5 migration guide 2026-11-30
Parsing tool call input Escaping in tool call arguments can differ; parse input with a standard JSON parser Claude Sonnet 5.5 migration guide 2026-11-30
Interleaved thinking beta header Remove interleaved-thinking-2025-05-14 Claude Sonnet 5.5 migration guide 2026-11-30
Tool streaming beta header Replace fine-grained-tool-streaming-2025-05-14 with eager_input_streaming on each tool that needs it Claude Sonnet 5.5 migration guide 2026-11-30
The output_format parameter Use output_config.format; output_format without its beta header returns a 400 error Claude Sonnet 5.5 migration guide 2026-11-30
Computer use tool version computer_20250124 is not accepted Claude Sonnet 5.5 migration guide 2026-11-30

What changed

Related

Answers