Claude Haiku 5.5 Over 100K: Cache Counts, Output Doesn't
OpenLux TeamPublished
A 100,000-token prompt with a 1,000-token answer costs $0.0105 on Claude Haiku 5.5. Add one token to the prompt and the same call costs $0.0525, five times as much. That cliff is printed on Anthropic's pricing page (read 2 December 2026): $0.10 input and $0.50 output per million tokens for prompts up to 100,000 tokens, $0.50 and $2.50 above. What the rate card does not show at a glance is what goes into that 100,000. Anthropic's answer is "all of its input tokens, including cache reads and cache writes", which means a request that is 93% cache hits can still land in the expensive tier. This guide explains what is counted, what moves, and what a long agent session actually pays.
Haiku 5.5 is on OpenLux with the same step; group prices are on the claude-haiku-5-5 page. Written by the OpenLux Team from sources read on 2 December 2026.
The threshold counts the whole prompt, cache included
Anthropic's long-context section is three sentences long, and each one settles a question. A request "whose prompt is over 100,000 tokens pays higher prices." The prompt length "counts all of its input tokens, including cache reads and cache writes." And each request "is priced on its own: a request over the threshold pays the higher prices even when part of its prompt is a cache hit, and earlier requests keep the prices they were billed at."
The second sentence is the one that catches people out. In the usage object of a Messages API response, input_tokens covers only the uncached part of the prompt; the cached part is reported separately as cache_read_input_tokens and cache_creation_input_tokens. The number Anthropic compares with 100,000 is the sum of all three. A response that shows 6,000 input_tokens and 98,000 cache_read_input_tokens was a 104,000-token prompt, and it was billed at the higher rates.
The wording also fixes the edge. The higher prices apply to prompts "over" 100,000 tokens, so a prompt of exactly 100,000 is still in the cheaper tier. OpenLux's billing code draws the line in the same place: a request is matched to the 100,000 step when its prompt is less than or equal to 100,000 tokens.
Haiku 5.5 is the exception in Anthropic's current lineup. The same page says Claude 4.6 and later models "(except Claude Haiku 5.5)" bill the full 1M-token context window at standard pricing. Opus 5.5 and Sonnet 5.5 charge a 900,000-token request the same per-token rate as a 9,000-token one; Haiku 5.5 is the only current Claude model where length changes the rate.
Output never decides the tier, but last turn's output does
The tier is chosen by prompt length alone. Output tokens, however many there are, do not count toward the 100,000. A request with a 90,000-token prompt that writes 60,000 tokens of output costs $0.009 for input and $0.030 for output, $0.039 in total, all at the lower rates. Even at Haiku 5.5's 128K output ceiling, listed on Anthropic's model comparison, the same prompt costs $0.073 and stays in the cheap tier. On OpenLux the step is configured the same way, with no output-length condition on either tier.
The catch is in multi-turn use. In a chat or an agent loop, the model's previous answers are sent back as assistant messages in the next request, where they are input. A 60,000-token answer that cost nothing toward the threshold on turn one adds 60,000 tokens to the prompt on turn two.
All five rates jump together, for that request only
When a request crosses the line, every rate on it moves by the same factor of five. Anthropic lists the over-100,000 row as $0.50 for base input, $0.625 for 5-minute cache writes, $1 for 1-hour cache writes, $0.05 for cache hits and $2.50 for output, each exactly five times the row above it. There is no blended or marginal treatment: the first 100,000 tokens are not billed at the old rate with only the remainder at the new one.
The jump is also limited to that request. Earlier requests in the same conversation "keep the prices they were billed at", so a conversation that crosses 100,000 on its fifteenth turn does not have turns one to fourteen re-priced. Every later turn that stays above the line, though, pays the higher rate on its entire prompt, including the cached history that was cheap a turn earlier.
Four requests, priced to the cent
These use Anthropic's list prices; OpenLux prices follow the same arithmetic multiplied by a group ratio, shown in the table further down.
The boundary call. A 100,000-token prompt with a 1,000-token answer: 100,000 × $0.10 plus 1,000 × $0.50 per million is $0.0105. At 100,001 tokens: $0.0500 plus $0.0025 is $0.0525. One token of input, 5.0 times the bill.
The cached document. A 150,000-token prompt where 140,000 tokens are a cache hit and 10,000 are new, with an 800-token answer. Billed in the upper tier: 10,000 × $0.50, 140,000 × $0.05 and 800 × $2.50 per million, so $0.005 + $0.007 + $0.002 = $0.014. If cache reads did not count toward the threshold the same call would cost $0.0028; because they do, it costs five times that. Trim the document to 88,000 cached tokens so the prompt is 98,000, and the call costs $0.00228, 83.7% less for 34.7% fewer tokens.
The same document without caching. 150,000 fresh input tokens and 800 output cost $0.075 + $0.002 = $0.077. Caching still saves 82% above the line ($0.014 against $0.077); it just cannot pull the request back under it.
The long answer. 90,000 tokens in, 60,000 out: $0.039 at the lower rates, as above. If your workload is long generation from a moderate prompt, the step never applies.
A 30-turn agent pays 89% of its bill above the line
Agent loops are where the threshold does most damage, because the prompt grows every turn. Take a modest coding or support agent: a 20,000-token system prompt and tool definitions, and each turn adds 6,000 tokens (a 5,000-token tool result plus the model's 1,000-token reply). Prompt caching is on, so each turn reads the previous prompt from cache and writes the new 6,000 tokens to a 5-minute cache.
The prompt reaches 98,000 tokens on turn 14 and 104,000 on turn 15. Turn 14 costs $0.0022. Turn 15, with almost the same content, costs $0.0112: 98,000 cached tokens at $0.05, 6,000 cache-write tokens at $0.625 and 1,000 output tokens at $2.50 per million. Over 30 turns the session costs $0.2409. The 16 turns above the line account for $0.2144 of it, 89%. Without the step, the same session would cost $0.0694, so the threshold multiplies this agent's bill by 3.47.
Now add one rule: when the next prompt would exceed 95,000 tokens, make one extra call that reads the history and writes an 8,000-token summary, then continue from the 20,000-token system prompt plus that summary. In this session the rule fires twice, on turns 14 and 26. Including both summary calls, the 30 turns cost $0.0688, 71% less than $0.2409, and the largest prompt is 94,000 tokens. The trade-off is that a summary loses detail the full history had; for agents that need exact earlier tool output, keep it in a file or store the agent can re-read instead.
The same step on OpenLux, scaled by group
OpenLux's pricing API carries Haiku 5.5's rule as two steps: up to 100,000 prompt tokens at 1x, and above that 5x on prompt, completion and cache prices. The tier is chosen from the full prompt including cache reads and writes, whether you call Haiku through the Anthropic-format endpoint (where usage splits cached tokens out) or the OpenAI-compatible one (where prompt_tokens already includes them). Each group multiplies every Haiku rate by its ratio. Ratios below were read at 02:01 Beijing time on 2 December 2026; the last two columns are the 30-turn session above.
| Group (ratio) | ≤100K input / output per 1M | >100K input / output / cache hit per 1M | 30-turn session | Same, with summaries |
|---|---|---|---|---|
| Claude-Code-1 (0.17647) | $0.0176 / $0.0882 | $0.0882 / $0.4412 / $0.0088 | $0.0425 | $0.0121 |
| Claude-Code-2 (0.29412) | $0.0294 / $0.1471 | $0.1471 / $0.7353 / $0.0147 | $0.0709 | $0.0202 |
| Azure-Claude-1 (0.44118) | $0.0441 / $0.2206 | $0.2206 / $1.1030 / $0.0221 | $0.1063 | $0.0304 |
| Claude-Code-3 (0.45) | $0.0450 / $0.2250 | $0.2250 / $1.1250 / $0.0225 | $0.1084 | $0.0310 |
| AWS-Bedrock-2 (0.58824) | $0.0588 / $0.2941 | $0.2941 / $1.4706 / $0.0294 | $0.1417 | $0.0405 |
| AWS-Claude-2 (0.88236) | $0.0882 / $0.4412 | $0.4412 / $2.2059 / $0.0441 | $0.2126 | $0.0607 |
| AWS-Claude-3 (1.1) | $0.1100 / $0.5500 | $0.5500 / $2.7500 / $0.0550 | $0.2650 | $0.0757 |
Claude-Code-1 is described as "Maximum discount, may queue at peak hours"; Azure-Claude-1 as "Attractive discount, excellent operational stability"; AWS-Claude-3 as "excellent operational stability, full-featured dedicated channel". In Claude-Code-1 the boundary call costs $0.00185 at 100,000 tokens and $0.00927 at 100,001. The group ratio changes the size of the bill, not the shape of the cliff. How groups and usage logs work is explained in this billing guide.
Hidden tokens that push a prompt over
Most accidental crossings come from tokens nobody counted. Three are documented on Anthropic's pricing page.
The tokenizer. Claude 4.7 and later models use a newer tokenizer that "produces approximately 30% more tokens for the same text." A document that measured 80,000 tokens on an older Claude model can be over 100,000 on Haiku 5.5.
Tools. Tool use is priced on "the total number of input tokens sent to the model (including in the tools parameter)", and Anthropic adds a tool-use system prompt of 286 tokens for Haiku 5.5 with tool_choice auto or none, 406 with any or tool. A large tool catalogue can be several thousand tokens on every request, and all of it counts toward the 100,000.
Tool results. Anthropic notes that web search results count as input tokens "in later conversation turns"; the same is true of any file contents, command output or retrieved chunks you append to the conversation. They are the main reason agent prompts drift upward.
How to keep requests at or under 100,000
Measure first. Add input_tokens, cache_read_input_tokens and cache_creation_input_tokens from each Anthropic-format response (or read prompt_tokens from the OpenAI-compatible format) and log the distribution. If almost every request is far below 100,000, the step is irrelevant and you can stop here.
If requests cluster near the line, set a budget below it, around 95,000 to leave room for the tokenizer and tool overhead, and enforce it before sending: summarise or drop old turns, cap retrieved chunks, and truncate long tool output. Caching does not help with the threshold, so trimming is the lever, and in the agent example it cut the bill by 71%.
If a workload is long by nature, with most prompts well over 100,000 tokens, Haiku 5.5 is usually not the right model for it. Flat-priced alternatives are compared in Haiku 5.5 vs Gemini 3.5 Flash-Lite and Haiku 5.5 vs GPT-6 Luna, which keeps its base rate up to 272,000 tokens. On OpenLux, routing long requests to another model is a change of model name on the same base URL.
OpenLux Team