published fresh until

Haiku 4.5 to Haiku 5.5: what breaks in my API calls?

Summary Anthropic's migration notes say Haiku 5.5 (released 7 October) can return errors for temperature, top_p and top_k, and returns errors for assistant prefill and budget_tokens thinking, counts the same text as about 30% more tokens, and has a 1M context with 128K output. Price is $0.10 / $0.50 per million tokens up to 100K prompt tokens.

Not for picking a Claude tier for coding

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

What it is

Claude Haiku 5.5 (claude-haiku-5-5, released 7 October 2026) replaces Haiku 4.5 as Anthropic's smallest model. Its docs list model IDs on the Claude API, Bedrock (anthropic.claude-haiku-5-5), Google Cloud, Microsoft Foundry and Claude Platform on AWS.

Specs that matter

  • Context 1M tokens (Haiku 4.5: 200k); max output 128K (Haiku 4.5: 64k); Batch API up to 300k output with the output-300k-2026-03-24 beta header.
  • Price per million tokens: $0.10 input / $0.50 output for prompts up to 100,000 tokens; $0.50 / $2.50 above. Cache read $0.01 (up to 100K). Batch is 50% off. Minimum cacheable prompt is 512 tokens, down from 4,096.
  • Adaptive thinking is on by default; default effort is medium. Supports the effort parameter.

Changes that break existing code (per the What's new page)

Old habitOn Haiku 5.5
budget_tokens manual thinkingReturns an error; use adaptive thinking and effort
temperature, top_p, top_kCan return an error; omit them
Ending messages with an assistant prefillReturns an error; end with a user turn
computer_20250124 toolError on the Claude API, Google Cloud and Bedrock; use computer_toolset_20260801 (API, Google Cloud, Bedrock); Bedrock also accepts computer_20251124
Structured outputs on Amazon BedrockAvailable; see structured outputs (checked 2026-11-14)
Editing earlier turns when sending thinking blocks backInvalidates them; keep conversations append-only

Behaviour changes

  • A response can start with a thinking block, so select content by type, not by position.
  • Thinking text is omitted unless you set thinking.display to "summarized".
  • Thinking tokens count toward max_tokens: a small limit can end after the thinking block with no text.
  • Earlier thinking blocks stay in context and count as input tokens (Haiku 4.5 kept only the last turn's).
  • The same text produces about 30% more tokens than on Haiku 4.5 (the Claude 4.7+ tokenizer). Recount prompts and cost estimates.
  • Safety classifiers can decline a request: handle stop_reason: "refusal".

How to describe it to your agent

Switch our calls from claude-haiku-4-5 to claude-haiku-5-5. Remove temperature, top_p, top_k and budget_tokens, replace any assistant prefill with a user turn, read content blocks by type, handle stop_reason "refusal", and raise max_tokens so thinking does not use it all. Then rerun our eval set and compare cost, since token counts rise about 30%.

Limits

Taken from Anthropic's docs as of 18 October 2026; not run by me. The migration guide has the full list.

Primary source

Primary sources: What's new in Claude Haiku 5.5 and the Claude Haiku 5.5 overview (Anthropic, read 18 October 2026). Checked: release on 7 October 2026 and the model IDs; 1M context and 128K output (up from 200k and 64k on Haiku 4.5); the breaking changes (budget_tokens, sampling parameters, assistant prefill, computer_20250124 and its replacements, structured outputs now available on Bedrock (checked 2026-11-14), thinking blocks invalidated by edited earlier turns); thinking behavior (blocks first, text omitted unless thinking.display is summarized, thinking counts toward max_tokens, earlier blocks stay in context); about 30% more tokens for the same text; stop_reason: "refusal"; pricing of $0.10 / $0.50 up to 100,000 prompt tokens and $0.50 / $2.50 above, cache read $0.01 / $0.05, Batch 50% off; 512-token minimum cacheable prompt (down from 4,096); default effort medium. Not verified: the Batch API 300k beta header detail beyond the overview, that Haiku 5.5 is the first Haiku with effort, and the migration guide itself.

Started from a post by @Anthropic, packaged by the editor. Original post

Subjects

More in documentation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Haiku 4.5 to Haiku 5.5: what breaks in my API calls?
Summary: Anthropic's migration notes say Haiku 5.5 (released 7 October) can return errors for temperature, top_p and top_k, and returns errors for assistant prefill and budget_tokens thinking, counts the same text as about 30% more tokens, and has a 1M context with 128K output. Price is $0.10 / $0.50 per million tokens up to 100K prompt tokens.
Copy for agent
get the whatworks thread haiku-5-5-api-migration-what-breaks-from-haiku-4-5 and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread haiku-5-5-api-migration-what-breaks-from-haiku-4-5
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp