
Haiku 5.5 Triage: Measure Effort, Then Route by Cost
Summary
Benchmark Haiku 5.5 effort levels on your own tickets, then route cheap-first.
Anthropic shipped Claude Haiku 5.5 today, October 7, 2026, and the headline is the price: $0.10 per million input tokens and $0.50 per million output tokens for requests under 100K tokens, down from $1 and $5 on Haiku 4.5. It is also the first Haiku with the effort setting, defaulting to medium, and the first with five levels to choose from.
A cheaper model does not automatically make your bill smaller. Effort level, thinking mode, a new tokenizer and a pricing cliff at 100K prompt tokens all move the number. So instead of guessing, this guide builds a small harness that runs your own labelled tickets through several Haiku 5.5 configurations, reports accuracy, latency and cost for each, picks the cheapest one that clears your quality bar, and then wraps it in a cheap-first router that escalates only when the answer looks wrong.
You will end up with three files you can drop into a project: a cost calculator that understands the two price tiers, an eval harness, and a router. The code was checked offline with a fake client so the plumbing is verified; the model calls follow the current Messages API docs, and you supply the key and the dataset.
Prerequisites
- Python 3.10 or newer and
pip install anthropic(use a current SDK release). - An
ANTHROPIC_API_KEYin your environment. - 20 to 100 real support tickets with a correct label for each. Ten is enough to smoke-test, but conclusions need more.
- Basic familiarity with the Messages API.
What is actually new in Haiku 5.5
| Fact | Value | Source |
|---|---|---|
| Model ID | claude-haiku-5-5 | Models overview |
| Context / max output | 1M tokens / 128K tokens | Models overview |
| Price, prompt up to 100K | $0.10 in, $0.50 out per MTok | Launch coverage |
| Price, prompt over 100K | $0.50 in, $2.50 out per MTok | Launch coverage |
| Cache read / write (small tier) | $0.01 / $0.125 per MTok | Launch coverage |
| Thinking | Adaptive; can be disabled at high effort or below | Effort docs |
| Effort levels | low, medium (default), high, xhigh, max | Effort docs |
Two details matter for budgeting. First, the tier is decided by prompt size, so a single 150K-token request costs five times as much per input token as a 99K one. Second, Anthropic's roughly 75% average saving already includes a tokenizer that uses slightly more tokens per task, so do not multiply your old token counts by the new price and call it done. Measure.
One more thing from the system card, reported in launch coverage: Haiku 5.5 over-refused more than any other model in Anthropic's automated audit, and it is more likely than Haiku 4.5 to help in a few ambiguous sensitive cases when thinking is disabled. For a triage job that means refusals are a real output you need to handle, and the router below does.
Step 1: A cost function that knows about the cliff
Everything else compares configurations by dollars, so start there. The function picks the tier from the total prompt size (fresh input plus cache reads and writes) and prices each part.
"""Haiku 5.5 ticket triage: measure effort levels, then route by cost."""
import time
from dataclasses import dataclass
MODEL = "claude-haiku-5-5"
LABELS = ["billing", "bug", "how_to", "account_access", "cancel", "other"]
# USD per million tokens, from Anthropic's Haiku 5.5 launch pricing.
# Tier is chosen by the size of the request's prompt (100K tokens).
PRICES = {
"small": {"in": 0.10, "out": 0.50, "cache_read": 0.01, "cache_write": 0.125},
"large": {"in": 0.50, "out": 2.50, "cache_read": 0.05, "cache_write": 0.625},
}
SYSTEM = (
"You triage customer support tickets. Reply with exactly one label from: "
+ ", ".join(LABELS)
+ ". Output the label only, lowercase, no punctuation."
)
def cost_usd(input_tokens, output_tokens, cache_read=0, cache_write=0):
total_prompt = input_tokens + cache_read + cache_write
p = PRICES["small" if total_prompt <= 100_000 else "large"]
return (
input_tokens * p["in"]
+ output_tokens * p["out"]
+ cache_read * p["cache_read"]
+ cache_write * p["cache_write"]
) / 1_000_000
Run the calculator on a realistic workload to see what the sticker price means. Suppose you classify 1 million tickets a month at 600 input and 40 output tokens each:
python3 -c "from haiku_triage import cost_usd; print(round(1_000_000*cost_usd(600,40),2))"
80.0
# Haiku 4.5 at $1 / $5 for the same job: 1,000,000 * (600*1 + 40*5) / 1e6 = 800.0
# One 150K-token request vs one 99K-token request:
0.0775 vs 0.0104
That is $80 against $800 for the same token counts. It is an upper bound on the saving, because the new tokenizer will inflate your counts a little. The last line is the gotcha: a request just past the 100K line costs about 7.5 times a request just under it, though it carries only 1.5 times the input. If you stuff whole documents into prompts, chunk below the line.
Step 2: Define the configurations to compare
Four configurations are enough to show the shape of the trade-off: the three standard levels, plus low with thinking disabled. Effort goes in output_config, and no beta header is needed for the top-level parameter. Disabling thinking is allowed on Haiku 5.5 at high or below; at xhigh or max you must use adaptive thinking.
Before relying on that, ask the Models API what the model supports instead of hardcoding it:
curl https://api.anthropic.com/v1/models/claude-haiku-5-5 \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01"
# check capabilities.thinking.types.disabled.supported before sending thinking: {type: "disabled"}
@dataclass
class Config:
name: str
effort: str
thinking_off: bool = False
CONFIGS = [
Config("low", "low"),
Config("medium", "medium"),
Config("high", "high"),
Config("low_nothink", "low", thinking_off=True),
]
Step 3: One classification call, fully instrumented
The prompt asks for a single lowercase label. I deliberately avoid forced tool choice and elaborate JSON here: a one-word answer is the cheapest output possible and easy to validate. Anything that is not an exact label becomes a miss, which is what you want when comparing configurations.
Two details are easy to get wrong. max_tokens covers thinking as well as the answer, so a tiny cap can cut a thinking model off before it writes anything; 2048 leaves room. And the code reads only text blocks, because with thinking active the content list can start with a thinking block.
def classify(client, ticket, cfg, max_tokens=2048):
kwargs = dict(
model=MODEL,
max_tokens=max_tokens, # thinking tokens count against this
system=SYSTEM,
messages=[{"role": "user", "content": ticket}],
output_config={"effort": cfg.effort},
)
if cfg.thinking_off:
kwargs["thinking"] = {"type": "disabled"} # allowed at high or below
t0 = time.perf_counter()
resp = client.messages.create(**kwargs)
dt = time.perf_counter() - t0
text = "".join(b.text for b in resp.content if b.type == "text").strip().lower()
u = resp.usage
cost = cost_usd(
u.input_tokens,
u.output_tokens,
getattr(u, "cache_read_input_tokens", 0) or 0,
getattr(u, "cache_creation_input_tokens", 0) or 0,
)
label = text if text in LABELS else "other"
return {"label": label, "raw": text, "latency": dt, "out_tokens": u.output_tokens, "cost": cost,
"refused": resp.stop_reason == "refusal"}
Step 4: The eval loop and the picker
run_eval runs every ticket through every configuration and reports accuracy, average output tokens, average latency, cost per 1,000 tickets, and refusal count. pick_config returns the cheapest row that meets your accuracy floor, or the most accurate row if none do.
def run_eval(client, dataset, configs=CONFIGS):
rows = []
for cfg in configs:
res = [classify(client, t, cfg) for t, _ in dataset]
n = len(dataset)
correct = sum(r["label"] == gold for r, (_, gold) in zip(res, dataset))
rows.append({
"config": cfg.name,
"accuracy": correct / n,
"avg_out_tokens": sum(r["out_tokens"] for r in res) / n,
"avg_latency_s": sum(r["latency"] for r in res) / n,
"cost_per_1k": 1000 * sum(r["cost"] for r in res) / n,
"refusals": sum(r["refused"] for r in res),
})
return rows
def pick_config(rows, min_accuracy):
ok = [r for r in rows if r["accuracy"] >= min_accuracy]
return min(ok, key=lambda r: r["cost_per_1k"]) if ok else max(rows, key=lambda r: r["accuracy"])
Your dataset is a list of (ticket_text, gold_label) tuples. Here is a starter set to show the format; replace it with real tickets, including the ugly ones:
DATASET = [
("I was charged twice for March, please refund one.", "billing"),
("The export button spins forever and then the page reloads.", "bug"),
("How do I add a teammate to my workspace?", "how_to"),
("I never got the password reset email.", "account_access"),
("Please cancel my subscription before the next renewal.", "cancel"),
("Your logo looks great on the new site.", "other"),
# ...add 20 to 100 more, weighted toward the confusing cases
]
import anthropic
from haiku_triage import run_eval, pick_config
rows = run_eval(anthropic.Anthropic(), DATASET)
for r in rows:
print(r)
print("use:", pick_config(rows, min_accuracy=0.95)["config"])
Step 5: Read the results like an engineer
I cannot print your numbers for you, since they depend on your tickets, so here is the dry run I used to test the plumbing. A fake client returns canned answers and degrades low effort on one hard ticket. The numbers are simulated, but the output shape and the picker logic are real:
low 0.75 0.046
medium 1.0 0.046
high 1.0 0.072
low_nothink 0.75 0.046
pick: medium
Columns are config, accuracy and cost per 1,000 tickets in dollars. The picker skipped high because medium hit the same accuracy for less. On real data the pattern to look for is a plateau: accuracy flattens at some effort level and cost keeps rising. Stop at the start of the plateau. If low with thinking disabled matches medium on your data, it is the one to ship, since it also has the lowest latency.
Step 6: A cheap-first router
The best config on average still fails on individual tickets. The router sends everything through the cheap configuration first and escalates only when the reply is not a valid label or the model refused. If the careful pass also fails, the ticket goes to a human rather than being silently labelled.
"""Cascade: cheap pass first, escalate only when the answer looks shaky."""
from haiku_triage import Config, classify, LABELS
CHEAP = Config("cheap", "low", thinking_off=True)
CAREFUL = Config("careful", "high")
def route(client, ticket):
first = classify(client, ticket, CHEAP)
if first["refused"] or first["raw"] not in LABELS:
second = classify(client, ticket, CAREFUL)
if second["refused"] or second["raw"] not in LABELS:
return {"label": "needs_human", "path": "cheap>careful>human"}
return {"label": second["label"], "path": "cheap>careful"}
return {"label": first["label"], "path": "cheap"}
Because most tickets stop at the first call, your blended cost stays near the cheap configuration while hard cases get the careful treatment. In the dry run:
print(route(client, "billing: refund please"))
{'label': 'billing', 'path': 'cheap'}
print(route(client, "tricky_bug: weird"))
{'label': 'bug', 'path': 'cheap>careful'}
Log the path field. The share of tickets that escalate is the single most useful health metric for this system: if it creeps up after a prompt change, your cheap pass got worse.
Worked example: sizing a real deployment
A support team gets 40,000 tickets a month. Each prompt is the system text plus the ticket, about 500 tokens, and the answer is one label of around 8 output tokens plus a few thinking tokens at most. Run the harness on 200 of their labelled tickets. Say low with thinking disabled scores 0.93 and medium scores 0.97, and the team's floor is 0.95. The picker returns medium. With the router, they instead start at the cheap configuration and escalate the roughly 7% that come back invalid or refused to high. Total spend is dominated by the first pass, which at these sizes is a few dollars a month. The real decision is not which model, it is how much a wrong label costs you, and that is the number to set min_accuracy from.
Note that these accuracy figures are an illustration of how to reason, not measured Haiku 5.5 results.
Gotchas and pitfalls
- Thinking tokens eat your max_tokens. A cap that was fine for a non-thinking model can return an empty text reply here. If you see empty strings, raise the cap before blaming the model.
- Disabling thinking has limits. It works at
highor below on Haiku 5.5. Pair it withxhighormaxand you get a 400. Check the Models API capabilities field rather than assuming. - Changing effort invalidates the prompt cache. Effort lives in the request, and the docs say switching it restarts the cache for a conversation. Keep effort constant within a cached conversation. There is a beta for per-message effort changes (header
mid-conversation-output-config-2026-07-01) that preserves the cache, but test it before depending on it. - The 100K cliff is per request. One oversized prompt costs five times the input rate. Cap context before you send it.
- Refusals are an output. Launch coverage of the system card says Haiku 5.5 over-refused more than other tested models. Check
stop_reasonand route refusals somewhere deliberate instead of treating them as a label. - Safeguards are yours. The system card encourages API developers, especially with thinking disabled, to add their own. If your tickets can contain self-harm or other sensitive content, put a classifier or human path ahead of the cheap pass.
- Effort is a signal, not a budget. Lower levels still think on hard inputs. Do not promise a token ceiling from the effort value; measure
usage.output_tokens. - Benchmarks are the vendor's. The launch numbers (for example 72.4% on OSWorld 2.1 versus 15.7% for Haiku 4.5) are Anthropic-reported. Your own harness beats any leaderboard for your task.
- Small eval sets lie. With 20 tickets one miss is five points of accuracy. Grow the set before you trust a difference of a couple of points.
Quick reference
| Task | How |
|---|---|
| Pick the model | model="claude-haiku-5-5" |
| Set effort | output_config={"effort": "low"} (low, medium, high, xhigh, max) |
| Default effort | medium |
| Turn thinking off | thinking={"type": "disabled"}, high or below only |
| Check capabilities | GET /v1/models/claude-haiku-5-5 |
| Price tiers | Up to 100K prompt tokens: $0.10 / $0.50. Over: $0.50 / $2.50 |
| Cache read | $0.01 per MTok small tier, $0.05 large |
| Spot refusals | resp.stop_reason == "refusal" |
| Change effort mid-chat | Beta header mid-conversation-output-config-2026-07-01 |
Next steps
- Run the harness on 100 real tickets and plot cost against accuracy for all five effort levels, including
xhighandmax. - Add Batch API pricing if your workload is not latency sensitive.
- Put the router behind a feature flag and compare its escalation rate week over week.
- Add a second escalation target, such as a larger Claude model, for tickets the careful Haiku pass still gets wrong.
- Review the Haiku 5.5 system card before using it on anything safety-adjacent.
Sources: Anthropic models overview and effort documentation on platform.claude.com; launch coverage from The New Stack and Unite.AI, October 7, 2026.
Comments
Be the first to comment
Found this useful?
Get new AI guides for builders by email. Free.
Join 3,605 newsletter subscribers.