Sonnet 5.5 was ahead of Haiku 4.5 on 14 of 80 comparison rows. Haiku was ahead on none. 31 rows tie and 35 are unclear. The 14 is 13 rows plus one memory row where Haiku did worse (calculation). 64 rows are measurements and 16 are list-price calculations.
Hard tasks: Sonnet passed 24 of 24 (95% interval 86% to 100%). Haiku passed 11 of 24 (46%, 28% to 65%). On five easy tasks the two tie.
Speed: Sonnet was ahead on all 6 speed rows that have a winner. As a router, Haiku's median decision took 12,543 ms and Sonnet's took 2,597 ms.
Price: Haiku lists at half of Sonnet's price per token (calculation). On the hard set it still cost 4.7 times as much per strict pass (calculation).
When Haiku fits: no measured row puts it ahead. Test it on your own tasks before you switch.
Live story · 44 sHaiku vs Sonnet vs Opus vs Fable vs GPT-6.1 Sol on eight hard tasks
Haiku vs Sonnet vs Opus vs Fable vs GPT-6.1 Sol on eight hard tasks
139 of 152 calls passed strictly. 6 configurations passed every call; Haiku 4.5 passed 11/24. Medians with ranges; costs are calculations.
Live story · 44 s · download it as video (16:9, 9:16 or 1:1) from the player · See the data
Transcript
Hard head-to-head · 152 scored calls · 7 configurations. Haiku vs Sonnet vs Opus vs Fable vs GPT-6.1 Sol. Strict validators, tested against controls first. Every call kept, nothing retried.
139 of 152 calls passed strictly. 6 configurations passed every call; Haiku 4.5 passed 11/24. Calls that passed strictly: 91% (139/152) (n = 152, 95% CI 86–95%). Configurations that passed every call: 6 of 7 (4 at 24/24, 2 at 16/16) (n = 7). Codex CLI attempts blocked before any model call (not scored): 30 (of 182 attempts). Caveat: Claude Code and Codex CLI rows pair a CLI with a model, and each CLI adds its own system prompt and start-up time. A Claude-vs-GPT row compares the route + model pairs, not the models alone.
Perfect: 4 at 24/24 (86%–100%), 2 at 16/16 (81%–100%), 95% intervals. Haiku 4.5 at 11/24 (28%–65%). Chart: Strict pass rate · 95% Wilson intervals (n = 16–24 each). Caveat: 6 configurations passed every call, so the hard set still has a ceiling for them: a perfect 24/24 has a 95% interval of 86% to 100%; a perfect 16/16 has a 95% interval of 81% to 100%. Among them, only the latency, token and cost medians differ, and their per-call time ranges overlap.
Haiku 4.5 passed none of event-loop order, room schedule and SQL report query. 5 more replies were right but in the wrong format. Table: Every call, task by task · 3 or 2 calls per cell. Caveat: Claude Code: n = 24 per configuration (3 repetitions per task); Codex CLI: n = 16 per configuration (2 repetitions per task). Per-task cells have only 2 to 3 calls.
Median time per call: Sonnet 5.5 7.7 s, GPT-6.1 Sol 13.1 s and 18.1 s, Haiku 4.5 39.0 s. The ranges overlap: no speed ranking. Chart: Median total time per call · whiskers: fastest to slowest call (n = 16–24 each). Caveat: Strict format rules decide part of the result: a reply in a code fence fails. The lenient reading is shown next to it so the two can be told apart.
Quality vs list-price cost per strict pass, a calculation: Sonnet 5.5 at $0.0143 is the frontier alone. Chart: Quality vs cost frontier on hard tasks (n = 16–24 each). Calculation, not a run. Caveat: Default effort means the effort flag was not passed; the CLI chose. Haiku reported a median 4,556 reasoning tokens per call, which explains much of its extra time and output.
Open benchmarks: intervals, sources and every failure kept.
The 80 rows at a glance
A row goes to one model only when the 95% intervals, ranges or p50 to p95 bands do not overlap. A tie means the sample cannot separate the models. Unclear means the row has no interval, or its ranges overlap. Our count by study:
The Table view keeps every original cell, link and printed value. The article’s caveats still apply.
The compare page lists one memory row as a Haiku lead because it reads a higher rate as better. That row is a bad outcome for Haiku (section 4), so we count it for Sonnet.
7 rows, 2 series: Strict pass, Lenient (format misses counted). Strict pass: highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 86%–100%, n 24). Lowest Claude Haiku 4.5 · Claude Code 46% (95% interval 28%–65%, n 24). Not all intervals overlap. Lenient (format misses counted): highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 86%–100%, n 24). Lowest Claude Haiku 4.5 · Claude Code 67% (95% interval 47%–82%, n 24). Not all intervals overlap.
NotesWhiskers: 95% Wilson intervaln 16–24 per row6 of 7 (Strict pass) at 100%: this task set cannot separate them.
Strict: the reply passes as given. Lenient: a correct answer in the wrong format also counts
7 rows, 2 series: Strict pass, Lenient (format misses counted). Strict pass: highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 86%–100%, n 24). Lowest Claude Haiku 4.5 · Claude Code 46% (95% interval 28%–65%, n 24). Not all intervals overlap. Lenient (format misses counted): highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 86%–100%, n 24). Lowest Claude Haiku 4.5 · Claude Code 67% (95% interval 47%–82%, n 24). Not all intervals overlap.
Whiskers are 95% Wilson intervals. The strict pass is the result; the lenient reading is shown so a reader can see how much is format and how much is a wrong answer. A format miss never counts as a pass.
Each model made 24 calls (3 repeats of 8 tasks). Sonnet passed all 24 (95% interval 86% to 100%). Haiku passed 11 (46%, 28% to 65%). The intervals do not overlap, so Sonnet is ahead.
It is also ahead on the lenient reading, which counts a right answer in the wrong format: Haiku 16/24 (67%, 47% to 82%). Study: /benchmarks/hard-model-head-to-head.
Haiku had 5 format misses (CSV parser 1, room schedule 2, SQLite query 2) and 8 wrong answers. By task, with 3 calls each, it passed 0/3 on event-loop order, room schedule and SQLite query. It passed 1/3 on DST day length, 2/3 on CSV parser and refactor, and 3/3 on interval merge and SemVer regex. Sonnet passed 3/3 on all eight tasks.
Sonnet's 24/24 is this set's ceiling. It shows that Haiku falls short, not how far Sonnet reaches.
Every interval overlaps every other: this chart does not order these rows.
Pass rate on five validated tasks: data
Item
Pass rate
95% interval
n
Claude Fable 5.1 · Claude Code
100%
80%–100%
15
Claude Sonnet 5.5 · Claude Code
80%
55%–93%
15
Claude Opus 5.5 (high) · Claude Code
100%
80%–100%
15
Claude Opus 5.5 · Claude Code
100%
80%–100%
15
Claude Opus 5.5 (low) · Claude Code
100%
80%–100%
15
Claude Haiku 4.5 · Claude Code
100%
80%–100%
15
GPT-6.1 Sol (high) · Codex CLI
100%
80%–100%
15
GPT-6.1 Sol (medium) · Codex CLI
100%
80%–100%
15
GPT-6.1 Sol (low) · Codex CLI
100%
72%–100%
10
9 rows. Highest Claude Fable 5.1 · Claude Code 100% (95% interval 80%–100%, n 15). Lowest Claude Sonnet 5.5 · Claude Code 80% (95% interval 55%–93%, n 15). All intervals overlap.
NotesWhiskers: 95% Wilson intervaln 10–15 per row8 of 9 at 100%: this task set cannot separate them.
Every call counts; failures and timeouts are non-passes
9 rows. Highest Claude Fable 5.1 · Claude Code 100% (95% interval 80%–100%, n 15). Lowest Claude Sonnet 5.5 · Claude Code 80% (95% interval 55%–93%, n 15). All intervals overlap.
Whiskers are 95% Wilson intervals. The tasks are short and most configurations pass nearly all of them, so pass rate does not separate the models here.
On five short tasks, Haiku passed 15/15 (95% interval 80% to 100%) and Sonnet 12/15 (80%, 55% to 93%). The intervals overlap, so this is a tie. Haiku's 15/15 is the set's ceiling. All three Sonnet misses were format misses on one arithmetic task. Each reply ended on the right answer, 2292, but added working lines that the exact-text validator rejects. Study: /benchmarks/model-head-to-head.
3 rows, 3 series: Exact number, JSON object, Code fix. Exact number: highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 72%–100%, n 10). Lowest Claude Haiku 4.5 · Claude Code 0% (95% interval 0%–28%, n 10). Not all intervals overlap. JSON object: highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 72%–100%, n 10). Lowest Claude Haiku 4.5 · Claude Code 10% (95% interval 1.8%–40%, n 10). Not all intervals overlap.
NotesWhiskers: 95% Wilson intervaln = 10 per row
One series per prompt; whiskers are 95% Wilson intervals
3 rows, 3 series: Exact number, JSON object, Code fix. Exact number: highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 72%–100%, n 10). Lowest Claude Haiku 4.5 · Claude Code 0% (95% interval 0%–28%, n 10). Not all intervals overlap. JSON object: highest Claude Sonnet 5.5 · Claude Code 100% (95% interval 72%–100%, n 10). Lowest Claude Haiku 4.5 · Claude Code 10% (95% interval 1.8%–40%, n 10). Not all intervals overlap.
Whiskers are 95% Wilson intervals over 10 repetitions. Strict: the whole reply passes the validator. A correct answer in the wrong format (for example in a code fence) is a format miss and never a pass; the table lists format misses apart from wrong answers.
On the exact-number prompt, Haiku passed 0/10 (0% to 28%). It gave the same wrong answer every time: 289, not the right 282. Sonnet passed 10/10 (72% to 100%).
On the JSON prompt, Haiku passed 1/10 (2% to 40%), with 9 format misses, and Sonnet passed 10/10. Sonnet is ahead on both rows. On the code-fix prompt both passed 10/10: a tie. Study: /benchmarks/caching-consistency.
4. Memory: Sonnet ahead on the handbook and /init files
Claude Sonnet 5.5: 20%–64%; Claude Haiku 4.5: 0%–28%
15
/init CLAUDE.md
67%
10%
Claude Sonnet 5.5: 42%–85%; Claude Haiku 4.5: 1.8%–40%
15
Curated, 11 lines
100%
80%
Claude Sonnet 5.5: 80%–100%; Claude Haiku 4.5: 49%–94%
15
Raw notes, 60 lines
100%
60%
Claude Sonnet 5.5: 80%–100%; Claude Haiku 4.5: 31%–83%
15
Dreamed notes
100%
80%
Claude Sonnet 5.5: 80%–100%; Claude Haiku 4.5: 49%–94%
15
Handbook, 210 lines
100%
30%
Claude Sonnet 5.5: 80%–100%; Claude Haiku 4.5: 11%–60%
15
Stop hook only
67%
80%
Claude Sonnet 5.5: 42%–85%; Claude Haiku 4.5: 49%–94%
15
Curated + hook
100%
100%
Claude Sonnet 5.5: 80%–100%; Claude Haiku 4.5: 72%–100%
15
8 rows, 2 series: Claude Sonnet 5.5, Claude Haiku 4.5. Claude Sonnet 5.5: highest Curated, 11 lines 100% (95% interval 80%–100%, n 15). Lowest No memory 40% (95% interval 20%–64%, n 15). Not all intervals overlap. Claude Haiku 4.5: highest Curated + hook 100% (95% interval 72%–100%, n 10). Lowest No memory 0% (95% interval 0%–28%, n 10). Not all intervals overlap.
NotesWhiskers: 95% Wilson intervaln 10–15 per row5 of 8 (Claude Sonnet 5.5) at 100%: this task set cannot separate them.
Changelog rule and late-fee rate, pooled · 95% Wilson intervals
8 rows, 2 series: Claude Sonnet 5.5, Claude Haiku 4.5. Claude Sonnet 5.5: highest Curated, 11 lines 100% (95% interval 80%–100%, n 15). Lowest No memory 40% (95% interval 20%–64%, n 15). Not all intervals overlap. Claude Haiku 4.5: highest Curated + hook 100% (95% interval 72%–100%, n 10). Lowest No memory 0% (95% interval 0%–28%, n 10). Not all intervals overlap.
Both models had the same memory files. The smaller model followed the team rules less often when the facts sat in long or messy files.
Both models got the same memory files (Haiku 10 sessions per condition, Sonnet 15). The score is team knowledge followed: a changelog rule and a late-fee rate. Sonnet is ahead on two conditions and ties on the other six.
211-line handbook: Haiku 3/10 (11% to 60%), Sonnet 15/15 (80% to 100%).
/init file: Haiku 1/10 (2% to 40%), Sonnet 10/15 (42% to 85%).
Claude Sonnet 5.5: 55%–93%; Claude Haiku 4.5: 72%–100%
15
/init CLAUDE.md
87%
100%
Claude Sonnet 5.5: 62%–96%; Claude Haiku 4.5: 72%–100%
15
Curated, 11 lines
0%
0%
Claude Sonnet 5.5: 0%–20%; Claude Haiku 4.5: 0%–28%
15
Raw notes, 60 lines
0%
100%
Claude Sonnet 5.5: 0%–20%; Claude Haiku 4.5: 72%–100%
15
Dreamed notes
0%
10%
Claude Sonnet 5.5: 0%–20%; Claude Haiku 4.5: 1.8%–40%
15
Handbook, 210 lines
0%
0%
Claude Sonnet 5.5: 0%–20%; Claude Haiku 4.5: 0%–28%
15
Stop hook only
60%
100%
Claude Sonnet 5.5: 36%–80%; Claude Haiku 4.5: 72%–100%
15
Curated + hook
0%
0%
Claude Sonnet 5.5: 0%–20%; Claude Haiku 4.5: 0%–28%
15
8 rows, 2 series: Claude Sonnet 5.5, Claude Haiku 4.5. Claude Sonnet 5.5: highest /init CLAUDE.md 87% (95% interval 62%–96%, n 15). Lowest Curated + hook 0% (95% interval 0%–20%, n 15). Not all intervals overlap. Claude Haiku 4.5: highest No memory 100% (95% interval 72%–100%, n 10). Lowest Curated + hook 0% (95% interval 0%–28%, n 10). Not all intervals overlap.
NotesWhiskers: 95% Wilson intervaln 10–15 per row
Sessions that ran the README test command, which fails on Node 25 · 95% Wilson intervals
8 rows, 2 series: Claude Sonnet 5.5, Claude Haiku 4.5. Claude Sonnet 5.5: highest /init CLAUDE.md 87% (95% interval 62%–96%, n 15). Lowest Curated + hook 0% (95% interval 0%–20%, n 15). Not all intervals overlap. Claude Haiku 4.5: highest No memory 100% (95% interval 72%–100%, n 10). Lowest Curated + hook 0% (95% interval 0%–28%, n 10). Not all intervals overlap.
The README and npm test give a command that fails on Node 25. The curated, dreamed and handbook files name the right one. The raw notes hold both: an old "run npm test" note and a later correction. The /init file repeats the README.
One row reads the other way. This chart shows sessions that ran a stale README test command, which fails on Node 25, so a higher rate is worse. With 60 lines of raw notes, Haiku ran it in 10/10 sessions (72% to 100%) and Sonnet in 0/15 (0% to 20%). Haiku did worse, so we count this row for Sonnet. Study: /benchmarks/agent-memory.
Deterministic routing policy (Crewshal, in process)1.42 µs1st
Jev 1.13 (TypeSafe)137 ms2nd
Claude Sonnet 5.5 (effort low, via Claude Code)2.6 s3rd
Claude Haiku 4.5 (thinking on, via Claude Code)12.54 s4th
1st, 2nd …: place by median, given only to a lane whose run range overlaps no other lane’s. A lane marked ~ overlaps another lane’s range, so it gets no place.
Time per decision · log scale: each gridline is 10 times the one before
Time to make one routing decision: data
Item
Decision time
Median to p95
n
Deterministic routing policy (Crewshal, in process)
1.42 µs
1.42 µs–2.33 µs
20000
Jev 1.13 (TypeSafe)
137 ms
137 ms–196 ms
246
Claude Sonnet 5.5 (effort low, via Claude Code)
2.6 s
2.6 s–4.3 s
82
Claude Haiku 4.5 (thinking on, via Claude Code)
12.54 s
12.54 s–34.48 s
82
4 rows. Slowest Claude Haiku 4.5 (thinking on, via Claude Code) 12.54 s (median to p95 12.54 s–34.48 s, n 82). Fastest Deterministic routing policy (Crewshal, in process) 1.42 µs (median to p95 1.42 µs–2.33 µs, n 20000). Not all run ranges overlap.
NotesLines: median to p95 (not an interval)n 82–20000 per row
Median; whiskers = median to 95th percentile
4 rows. Slowest Claude Haiku 4.5 (thinking on, via Claude Code) 12.54 s (median to p95 12.54 s–34.48 s, n 82). Fastest Deterministic routing policy (Crewshal, in process) 1.42 µs (median to p95 1.42 µs–2.33 µs, n 20000). Not all run ranges overlap.
The policy is the pure in-process decision (median 1.42 µs, p95 2.33 µs), timed over 20,000 decisions after 5,000 warm-up calls. The Claude routers are wall time per call through the Claude Code CLI, one call at a time, from the recorded routing runs. Jev is wall time of a direct HTTPS call from the same Mac over a home network (246 calls in a 35-second window; its API reports no server time), so the network is inside it. A different route from the CLI, so the chart shows what a caller waits, not model compute time. The whisker is the median to the 95th percentile, not a confidence interval.
As a router, Haiku's median decision took 12,543 ms (p50 to p95: 12,543 to 34,481 ms; n = 82). Sonnet at low effort took 2,597 ms (2,597 to 4,298 ms; n = 82). Haiku's median is above Sonnet's p95, so Sonnet is ahead. A p50 to p95 band is not a confidence interval. Study: /benchmarks/routing-overhead.
Six speed rows have a winner, all Sonnet. Five are router rows, which are not independent tests. The sixth is the same-prompt code fix: 5.95 s against 2.67 s (ranges 4.89 to 7.33 s and 2.32 to 4.34 s; n = 10).
Other speed rows are unclear. On the hard set the medians were 39.01 s and 7.75 s, but the ranges overlap (15.27 to 75.13 s and 2.26 to 34.79 s). On the exact-number prompt Haiku's median was lower (5.06 s against 6.89 s), and those ranges overlap too. A range is not an interval.
Claude Opus 5.5 (high) · Claude Code1,052614 reasoning
GPT-6.1 Sol (medium) · Codex CLI335150 reasoning
Claude Fable 5.1 · Claude Code1,366889 reasoning
GPT-6.1 Sol (high) · Codex CLI436225 reasoning
Claude Haiku 4.5 · Claude Code5,0644,556 reasoning
Output tokens per call on hard tasks: data
Item
Output tokens
Reasoning tokens
n
Claude Sonnet 5.5 · Claude Code
1,050
585
24
Claude Opus 5.5 · Claude Code
945
529
24
Claude Opus 5.5 (high) · Claude Code
1,052
614
24
GPT-6.1 Sol (medium) · Codex CLI
335
150
16
Claude Fable 5.1 · Claude Code
1,366
889
24
GPT-6.1 Sol (high) · Codex CLI
436
225
16
Claude Haiku 4.5 · Claude Code
5,064
4,556
24
7 rows, 2 series: Output tokens, Reasoning tokens. Output tokens: highest Claude Haiku 4.5 · Claude Code 5,064 (n 24). Lowest GPT-6.1 Sol (medium) · Codex CLI 335 (n 16). Reasoning tokens: highest Claude Haiku 4.5 · Claude Code 4,556 (n 24). Lowest GPT-6.1 Sol (medium) · Codex CLI 150 (n 16).
Notesn 16–24 per row
Median per configuration; reasoning tokens as the CLI reports them
7 rows, 2 series: Output tokens, Reasoning tokens. Output tokens: highest Claude Haiku 4.5 · Claude Code 5,064 (n 24). Lowest GPT-6.1 Sol (medium) · Codex CLI 335 (n 16). Reasoning tokens: highest Claude Haiku 4.5 · Claude Code 4,556 (n 24). Lowest GPT-6.1 Sol (medium) · Codex CLI 150 (n 16).
Reasoning tokens are part of the output tokens where the CLI reports them. Their content is never captured. More tokens is not better or worse by itself.
On the hard set, Haiku's median call wrote 5,064 output tokens, 4,556 of them reasoning. Sonnet wrote 1,050 (585 reasoning). Time and tokens come from the same calls, so they show a link, not a cause.
The Table view keeps every original cell, link and printed value. The article’s caveats still apply.
Haiku lists at half of Sonnet's price at all three points (calculation). The charts below price the recorded tokens at these rates. They are calculations, not bills: the calls ran on subscriptions. Study: /benchmarks/cost-thought-experiments.
Hover or focus a bar for its ratio to Claude Sonnet 5.5 (the highlighted row): a ratio of list-price calculations, not a measurement.
List-price cost per strict pass on hard tasks (calculation): data
Item
Cost per strict pass
n
Claude Sonnet 5.5 · Claude Code
$0.014
24
GPT-6.1 Sol (high) · Codex CLI
$0.015
16
GPT-6.1 Sol (medium) · Codex CLI
$0.026
16
Claude Opus 5.5 · Claude Code
$0.028
24
Claude Opus 5.5 (high) · Claude Code
$0.033
24
Claude Haiku 4.5 · Claude Code
$0.067
24
Claude Fable 5.1 · Claude Code
$0.093
24
List-price calculation, not a run. 7 rows. Highest Claude Fable 5.1 · Claude Code $0.093 (n 24). Lowest Claude Sonnet 5.5 · Claude Code $0.014 (n 24).
Notesn 16–24 per row
All calls in a configuration, failures and format misses included, divided by its strict passes
List-price calculation, not a run. 7 rows. Highest Claude Fable 5.1 · Claude Code $0.093 (n 24). Lowest Claude Sonnet 5.5 · Claude Code $0.014 (n 24).
Calculation, not a bill: reported tokens × list price; the calls ran on a flat subscription. A failed call still costs, so a lower pass rate raises the cost per pass. Highlighted bars are on the quality-vs-cost frontier.
On the hard set, one strict pass cost $0.0672 with Haiku and $0.01435 with Sonnet (calculation): about 4.7 times (calculation). A failed call still costs, so Haiku's 13 misses raise its figure. The row is unclear: the dataset holds no interval for either cost.
Hover or focus a bar for its ratio to Claude Sonnet 5.5 (the lowest value): a ratio of list-price calculations, not a measurement.
List-price cost per passing answer (calculation): data
Item
Cost per pass
n
Claude Sonnet 5.5 · Claude Code
$0.0062
15
Claude Opus 5.5 (low) · Claude Code
$0.0083
15
Claude Haiku 4.5 · Claude Code
$0.0084
15
GPT-6.1 Sol (low) · Codex CLI
$0.01
10
Claude Opus 5.5 · Claude Code
$0.01
15
Claude Opus 5.5 (high) · Claude Code
$0.01
15
GPT-6.1 Sol (high) · Codex CLI
$0.013
15
GPT-6.1 Sol (medium) · Codex CLI
$0.016
15
Claude Fable 5.1 · Claude Code
$0.021
15
List-price calculation, not a run. 9 rows. Highest Claude Fable 5.1 · Claude Code $0.021 (n 15). Lowest Claude Sonnet 5.5 · Claude Code $0.0062 (n 15).
Notesn 10–15 per row
All calls in a configuration, failures included, divided by its passes
List-price calculation, not a run. 9 rows. Highest Claude Fable 5.1 · Claude Code $0.021 (n 15). Lowest Claude Sonnet 5.5 · Claude Code $0.0062 (n 15).
Calculation, not a bill: reported tokens × list price; the calls ran on flat subscriptions. A failed call still costs, so a lower pass rate raises the cost per pass. Highlighted bars are on the speed/cost/quality frontier.
On the easy set, one pass cost $0.00836 with Haiku and $0.00624 with Sonnet (calculation): about 1.3 times (calculation). Sonnet's 3 format misses count against it.
Largest value is 260x the smallest; Log shows the small bars.
$0$2.50$5.00$7.50$10.00
Jev 1.13 (TypeSafe)$0.034n 246
Claude Haiku 4.5$8.92n 82
Claude Sonnet 5.5$5.00n 82
Hover or focus a bar for its ratio to Jev 1.13 (TypeSafe) (the highlighted row): a ratio of list-price calculations, not a measurement.
Cost per 1,000 routing decisions: data
Item
Cost
n
Jev 1.13 (TypeSafe)
$0.034
246
Claude Haiku 4.5
$8.92
82
Claude Sonnet 5.5
$5.00
82
List-price calculation, not a run. 3 rows. Highest Claude Haiku 4.5 $8.92 (n 82). Lowest Jev 1.13 (TypeSafe) $0.034 (n 246).
Notesn 82–246 per row
List price × reported tokens per decision
List-price calculation, not a run. 3 rows. Highest Claude Haiku 4.5 $8.92 (n 82). Lowest Jev 1.13 (TypeSafe) $0.034 (n 246).
List-price calculation from tokens. Jev: the 803 input tokens per decision its API reported × the published $0.042 per million input tokens (output tokens are free); the provider-reported cost of its recorded run is the same figure. The LLM routers ran through a subscription CLI, so CLI tool-schema and thinking tokens are included because the CLI reports them.
As a router, 1,000 decisions cost $8.924 with Haiku and $4.996 with Sonnet (calculation): about 1.8 times (calculation). Haiku wrote 1,419 output tokens per decision and Sonnet 107. Accuracy tied: Haiku 73/82 exact (89%, 80% to 94%), Sonnet 77/82 (94%, 87% to 97%). Study: /benchmarks/routing-jev-vs-llm.
7. When Haiku fits
No measured row puts Haiku ahead. Half the price per token is its only lead in our data (calculation). All 14 cost rows show a higher figure for Haiku (calculations). All 14 are unclear: one has a range that overlaps, and the other 13 have no interval.
Test on your own tasks. Compare cost per pass, not price per token.
Check the output format. Haiku had 5 format misses on the hard set and 9 on the JSON prompt. Sonnet had none on those two, and 3 on the easy arithmetic task.
How we measured
Task sets: Claude Code, one turn, tools off, deterministic validators. n = 24 (hard), 15 (easy), 10 per prompt. Rates carry 95% Wilson intervals.
Memory: Claude Code sessions with tools on, one small repository, 8 conditions. Routing: 82 decisions per model, one CLI call each.
Times: medians with ranges, or p50 to p95 bands. Costs: reported tokens times list price (calculations). Ratios and counts are our arithmetic.
Caveats
Settings differ. Haiku ran with the CLI's default thinking in this pair. The router rows compare Haiku with thinking on against Sonnet at low effort. CLI timings include start-up and the CLI's own prompt.
Small samples. n is 10 to 82 per cell (194 for per-question accuracy). A hard-task cell holds 3 calls. The memory cost-per-pass rows divide by as few as 2 passes.
The 14 rows are not 14 tests. The strict and lenient hard rows share 24 calls. The two handbook rows show the same counts. The five router rows overlap.
Long agent runs are not in this pair. On 33 SWE-bench Verified tasks, a public Claude 4.5 Haiku run (bash-only harness) resolved 25 (76%, 95% interval 59% to 87%). So did Crewshal's full pipeline on Sonnet 5.5. These are two systems, so no row compares them: /benchmarks/swe-bench-verified.
Crewshal records the model, the tokens and the result of every step, so you can see where a smaller model fails. Try Crewshal and compare on your own work.
How much delay and cost a router adds per decision: an in-process policy, Claude routers through a CLI, and Jev. Plus CLI start-up tax and per-task totals.
1.42 µsp95 2.33 µs, p99 3.04 µs · Deterministic routing policy: median decision time · n = 20,000
Which Claude model fits your job? Sonnet passed 24/24 hard calls (95% interval 86%–100%) at $0.01435 per pass (calculation). The top models hit a ceiling.
Sixteen AI benchmark studies on one page: SWE-bench, Claude Code vs Codex CLI, agent memory, effort, caching, routing, decision models and provider prices.
7 levers that may cut an AI coding agent's bill, sized from our data: prompt cache 3.9x, Fable/Sonnet cost per pass 6.5x, and 5 more. List-price calculations.
9 min read
Turn the numbers into shipped work.
Crewshal runs these choices for you: a persistent AI worker with memory and rules, on your Claude and Codex subscriptions.