Model Router  ·  Documentation  ·  Previous: Built on the docs  ·  Next: Testing

# Benchmarks Cost and quality of Model Router against Claude Code without it. 300 runs, $81.66 at list price, on 2026-11-25. The Model Router runs loaded version 0.2.0 at tag `v0.2.0` (`plugin_hash` `681fdbd5003be897`). Claim "cheaper" only against a baseline the router has a WIN against, and link its raw data. 6 of 18 rows below are saturated (2 of 2 `all tasks` rows): on their tasks the cheapest forced baseline, `haiku-high` (every subagent on Haiku), wasn't shown to solve fewer runs than Claude Code's defaults (`defaults`), so an equal pass rate there says nothing about quality. ## Results: session model `claude-fable-5-2` Every run here had `claude-fable-5-2` as its session model; router: `plugin`. | Task class | plugin | defaults | haiku-high | Rank | Status | | :- | :- | :- | :- | -: | :- | | lookup | 5 of 5 solved (100%; 48% to 100%); $0.3047 per solved ($0.2925 to $0.3155) | 5 of 5 solved (100%; 48% to 100%); $0.5984 per solved ($0.5854 to $0.6111) | 5 of 5 solved (100%; 48% to 100%); $0.2965 per solved ($0.2890 to $0.3040) | 2 | no difference shown | | implementation | 5 of 5 solved (100%; 48% to 100%); $0.2769 per solved ($0.2579 to $0.2985) | 5 of 5 solved (100%; 48% to 100%); $1.0763 per solved ($1.0092 to $1.1442) | 5 of 5 solved (100%; 48% to 100%); $0.2380 per solved ($0.2241 to $0.2514) | 2 | no difference shown | | root-cause | 4 of 5 solved (80%; 28% to 99%); $0.4559 per solved ($0.3289 to $0.7143) | 3 of 5 solved (60%; 15% to 95%); $1.6817 per solved ($0.8298 to $5.9411) | 5 of 5 solved (100%; 48% to 100%); $0.4069 per solved ($0.3431 to $0.4707) | 2 | no difference shown | | design | 5 of 5 solved (100%; 48% to 100%); $0.2657 per solved ($0.2537 to $0.2774) | 5 of 5 solved (100%; 48% to 100%); $0.4029 per solved ($0.3786 to $0.4267) | 5 of 5 solved (100%; 48% to 100%); $0.2246 per solved ($0.1946 to $0.2789) | 2 | no difference shown | | all tasks | 19 of 20 solved (95%; 75% to 100%); $0.3190 per solved ($0.2847 to $0.3668) | 18 of 20 solved (90%; 68% to 99%); $0.8574 per solved ($0.6577 to $1.1513) | 20 of 20 solved (100%; 83% to 100%); $0.2915 per solved ($0.2560 to $0.3296) | 2 | no difference shown | - lookup: no difference shown against `defaults` (cost per solved task -$0.3106 to -$0.2751, pass rate -29 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task -$0.0059 to +$0.0217, pass rate -43 to +29 points (95% intervals of the router's minus the baseline's)). - implementation: no difference shown against `defaults` (cost per solved task -$0.8666 to -$0.7360, pass rate -43 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0152 to +$0.0645, pass rate -43 to +29 points (95% intervals of the router's minus the baseline's)). - root-cause: no difference shown against `defaults` (cost per solved task -$5.5136 to -$0.3519, pass rate -29 to +57 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task -$0.0911 to +$0.3130, pass rate -57 to +29 points (95% intervals of the router's minus the baseline's)). - design: no difference shown against `defaults` (cost per solved task -$0.1657 to -$0.1109, pass rate -43 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task -$0.0137 to +$0.0770, pass rate -43 to +29 points (95% intervals of the router's minus the baseline's)). - all tasks: no difference shown against `defaults` (cost per solved task -$1.0621 to -$0.2097, pass rate -18 to +25 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task -$0.0096 to +$0.0745, pass rate -25 to +14 points (95% intervals of the router's minus the baseline's)). ### Do the tasks tell models apart - lookup: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - implementation: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - root-cause: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - design: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - all tasks: saturated, `haiku-high` solved 20 of 20 and `defaults` 18 of 20 (exact one-sided p = 1.000), so `haiku-high` wasn't shown to solve fewer and these tasks can't tell models apart. Tasks that split `defaults` from `haiku-high`: none. ### Run metrics | Task class | plugin | defaults | haiku-high | | :- | :- | :- | :- | | lookup | p50 40 s, p90 44 s, cache 89%, Bash denied in 0 of 5, model named on 15 of 15 Agent calls and effort on 15, accuracy by level n/a, escalated 0 of 15 spawns | p50 43 s, p90 44 s, cache 85%, Bash denied in 0 of 5, model named on 0 of 15 Agent calls and effort on 0, not routed | p50 52 s, p90 72 s, cache 84%, Bash denied in 0 of 5, model named on 0 of 15 Agent calls and effort on 0, not routed | | implementation | p50 154 s, p90 210 s, cache 88%, Bash denied in 1 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: standard 5/5, escalated 0 of 5 spawns | p50 160 s, p90 175 s, cache 75%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 153 s, p90 165 s, cache 87%, Bash denied in 1 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | root-cause | p50 324 s, p90 900 s, cache 89%, Bash denied in 0 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: standard 4/5, escalated 0 of 5 spawns | p50 607 s, p90 900 s, cache 78%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 483 s, p90 659 s, cache 92%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | design | p50 44 s, p90 50 s, cache 74%, Bash denied in 0 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: complex 5/5, escalated 0 of 5 spawns | p50 46 s, p90 51 s, cache 79%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 76 s, p90 88 s, cache 75%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | ## Results: session model `claude-opus-5-5` Every run here had `claude-opus-5-5` as its session model; router: `plugin`. | Task class | plugin | defaults | haiku-high | Rank | Status | | :- | :- | :- | :- | -: | :- | | lookup | 5 of 5 solved (100%; 48% to 100%); $0.1802 per solved ($0.1549 to $0.2136) | 5 of 5 solved (100%; 48% to 100%); $0.4588 per solved ($0.4465 to $0.4710) | 5 of 5 solved (100%; 48% to 100%); $0.1458 per solved ($0.1411 to $0.1506) | 2 | no difference shown | | implementation | 10 of 10 solved (100%; 69% to 100%); $0.1241 per solved ($0.1191 to $0.1297) | 10 of 10 solved (100%; 69% to 100%); $0.4344 per solved ($0.3750 to $0.4958) | 9 of 10 solved (90%; 55% to 100%); $0.1444 per solved ($0.1216 to $0.1857) | n/a | no verdict | | bugfix | 5 of 5 solved (100%; 48% to 100%); $0.1336 per solved ($0.1295 to $0.1382) | 5 of 5 solved (100%; 48% to 100%); $0.2874 per solved ($0.2695 to $0.3145) | 5 of 5 solved (100%; 48% to 100%); $0.1207 per solved ($0.1153 to $0.1252) | 2 | no difference shown | | cross-module | 10 of 10 solved (100%; 69% to 100%); $0.2052 per solved ($0.1725 to $0.2351) | 10 of 10 solved (100%; 69% to 100%); $0.4799 per solved ($0.3881 to $0.5704) | 10 of 10 solved (100%; 69% to 100%); $0.1516 per solved ($0.1363 to $0.1646) | 2 | no difference shown | | security-review | 5 of 5 solved (100%; 48% to 100%); $0.5400 per solved ($0.4287 to $0.6468) | 5 of 5 solved (100%; 48% to 100%); $0.8279 per solved ($0.7358 to $0.9401) | 5 of 5 solved (100%; 48% to 100%); $0.3330 per solved ($0.2267 to $0.4409) | 2 | no difference shown | | root-cause | 10 of 10 solved (100%; 69% to 100%); $0.1597 per solved ($0.1360 to $0.1843) | 10 of 10 solved (100%; 69% to 100%); $0.3755 per solved ($0.3355 to $0.4162) | 9 of 10 solved (90%; 55% to 100%); $0.1448 per solved ($0.1205 to $0.1858) | 2 | no difference shown | | design | 10 of 10 solved (100%; 69% to 100%); $0.1580 per solved ($0.1523 to $0.1636) | 10 of 10 solved (100%; 69% to 100%); $0.2023 per solved ($0.1890 to $0.2191) | 10 of 10 solved (100%; 69% to 100%); $0.1033 per solved ($0.1001 to $0.1067) | 2 | no difference shown | | research | 5 of 5 solved (100%; 48% to 100%); $0.1725 per solved ($0.1652 to $0.1798) | 5 of 5 solved (100%; 48% to 100%); $0.2049 per solved ($0.1998 to $0.2100) | 5 of 5 solved (100%; 48% to 100%); $0.0893 per solved ($0.0870 to $0.0911) | 2 | no difference shown | | document | 5 of 5 solved (100%; 48% to 100%); $0.1792 per solved ($0.1678 to $0.1865) | 5 of 5 solved (100%; 48% to 100%); $0.2678 per solved ($0.2620 to $0.2735) | 5 of 5 solved (100%; 48% to 100%); $0.1174 per solved ($0.1041 to $0.1421) | 2 | no difference shown | | analysis | 5 of 5 solved (100%; 48% to 100%); $0.1093 per solved ($0.1044 to $0.1141) | 5 of 5 solved (100%; 48% to 100%); $0.2686 per solved ($0.2556 to $0.2773) | 5 of 5 solved (100%; 48% to 100%); $0.1017 per solved ($0.0994 to $0.1041) | 2 | no difference shown | | operations | 5 of 5 solved (100%; 48% to 100%); $0.2021 per solved ($0.1915 to $0.2175) | 5 of 5 solved (100%; 48% to 100%); $0.2763 per solved ($0.2619 to $0.2950) | 5 of 5 solved (100%; 48% to 100%); $0.1157 per solved ($0.1121 to $0.1198) | 2 | no difference shown | | redo | 5 of 5 solved (100%; 48% to 100%); $0.1182 per solved ($0.1053 to $0.1268) | 5 of 5 solved (100%; 48% to 100%); $0.1978 per solved ($0.1954 to $0.2007) | 5 of 5 solved (100%; 48% to 100%); $0.1104 per solved ($0.0913 to $0.1300) | 2 | no difference shown | | all tasks | 80 of 80 solved (100%; 95% to 100%); $0.1831 per solved ($0.1615 to $0.2085) | 80 of 80 solved (100%; 95% to 100%); $0.3609 per solved ($0.3260 to $0.4023) | 78 of 80 solved (98%; 91% to 100%); $0.1387 per solved ($0.1251 to $0.1555) | 2 | no difference shown | - lookup: no difference shown against `defaults` (cost per solved task -$0.3069 to -$0.2426, pass rate -43 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0081 to +$0.0690, pass rate -43 to +43 points (95% intervals of the router's minus the baseline's)). - implementation: no verdict against `defaults` (Bash denied in 3 of 10 `plugin` runs, more than a quarter); no verdict against `haiku-high` (Bash denied in 3 of 10 `plugin` runs, more than a quarter; Bash denied in 3 of 10 `haiku-high` runs, more than a quarter). - bugfix: no difference shown against `defaults` (cost per solved task -$0.1818 to -$0.1342, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0062 to +$0.0199, pass rate -43 to +29 points (95% intervals of the router's minus the baseline's)). - cross-module: no difference shown against `defaults` (cost per solved task -$0.3891 to -$0.1698, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0127 to +$0.0874, pass rate -21 to +21 points (95% intervals of the router's minus the baseline's)). - security-review: no difference shown against `defaults` (cost per solved task -$0.4217 to -$0.1473, pass rate -43 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0573 to +$0.3568, pass rate -29 to +43 points (95% intervals of the router's minus the baseline's)). - root-cause: no difference shown against `defaults` (cost per solved task -$0.3146 to -$0.1076, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task -$0.0325 to +$0.0317, pass rate -21 to +36 points (95% intervals of the router's minus the baseline's)). - design: no difference shown against `defaults` (cost per solved task -$0.0627 to -$0.0309, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0428 to +$0.0662, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)). - research: no difference shown against `defaults` (cost per solved task -$0.0412 to -$0.0236, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0753 to +$0.0912, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)). - document: no difference shown against `defaults` (cost per solved task -$0.1018 to -$0.0786, pass rate -43 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0358 to +$0.0808, pass rate -43 to +29 points (95% intervals of the router's minus the baseline's)). - analysis: no difference shown against `defaults` (cost per solved task -$0.1697 to -$0.1461, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0022 to +$0.0133, pass rate -43 to +29 points (95% intervals of the router's minus the baseline's)). - operations: no difference shown against `defaults` (cost per solved task -$0.0957 to -$0.0533, pass rate -29 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0750 to +$0.1022, pass rate -29 to +29 points (95% intervals of the router's minus the baseline's)). - redo: no difference shown against `defaults` (cost per solved task -$0.0932 to -$0.0700, pass rate -43 to +43 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task -$0.0143 to +$0.0305, pass rate -43 to +29 points (95% intervals of the router's minus the baseline's)). - all tasks: WIN against `defaults` (cheaper per solved task beyond noise, at an equal or higher share of runs solved, its pass rate shown no more than 10 points behind; cost per solved task -$0.2362 to -$0.1228, pass rate -9 to +9 points (95% intervals of the router's minus the baseline's)); no difference shown against `haiku-high` (cost per solved task +$0.0199 to +$0.0789, pass rate -8 to +12 points (95% intervals of the router's minus the baseline's)). ### Do the tasks tell models apart - lookup: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - implementation: saturated, `haiku-high` solved 9 of 10 and `defaults` 10 of 10 (exact one-sided p = 0.500), so `haiku-high` wasn't shown to solve fewer and these tasks can't tell models apart. Tasks that split `defaults` from `haiku-high`: none. - bugfix: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - cross-module: saturated, `haiku-high` solved 10 of 10 and `defaults` 10 of 10 (exact one-sided p = 1.000), so `haiku-high` wasn't shown to solve fewer and these tasks can't tell models apart. Tasks that split `defaults` from `haiku-high`: none. - security-review: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - root-cause: saturated, `haiku-high` solved 9 of 10 and `defaults` 10 of 10 (exact one-sided p = 0.500), so `haiku-high` wasn't shown to solve fewer and these tasks can't tell models apart. Tasks that split `defaults` from `haiku-high`: none. - design: saturated, `haiku-high` solved 10 of 10 and `defaults` 10 of 10 (exact one-sided p = 1.000), so `haiku-high` wasn't shown to solve fewer and these tasks can't tell models apart. Tasks that split `defaults` from `haiku-high`: none. - research: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - document: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - analysis: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - operations: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - redo: not known, too few runs (10 of each needed) to say whether the tasks tell models apart. Tasks that split `defaults` from `haiku-high`: none. - all tasks: saturated, `haiku-high` solved 78 of 80 and `defaults` 80 of 80 (exact one-sided p = 0.248), so `haiku-high` wasn't shown to solve fewer and these tasks can't tell models apart. Tasks that split `defaults` from `haiku-high`: none. ### Run metrics | Task class | plugin | defaults | haiku-high | | :- | :- | :- | :- | | lookup | p50 39 s, p90 41 s, cache 86%, Bash denied in 0 of 5, model named on 15 of 15 Agent calls and effort on 15, accuracy by level n/a, escalated 0 of 15 spawns | p50 36 s, p90 37 s, cache 83%, Bash denied in 0 of 5, model named on 0 of 15 Agent calls and effort on 0, not routed | p50 35 s, p90 40 s, cache 83%, Bash denied in 0 of 5, model named on 0 of 15 Agent calls and effort on 0, not routed | | implementation | p50 133 s, p90 299 s, cache 90%, Bash denied in 3 of 10, model named on 10 of 10 Agent calls and effort on 10, accuracy by level: standard 10/10, escalated 0 of 10 spawns | p50 87 s, p90 165 s, cache 85%, Bash denied in 1 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | p50 149 s, p90 330 s, cache 90%, Bash denied in 3 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | | bugfix | p50 166 s, p90 223 s, cache 89%, Bash denied in 0 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: standard 5/5, escalated 0 of 5 spawns | p50 78 s, p90 112 s, cache 84%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 160 s, p90 257 s, cache 87%, Bash denied in 1 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | cross-module | p50 40 s, p90 179 s, cache 85%, Bash denied in 0 of 10, model named on 10 of 10 Agent calls and effort on 10, accuracy by level n/a, escalated 0 of 25 spawns | p50 38 s, p90 161 s, cache 81%, Bash denied in 0 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | p50 42 s, p90 237 s, cache 86%, Bash denied in 0 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | | security-review | p50 242 s, p90 433 s, cache 90%, Bash denied in 0 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: standard 1/1, complex 4/4, escalated 0 of 5 spawns | p50 209 s, p90 277 s, cache 90%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 435 s, p90 816 s, cache 93%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | root-cause | p50 218 s, p90 600 s, cache 91%, Bash denied in 2 of 10, model named on 10 of 10 Agent calls and effort on 10, accuracy by level: standard 10/10, escalated 0 of 10 spawns | p50 89 s, p90 194 s, cache 85%, Bash denied in 0 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | p50 203 s, p90 851 s, cache 89%, Bash denied in 2 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | | design | p50 38 s, p90 46 s, cache 77%, Bash denied in 0 of 10, model named on 10 of 10 Agent calls and effort on 10, accuracy by level: complex 10/10, escalated 0 of 10 spawns | p50 43 s, p90 44 s, cache 79%, Bash denied in 0 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | p50 62 s, p90 77 s, cache 77%, Bash denied in 0 of 10, model named on 0 of 10 Agent calls and effort on 0, not routed | | research | p50 36 s, p90 43 s, cache 76%, Bash denied in 0 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: complex 5/5, escalated 0 of 5 spawns | p50 34 s, p90 38 s, cache 77%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 41 s, p90 44 s, cache 80%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | document | p50 36 s, p90 66 s, cache 79%, Bash denied in 0 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: standard 2/2, complex 3/3, escalated 0 of 5 spawns | p50 42 s, p90 46 s, cache 77%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 50 s, p90 58 s, cache 73%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | analysis | p50 81 s, p90 92 s, cache 82%, Bash denied in 0 of 5, model named on 5 of 5 Agent calls and effort on 5, accuracy by level: standard 5/5, escalated 0 of 5 spawns | p50 57 s, p90 59 s, cache 85%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 70 s, p90 95 s, cache 87%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | operations | p50 50 s, p90 93 s, cache 79%, Bash denied in 0 of 5, model named on 6 of 6 Agent calls and effort on 6, accuracy by level: standard 1/1, complex 4/4, escalated 0 of 6 spawns | p50 55 s, p90 70 s, cache 75%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | p50 68 s, p90 77 s, cache 76%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, not routed | | redo | p50 63 s, p90 109 s, cache 85%, Bash denied in 0 of 5, model named on 9 of 9 Agent calls and effort on 9, redo 4 of 5 runs, accuracy by level n/a, escalated 4 of 9 spawns | p50 32 s, p90 32 s, cache 84%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, redo 0 of 5 runs, not routed | p50 47 s, p90 52 s, cache 88%, Bash denied in 0 of 5, model named on 0 of 5 Agent calls and effort on 0, redo 0 of 5 runs, not routed | ## How to read it - A task counts as solved only when its pass check passes. A wrong answer is a failure, the router's too. - A run the harness stopped, by the timeout or by the budget cap (`--max-budget-usd`), counts as failed whatever its files held, the router's too; its raw line's `stopped_by` says which. There is no verdict against a baseline when its stopped runs decide it: counted as solved, they would give the router another verdict. The router's own stopped runs count against it and never withhold a verdict. - Cost per solved task is a configuration's total spend on a task class divided by the runs it solved, so failed runs count against it. - The cells show each configuration's own figures: exact 95% binomial (Clopper-Pearson) pass-rate intervals, and 95% percentile bootstrap intervals of cost per solved task over runs (2,000 resamples, each cell from a generator seeded by its session model, class and configuration). No verdict rests on them. - Verdicts, one per baseline, by a rule fixed before any judged run. The router's runs and the baseline's are paired by task. Each of 2,000 resamples draws the row's tasks with replacement, then each drawn task's runs with replacement, so the interval reflects how few tasks there are as well as how few runs. For the pass rate, each task's runs get one solved and one failed run added, so a cell where every run passed still has spread. The non-inferiority margin is 10 points of pass rate. WIN: the 95% interval of the router's cost per solved task minus the baseline's is below zero, the lower bound of its pass rate minus the baseline's is above minus 10 points, and the router solved at least the baseline's share of runs (per-task pass rates averaged), so a saving counts only at an equal or higher pass rate. LOSE: the router's pass rate is behind beyond noise (the upper bound of its pass rate minus the baseline's is below zero, or an exact one-sided test at 5% of its solved runs against the baseline's, every run of the row pooled, puts it behind, which catches a gap the added runs shrink), or its cost per solved task is above beyond noise while the upper bound of its pass rate minus the baseline's is below plus 10 points, the mirror of the WIN rule. A cost bound that is n/a decides nothing: it comes from resamples in which one side solved none of the runs drawn, so it has no cost per solved task, and a row where a side solved nothing, or nearly nothing, gets its verdict from the pass rate alone, which can show a LOSE and never a WIN. Anything else is "no difference shown", which is not parity. There is no verdict when the two didn't run each task the same number of times in each batch, since each side's cost is pooled over its runs and pass rates drift between batches, when more than 25% of either's runs had a Bash call denied, when the router's runs loaded more than one plugin build (`plugin_hash`), when the two ran a task at different budgets (`budget_usd`) or on different Claude Code versions (`claude_version`), or when any of their runs ran from code with uncommitted changes (`bench_dirty`). A row is LOSE when any baseline beats the router, has no verdict when any comparison has none, is WIN only when it wins against every baseline, and is otherwise "no difference shown". - Each table ends with an `all tasks` row, judged the same way over every task in the table: the tasks of all its classes are paired and resampled together. A class with one task can't show the margin, so a plan with a few tasks per class is judged on its `all tasks` row. - A row, the `all tasks` row too, is saturated when an exact one-sided test (5%, at least 10 runs of each) doesn't show `haiku-high` (every subagent on Haiku) solving fewer runs than `defaults` (subagents on the session model). Then an equal pass rate says nothing about quality: the tasks can't tell a small model from a strong one. Runs on an earlier revision of a task are left out of every table. A run on a task's current revision that a check other than today's graded stops the page from being built, since the check changed without a raise of the revision. - Rank is the router's place among the baselines by cost per solved task, 1 being cheapest, and n/a on a row with no verdict; a configuration that solved none of the row's runs counts as the dearest. A router variant (another configuration that loads the plugin) has its own column but is never a baseline. - Run metrics, per class and configuration: p50 and p90 are nearest-rank percentiles of each run's wall time (`wall_ms`, the runner's clock around the `claude` process). Cache is cache-read tokens over all input tokens, which are input plus cache reads plus cache writes (https://platform.claude.com/docs/en/build-with-claude/prompt-caching.md), summed over every model that ran. Bash denied counts the runs whose result lists a denied Bash call. Model named counts the Agent calls in the runs' streams that set their own `model`, and effort the ones that set `effort` (`agent_calls`, which also holds the model each call's first message ran on): Model Router keeps what a call names, and a call that names no model stays on its parent's. Redo, for a task with the redo shape, counts the runs that started one agent type twice or more (`agents_started`). It is an estimate: a second agent of that type that only ran the check counts too, and work sent back as a message to the same subagent doesn't. For a router configuration, accuracy by level is the pass rate of its single-agent runs grouped by the level the router gave the run's first subagent. Escalated counts the spawns whose ledger row names the level of a run they redo (`escalated_from`, unless `on_record` is false, since then no run at that level is on record), over the spawns whose row says either way. Both come from the run's `routed` line, and n/a means no run in the cell has it. ## Setup - Claude Code: 2.1.332 (Claude Code). Session models: claude-fable-5-2, claude-opus-5-5 (`--model`), one results table each. Inside a table every configuration ran on that session model. - How the runs were paid for, by session model (`auth`, the `apiKeySource` of the run's `system/init` event): `claude-fable-5-2`: an API key (`ANTHROPIC_API_KEY`) in 60 runs; `claude-opus-5-5`: an API key (`ANTHROPIC_API_KEY`) in 240 runs. - Configurations run: `defaults` (No plugin: subagents inherit the session model at its default effort); `haiku-high` (No plugin: every subagent on haiku at high effort (CLAUDE_CODE_SUBAGENT_MODEL=haiku, CLAUDE_CODE_SUBAGENT_MODEL_FORCE=1, CLAUDE_CODE_SUBAGENT_EFFORT=high)); `plugin` (Model Router as shipped, with its default options, loaded with --plugin-dir from a copy frozen at the start of the batch). - Models that ran, with Claude Code's list-price cost across all runs: `claude-fable-5-2` $22.0037 over 57 runs; `claude-haiku-5-5` $4.0984 over 167 runs; `claude-opus-5-5` $48.5924 over 244 runs; `claude-sonnet-5-5` $4.3309 over 37 runs. Each run's raw line also carries the list prices of those models in `bench/prices.json`. - Agents started, by configuration, counted from the Agent calls in the run's stream (`agents_started`): `defaults` Explore x30, general-purpose x90; `haiku-high` Explore x30, general-purpose x90; `plugin` claude x10, general-purpose x51, model-router:implementer x34, model-router:scout x30. - Budget cap of a run (`--budget`, recorded as `budget_usd`): $2.00 in 300 runs. - Runs the harness stopped, by configuration: `defaults` 2 of 100 (2 by the timeout); `haiku-high` 1 of 100 (1 by the timeout); `plugin` 1 of 100 (1 by the timeout). They count as failed whatever their files held, so a budget or timeout set too low shows here (`stopped_by`). - Runs with a Bash denial, by configuration: `defaults` 1 of 100; `haiku-high` 7 of 100; `plugin` 6 of 100. - Input tokens read from the prompt cache, by configuration (`cache_read_tokens` over it plus `cache_write_tokens` and `fresh_input_tokens`, the whole run's, subagents and workflow agents included): `defaults` 83% (98 of 100 runs); `haiku-high` 89% (99 of 100 runs); `plugin` 88% (99 of 100 runs). It counts what a run reads back, its own reuse and any prefix an earlier run left in the cache: each run has its own work dir and config folder, but the account's prompt cache is warm across runs, so a run's cost depends on the runs before it. - A verdict compares the router only with a baseline that ran each task the same number of times in each batch, since pass rates and the prompt cache drift between batches. Batches, by configuration: `defaults` judged-fable (20), judged-opus (80); `haiku-high` judged-fable (20), judged-opus (80); `plugin` judged-fable (20), judged-opus (80). - Batches that ran at the same time shared the account, its prompt cache and its rate limits. Runs that overlapped a run of another batch (from `started_at` for `wall_ms`), by batch: judged-fable (18), judged-opus (7). - 4 run(s) ($2.63) have no result and are priced from their saved transcripts, which are not published (git ignores `transcripts/`), so their cost can't be rechecked from the results files. - `defaults` on `claude-fable-5-2`: not every agent ran on the session model. 13% of that configuration's cost ran on `claude-opus-5-5` (`Explore`), so it is not an all-session-model baseline there. - Shape: a single agent. The prompt hands each task to one subagent with the Agent tool and relays its answer, so the subagent is what each configuration changes. Every configuration gets that prompt, so `defaults` is told to delegate too. A task with a `shape` in its task.json gets another prompt (`run.SHAPES`): `redo` runs the check the brief names and sends the work back, `fanout` gives each question its own subagent, all started at once, and `plan-build` hands out the steps in order, and `workflow` has the session write a script of stages and run it with the Workflow tool, with `Workflow` and `Read(./**)` added to `--allowedTools` for it. Each row records its `shape`. An agent-team shape can't run: a headless or Agent SDK session never starts teammates (https://code.claude.com/docs/en/agent-teams.md). - Each run starts in a fresh copy of the task's files, outside any repository, with a Claude Code config folder of its own inside that copy (`CLAUDE_CONFIG_DIR`, with `CLAUDE_CODE_PROJECT_DIR_NAME=run`; https://code.claude.com/docs/en/env-vars), so `~/.claude.json`, user settings, plugins and transcripts never come from the machine's own. It runs with `--output-format stream-json --verbose`, `--setting-sources project`, `--strict-mcp-config`, `--permission-mode dontAsk`, `--allowedTools` `Bash`, `Edit(./**)` (so the file tools read and edit only the work dir), and one `--settings` JSON that runs Bash in the OS sandbox with `sandbox.enabled`, `sandbox.autoAllowBashIfSandboxed`, `sandbox.allowUnsandboxedCommands: false` and `sandbox.failIfUnavailable`, plus `sandbox.credentials` deny entries for credential folders and for every secret variable in the environment, and `sandbox.filesystem.denyRead` entries for every place known to hold the reference answers or graded runs: this checkout, the main checkout and its git data, every worktree, Claude Code's shared temp folder, the results folder, `--keep` and the folder that holds every run's scratch copy, with `allowRead` for the run's own (https://code.claude.com/docs/en/sandboxing). `CLAUDE_CODE_TMPDIR` is the run's scratch copy, so its sandboxed commands get a temp folder of their own. `permissions.deny` rules `Read(///**)` and `Edit(///**)` keep the file tools out of the same places but the folder of scratch copies, which holds the run's own, since no rule re-opens a denied path (https://code.claude.com/docs/en/permissions). `CLAUDE_CODE_DISABLE_CLAUDE_MDS=1` and `CLAUDE_CODE_DISABLE_AUTO_MEMORY=1` are set. Every inherited `CLAUDE_CODE_*`, `CLAUDECODE` and `CLAUDE_PLUGIN_*` variable is dropped except the provider switches (`CLAUDE_CODE_USE_*`) and `CLAUDE_CODE_OAUTH_TOKEN`, so `CLAUDE_CODE_SUBAGENT_MODEL`, `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` and the effort variables are set only by a configuration; so are `PWD` and `OLDPWD`. Unless a provider switch is on, `ANTHROPIC_MODEL`, `ANTHROPIC_DEFAULT_*`, `ANTHROPIC_SMALL_FAST_MODEL`, `ANTHROPIC_BETAS`, `ANTHROPIC_CUSTOM_HEADERS`, `ANTHROPIC_CUSTOM_MODEL_OPTION*`, `DISABLE_PROMPT_CACHING*` and `MAX_THINKING_TOKENS` are dropped as well, so a model pin, beta, header, caching or thinking setting in the shell steers no run. `ANTHROPIC_BASE_URL` is kept, so a run through a gateway still goes to it. Managed settings still load from the machine. Each raw line lists the managed settings files and the macOS plist it found in `managed_settings`, but server-managed settings, which claude.ai sends to an eligible login, and the Windows registry policy can't be seen that way, so an empty list doesn't prove no policy applied (https://code.claude.com/docs/en/managed-settings.md). Only a router configuration passes `--plugin-dir`, from a copy of `plugins/model-router` made once when the batch starts. Each raw line records the hash of the plugin it loaded in `plugin_hash`, null with no plugin. - The router keeps state (model health and its ledger) in its plugin data folder, inside the run's own config folder, so every router run starts from an empty one and its data goes when the scratch copy does. For a router run the raw line records the count of ledger rows with event `gate` in `gate_events`. - Sessions are saved in the run's own config folder, as Claude Code saves them by default, so the router's Stop check can read the transcripts and see a test run, the subagents' included. They go with the scratch copy. A run that failed or had a denied tool call keeps them in `transcripts/` beside its results file, its raw line naming the folder in `transcripts`. - Cost is Claude Code's `total_cost_usd`, which includes subagents and is a client-side estimate at list price, not a bill (https://code.claude.com/docs/en/agent-sdk/cost-tracking.md). A run with no result (a timeout, an interrupt, SIGTERM or a crash) is priced from its saved transcripts at list price, each message once, or charged the whole budget when they hold no usage or a model with no price; `cost_source` says which. Every run is capped with `--max-budget-usd`, which a run can pass by up to the cost of one response plus anything that subagents still running at that moment spend before they stop (https://code.claude.com/docs/en/agent-sdk/agent-loop.md#budget-headroom). The runner starts a run only with room for twice its cap under the total, which is a margin, not a bound. - The runner shuffles the run order with a seed each raw line records (`order_seed`), so no configuration always runs first or at one time of day. ## Task set The tables count runs of these 16 tasks: - `bugfix-statement-queries` (bugfix): balances in billing/statement.py makes the month-end run on 40,000 accounts take hours. The cause: it runs one query per account and one per invoice. Make it run at most 3 SQL statements however many rows there are, with work that grows in proportion to the data, and return exactly what it returns now. Don't change the schema or billing/rules.py, and leave no temp tables behind. - `cachefix-stale-across-services` (root-cause): Customers can't check out after some product edits; BUG.md has the report. Find the cause and fix it so that after any change, made through any service in any order, every read shows what the database holds, and the cache still serves everything no change touched without going back to the database. Keep every service's interface as it is. test_checkout.py must pass, unchanged. - `design-cache-invalidation` (design): Read SPEC.md and design how the catalog servers cache prices. Write DESIGN.json in the repository root with exactly these keys: "strategy" (one of "no_cache", "ttl_only", "event_invalidation", "write_through_from_admin"), "ttl_seconds" (a number, or null for none), "max_staleness_seconds" (the longest a changed price can still be served, a number) and "reasons" (a list of short strings). - `design-checkout-retries` (design): Read SPEC.md and design the retries for the checkout's call to the payment provider. Write DESIGN.json in the repository root with exactly these keys: "retry_at" (one of "gateway", "checkout", "payments_client", "none"), "attempts" (an integer, the total number of tries), "per_try_timeout_ms" (an integer), "backoff_ms" (an integer), "idempotency_key" (one of "none", "per_attempt", "per_checkout"), "gateway_retries" ("on" or "off") and "reasons" (a list of short strings). - `fanout-three-lookups` (lookup): Answer three questions about this repository by reading it, and don't change any files. Take the settings as the repository ships them, with no environment variables set. 1. What page size does GET /orders use when the request gives no limit? 2. Which function sends the customer an email when an order is refunded? 3. When every attempt fails with a server error, how many times in all is a webhook delivery tried before it is given up? Write the answers to ANSWERS.json as {"page_size": , "refund_email": ":", "webhook_attempts": }. - `finance-ledger-reconcile` (analysis): Reconcile the October bank statement against the general ledger by the rules in RECONCILE.md, using bank.csv and gl.csv. Write MISMATCHES.json in the repository root with exactly one key, "mismatches": a list with one object per ref that does not reconcile, each exactly {"ref": the ref, "kind": one of "missing", "duplicate", "period", "currency", "sign", "amount"}. - `impl-merge-customers` (implementation): Write the database migration in store/migrations/m0002_merge_customers.py exactly as its docstring specifies. Use the standard library only, and don't change the other files in store/. - `legal-services-agreement` (document): Halvorsen's general counsel needs the key terms of the Kestrel agreement as they stand today. Read the agreement and the related documents in this folder and write TERMS.json in the repository root with exactly these keys: "liability_cap_usd" (an integer, the general cap on each party's total liability), "termination_notice_days" (exactly {"customer": integer, "provider": integer}, the notice each party must give to terminate for convenience), "governing_law" (one of "New York", "Delaware", "California", "England and Wales"), "renewal" (exactly {"automatic": true or false, "renewal_term_months": integer, "non_renewal_notice_days": integer}) and "appliance_risk_at_site" ("customer" or "provider": who bears the risk of loss of or damage to an Appliance while it is at a Customer Site). - `migrate-ledger-v3` (implementation): Write the v2 to v3 migration in ledger/migrate_v3.py: migrate(src, accounts, dst) reads the v2 export at src and the accounts file at accounts, writes the v3 file at dst as docs/FORMAT_V3.md describes, and returns the number of records written. It will run once on the full export, which is far bigger than the sample in data/. Use the standard library only. test_migrate.py must pass, unchanged. - `mixed-plan-then-build` (cross-module): Payment requests need idempotency keys, and docs/PROPOSAL.md says what we want and gives two ways to build it. First, pick one of the two options and write the pick to DESIGN.json as {"choice": "", "reasons": ["..."]}. Then build the option you picked, with tests for it in test_idempotency.py that send requests to api.payments.handle_post, check what each one answers and charges, and pass. Keep test_payments.py passing, and use the standard library only. - `ops-inbox-triage` (operations): Triage the support inbox: give every message in inbox/ a priority and an owner by POLICY.md, using customers.csv for the customer plans. Write TRIAGE.json in the repository root: an object with one key per message id (the file name without .txt, such as "M01"), each mapping to exactly {"priority": one of "P1", "P2", "P3", "P4", "owner": one of "security", "legal", "engineering", "billing", "support", "sales", "none"}. - `redo-failing-check` (redo): We release 2.4.0 today, 2026-11-20. Write its section in CHANGELOG.md from the commits listed in commits.txt, following CONTRIBUTING.md. When the section is written, run python3 tools/check_changelog.py 2.4.0. If it reports problems, send the work back once with what it printed, then run it again. Reply with the check's last line. - `research-study-synthesis` (research): Synthesise the evidence in studies/ on whether the Brightline program improves grade 3 reading comprehension, following PROTOCOL.md; the journals' notices are in notices.md. Write SYNTHESIS.json in the repository root with exactly these keys: "supporting" (a list of the ids, such as "S01", of the included studies that support the claim), "excluded" (an object mapping the id of each excluded study to its reason, one of "retracted", "different_outcome", "different_population", "no_comparison_group") and "direction" (one of "benefit", "harm", "no_clear_effect"). - `rootcause-wallet-race` (root-cause): Payout workers lose money and sometimes hang; INCIDENT.md has the logs. The workers are separate processes that share nothing but the store in ledger/store.py. Find the cause and fix ledger/wallet.py so that credits and transfers running at the same time never lose or create money and never hang, a transfer never takes a wallet below zero, a transfer to the same wallet changes nothing, and work on different wallets never waits for other wallets. Keep the functions' signatures and the store's interface. - `security-tar-symlink-chain` (security-review): Plugin bundles from the marketplace and backups that users upload are both unpacked with archive.extract.safe_extract, and neither source is trusted. Review archive extraction for a way an archive can create, change or point to anything outside the folder it is unpacked into, and fix it so neither caller can be attacked that way. Keep what SECURITY.md says safe_extract promises, and keep normal archives, links included, unpacking as they do now. test_extract.py must pass, unchanged. - `workflow-two-stage-report` (cross-module): Find two facts about this package as its code ships them, with no environment variables set: the version it reports, and the largest upload it accepts, in megabytes. Write them to REPORT.json as {"version": "", "max_upload_mb": }, and change no other file. Defined under `bench/tasks/` with no counted run: `bugfix-median`, `bugfix-pagination`, `bugfix-split-amount`, `cross-amount-cents`, `cross-currency`, `cross-retry-setting`, `cross-tenant-cache`, `design-event-partitions`, `design-rate-limiter`, `finance-runway-forecast`, `impl-parse-duration`, `impl-semver-compare`, `impl-slugify`, `lookup-effective-timeout`, `lookup-retry-limit`, `lookup-todo-count`, `perf-nlogn-rewrite`, `research-changelog`, `research-latency`, `research-yanked-release`, `review-seeded-diff`, `rootcause-cached-rates`, `rootcause-cart`, `rootcause-ranking`, `security-admin-route`, `security-path-traversal`, `security-prefix-check`, `security-sql-injection`. Each task's files and pass check are under `bench/tasks//`. Each check fails on the files as shipped and passes on a reference answer (`tests/test_bench.py`). A check runs in the OS sandbox a run's own commands get, with no network, the credential files unreadable and writes only to its scratch folder, where one can start; each raw line's `grade.sandbox` names it, and is null where none could. ## Raw data and commands - [`bench/results/judged-fable-0.jsonl`](../bench/results/judged-fable-0.jsonl) - [`bench/results/judged-fable-1.jsonl`](../bench/results/judged-fable-1.jsonl) - [`bench/results/judged-fable-2.jsonl`](../bench/results/judged-fable-2.jsonl) - [`bench/results/judged-fable-3.jsonl`](../bench/results/judged-fable-3.jsonl) - [`bench/results/judged-fable-4.jsonl`](../bench/results/judged-fable-4.jsonl) - [`bench/results/judged-opus-0.jsonl`](../bench/results/judged-opus-0.jsonl) - [`bench/results/judged-opus-1.jsonl`](../bench/results/judged-opus-1.jsonl) - [`bench/results/judged-opus-2.jsonl`](../bench/results/judged-opus-2.jsonl) - [`bench/results/judged-opus-3.jsonl`](../bench/results/judged-opus-3.jsonl) - [`bench/results/judged-opus-4.jsonl`](../bench/results/judged-opus-4.jsonl) ```bash python3 bench/run.py --tasks --configs --runs --budget --max-total --out bench/results/.jsonl python3 bench/analyze.py bench/results/*.jsonl --out docs/BENCHMARKS.md ``` Defined in `bench/configs.json` but not run here: none. Not covered yet: a prompt cache held cold or warm on purpose, since the account's cache is warm across runs; and router overhead per spawn and per turn. ## Exploratory rounds Small rounds run to choose tasks and settings. They get no verdict: each has too few runs of a configuration for one, and a router configuration here may run the plugin from another commit. A run the harness stopped, by the timeout or the budget cap, counts as failed whatever its files held. As in the judged tables, runs on an earlier revision of a task, runs whose pass check broke and runs the bench stopped before their check finished are left out. ### `calibration-1`: 28 runs on 2026-11-25, $5.27, session on `claude-opus-5-5` Eleven tasks under the two baselines, to look for tasks that tell a strong subagent from a cheap one. None did: both solved every run. The table counts seven of them, since `bugfix-statement-queries`, `impl-merge-customers`, `ops-inbox-triage` and `rootcause-wallet-race` have changed since it ran. Left out of the table: 16 run(s) ($3.94) on an earlier revision of `bugfix-statement-queries`, `impl-merge-customers`, `ops-inbox-triage`, `rootcause-wallet-race`. | Configuration | Runs | Solved | Stopped | Cost per run | Plugin commit | | :- | -: | -: | :- | -: | :- | | `defaults` | 14 | 14 | none | $0.249 | | | `haiku-high` | 14 | 14 | none | $0.127 | | ### `calibration-2`: 20 runs on 2026-11-25, $7.10, session on `claude-opus-5-5` The four hard coding tasks and the redo, fan-out and plan-then-build tasks under the same two baselines. The table counts five of them: the runs of `mixed-plan-then-build` and `perf-nlogn-rewrite` were graded by an earlier check of their task, so they are set apart. Each baseline solved all 10 counted runs. Left out of the table: 8 run(s) ($2.77) on an earlier revision of `mixed-plan-then-build`, `perf-nlogn-rewrite`. | Configuration | Runs | Solved | Stopped | Cost per run | Plugin commit | | :- | -: | -: | :- | -: | :- | | `defaults` | 10 | 10 | none | $0.519 | | | `haiku-high` | 10 | 10 | none | $0.191 | | ### `release-1`: 66 runs on 2026-11-25, $15.78, session on `opus` Sixteen tasks under the plugin and the two baselines, with the ladder and the table the plugin ships. The table counts the eleven that haven't changed since it ran. It stays exploratory for two reasons: the plugin has changed since the commit it ran, and each run had a $0.50 cap, which stopped four of the runs counted before they finished. Left out of the table: 30 run(s) ($6.83) on an earlier revision of `bugfix-statement-queries`, `design-cache-invalidation`, `impl-merge-customers`, `mixed-plan-then-build`, `rootcause-wallet-race`. | Configuration | Runs | Solved | Stopped | Cost per run | Plugin commit | | :- | -: | -: | :- | -: | :- | | `defaults` | 22 | 19 | 3 by the budget cap | $0.347 | | | `plugin` | 22 | 21 | 1 by the budget cap | $0.225 | `99467a2` | | `haiku-high` | 22 | 22 | none | $0.146 | | ## Decision rounds Four small rounds ran on 2026-12-01. The first three each tested one default, with a rule written before it ran. The rule of the first, `quick-tasks`, pointed to `off`, and the default stays `strict` by the owner's decision. The other two changed a shipped default. They ran at commit `fc7e46e3` on Claude Code 2.1.333: 104 of 104 planned runs, none stopped by a budget or a time limit. The fourth, `default-check`, is no decision round: it measures the plugin with `delegation` off against a stock session, with 20 runs at commit `f21fba74` on the same Claude Code version. It is no check of the default. A login token paid for all four (`auth` is `none`), and cost is Claude Code's list-price estimate. `bench/round.py` reads each round and compares every arm with one control, with a verdict on pass rate (exact one-sided Fisher test at 5%) and one on cost (cost per solved task, and a one-sided Mann-Whitney test at 5% on per-run cost). The rule of each decision round names its control. Each arm has 6 to 10 runs, so a round shows only a large gap, and none of these lines is a judged verdict. This page claims no saving for the router from them. The raw rows of these rounds are in `bench/results/rounds/` (`r4.jsonl`, `r2.jsonl`, `r3.jsonl` and `v1.jsonl`), with their transcript paths removed, and the tables below are `round.py`'s output as it printed. The rows name each arm as the commit that ran them did. Where today's name differs, the round says so. Each round ends with the commands to run it again under today's names, and the command that reads its published rows under the names they carry. Those arms load the plugin as it is, with `delegation` at `strict`, the default, as the first three rounds ran it. The one arm that sets `delegation` to `off` is `plugin-off-plain`. ### `quick-tasks`: 50 runs on 2026-12-01, $10.00, session on `claude-opus-5-5` On quick tasks, the stock arm beat the plugin's strict arm: both solved 10 of 10, and stock cost 34.1% less per solved task. The rule set before the run pointed to `off`: a stock session, the arm with no delegation, cost less per solved task with the same number solved. The round had no arm with the plugin at `off`. The default stays `strict` by the owner's decision. The round measured cost on quick tasks, and it could see neither correctness, since every arm solved 10 of 10, nor a long coordinating session, which is what `strict` is for. The question: does handing quick work to agents pay, when the session could do it in a few calls? Five tasks (`bugfix-median`, `bugfix-pagination`, `impl-merge-customers`, `research-latency`, `fanout-three-lookups`), 2 runs each, so 10 runs an arm, on an Opus session. Every arm but `defaults` got the brief as it is, with no instruction to delegate. - `plugin-plain`: the plugin under `delegation: strict`, the default. This is the control. - `plugin-reworded-plain`: the same, with the spawn advice in the delegation note reworded to hand over reading, long checks and independent parts, and to do a quick change in the session. - `defaults-plain`: stock Claude Code, told nothing about delegating. - `defaults-plain-low`: stock at low effort. For information only; no rule reads it. - `defaults`: stock, told to delegate. The rule: change to a candidate if its solved count is at least the control's and its cost is shown lower; keep the control if no candidate is shown to cost less. ``` arm runs solved stopped cost per solved median wall defaults 10 10 0 $3.1144 $0.3114 31s defaults-plain 10 10 0 $1.4687 $0.1469 14s defaults-plain-low 10 10 0 $1.2787 $0.1279 14s plugin-plain 10 10 0 $2.2299 $0.2230 44s plugin-reworded-plain 10 10 0 $1.9033 $0.1903 20s defaults against plugin-plain pass rate: no difference shown - solved 10 of 10 against 10 of 10, one-sided Fisher p 1.000 for higher, 1.000 for lower; by task, higher 0, lower 0, same 5 cost: higher shown - per solved task +39.7%, per run +51.6% (median), one-sided Mann-Whitney on per-run cost p 0.993 for lower, 0.009 for higher defaults-plain against plugin-plain pass rate: no difference shown - solved 10 of 10 against 10 of 10, one-sided Fisher p 1.000 for higher, 1.000 for lower; by task, higher 0, lower 0, same 5 cost: lower shown - per solved task -34.1%, per run -26.5% (median), one-sided Mann-Whitney on per-run cost p 0.000 for lower, 1.000 for higher defaults-plain-low against plugin-plain pass rate: no difference shown - solved 10 of 10 against 10 of 10, one-sided Fisher p 1.000 for higher, 1.000 for lower; by task, higher 0, lower 0, same 5 cost: lower shown - per solved task -42.7%, per run -29.1% (median), one-sided Mann-Whitney on per-run cost p 0.000 for lower, 1.000 for higher plugin-reworded-plain against plugin-plain pass rate: no difference shown - solved 10 of 10 against 10 of 10, one-sided Fisher p 1.000 for higher, 1.000 for lower; by task, higher 0, lower 0, same 5 cost: no difference shown - per solved task -14.6%, per run -5.2% (median), one-sided Mann-Whitney on per-run cost p 0.137 for lower, 0.879 for higher ``` The outcome: `defaults-plain` solved 10 of 10 like the control and its cost was shown lower (per solved task -34.1%, per run -26.5% at the median). The reworded note was not shown to cost less (-14.6%, p 0.137). The rule pointed to `off`. The default stays `strict` by the owner's decision, and `off` is a setting for small jobs the session does itself unless it chooses to hand them out or you ask. `defaults`, stock told to delegate, cost more than the control (+39.7% per solved task). That is a line of this round and no judged verdict, and this page makes no saving claim from it. What it cannot show: quality, since every arm solved every run; a Fable session; a long session whose context fills; or any split by kind of task. To run it again: ```bash python3 bench/run.py --extra-configs bench/rounds.json --configs plugin-plain plugin-reworded-plain defaults-plain defaults-plain-low defaults \ --tasks bugfix-median bugfix-pagination impl-merge-customers research-latency fanout-three-lookups \ --runs 2 --seed 4 --batch r4 --model claude-opus-5-5 --budget 1.5 --timeout 900 --max-total 30 \ --out ~/.config/model-router-bench/results/rounds/r4.jsonl python3 bench/round.py ~/.config/model-router-bench/results/rounds/r4.jsonl --control plugin-plain python3 bench/round.py bench/results/rounds/r4.jsonl --control plugin-plain ``` Add `plugin-off-plain` to `--configs` to see the plugin with `delegation` off beside the others. ### `review-level`: 24 runs on 2026-12-01, $10.47, session on `claude-opus-5-5` The question: does the `complex` level need Opus, and does handing a review to an agent help at all? One task, `review-seeded-diff`, a diff with 10 seeded defects. A run passes when it finds all 10 with at most 2 stray findings. 6 runs an arm, on an Opus session. - `plugin`, the control: the plugin with the `complex` level on Sonnet at `high`, as 0.2.3 shipped it. Today's name for it is `plugin-complex-sonnet-high`. - `plugin-complex-opus-high`: the plugin with the `complex` level on Opus at `high`, which ships now. Today it is the `plugin` arm. - `defaults`: stock, told to delegate. - `defaults-plain`: stock, with the brief as it is, so the session does the review itself. The rule: change to the Opus level, or to the main session, if that arm's pass rate is shown higher than the control's. ``` arm runs solved stopped cost per solved median wall defaults 6 2 0 $2.7147 $1.3574 73s defaults-plain 6 4 0 $2.1544 $0.5386 43s plugin 6 0 0 $1.6875 n/a 58s plugin-complex-opus-high 6 4 0 $3.9096 $0.9774 102s defaults against plugin pass rate: no difference shown - solved 2 of 6 against 0 of 6, one-sided Fisher p 0.227 for higher, 1.000 for lower; by task, higher 1, lower 0, same 0 cost: no difference shown - per solved task is n/a, an arm solved nothing defaults-plain against plugin pass rate: gain shown - solved 4 of 6 against 0 of 6, one-sided Fisher p 0.030 for higher, 1.000 for lower; by task, higher 1, lower 0, same 0 cost: no difference shown - per solved task is n/a, an arm solved nothing plugin-complex-opus-high against plugin pass rate: gain shown - solved 4 of 6 against 0 of 6, one-sided Fisher p 0.030 for higher, 1.000 for lower; by task, higher 1, lower 0, same 0 cost: no difference shown - per solved task is n/a, an arm solved nothing ``` The outcome: both candidates were shown higher, 4 of 6 against 0 of 6 (p 0.030 each). `defaults`, told to delegate, solved 2 of 6, which was not shown higher (p 0.227). The control found 9 of the 10 defects in 5 runs and 8 in one, and missed the lock order deadlock in `refunds._cancel` in all 6 runs. The Opus level missed it in 2 of 6 runs, `defaults-plain` in 2 of 6 and `defaults` in 3 of 6. No cost verdict is possible, since the control solved none. The Opus level spent $3.91 over its 6 runs and the control $1.69. The changes: the `complex` level, `architect` and `reviewer` run on Opus at `high`. What it cannot show: review quality in general, since this is one task graded on recall with a limit on false alarms; the agent definitions as such, since the round measures the level; or a difference between the Opus level and the session reviewing alone, which both solved 4 of 6. To run it again: ```bash python3 bench/run.py --extra-configs bench/rounds.json --configs plugin-complex-sonnet-high plugin defaults defaults-plain \ --tasks review-seeded-diff --runs 6 --seed 2 --batch r2 --model claude-opus-5-5 --budget 4 --timeout 1800 --max-total 80 \ --out ~/.config/model-router-bench/results/rounds/r2.jsonl python3 bench/round.py ~/.config/model-router-bench/results/rounds/r2.jsonl --control plugin-complex-sonnet-high python3 bench/round.py bench/results/rounds/r2.jsonl --control plugin ``` ### `review-session-effort`: 30 runs on 2026-12-01, $12.36, sessions on `claude-opus-5-5` and `claude-sonnet-5-5` The question: at what effort should a Sonnet session be recommended, and does an Opus session at `medium` do better? The same task, 6 runs an arm, five session settings, each the plugin as it was at that commit: - `s-opus-medium`: Opus at `medium`. - `s-sonnet-medium`, `s-sonnet-high`, `s-sonnet-xhigh`, `s-sonnet-max`: Sonnet at that effort. In every arm the session handed the review to Sonnet agents, so the round measures the coordinating session's effort with the reviewing agent the same. The rules: change the Sonnet recommendation to `high` if `s-sonnet-xhigh`'s pass rate is not shown higher than `s-sonnet-high`'s and its cost is shown at least 15% higher. Drop Sonnet from the recommended setups if `s-opus-medium` is shown higher, or equal at a shown lower cost. `round.py` printed the comparisons once with `s-sonnet-high` as the control and once with `s-sonnet-xhigh`. Both prints have the same table: ``` arm runs solved stopped cost per solved median wall s-opus-medium 6 1 0 $1.7589 $1.7589 65s s-sonnet-high 6 2 0 $1.3206 $0.6603 65s s-sonnet-max 6 1 0 $5.9653 $5.9653 425s s-sonnet-medium 6 2 0 $1.4407 $0.7203 57s s-sonnet-xhigh 6 1 0 $1.8729 $1.8729 85s s-opus-medium against s-sonnet-high pass rate: no difference shown - solved 1 of 6 against 2 of 6, one-sided Fisher p 0.909 for higher, 0.500 for lower; by task, higher 0, lower 1, same 0 cost: higher shown - per solved task +166.4%, per run +31.3% (median), one-sided Mann-Whitney on per-run cost p 0.998 for lower, 0.003 for higher s-sonnet-max against s-sonnet-high pass rate: no difference shown - solved 1 of 6 against 2 of 6, one-sided Fisher p 0.909 for higher, 0.500 for lower; by task, higher 0, lower 1, same 0 cost: higher shown - per solved task +803.4%, per run +372.1% (median), one-sided Mann-Whitney on per-run cost p 0.998 for lower, 0.003 for higher s-sonnet-medium against s-sonnet-high pass rate: no difference shown - solved 2 of 6 against 2 of 6, one-sided Fisher p 0.727 for higher, 0.727 for lower; by task, higher 0, lower 0, same 1 cost: no difference shown - per solved task +9.1%, per run +1.1% (median), one-sided Mann-Whitney on per-run cost p 0.595 for lower, 0.468 for higher s-sonnet-xhigh against s-sonnet-high pass rate: no difference shown - solved 1 of 6 against 2 of 6, one-sided Fisher p 0.909 for higher, 0.500 for lower; by task, higher 0, lower 1, same 0 cost: higher shown - per solved task +183.7%, per run +42.7% (median), one-sided Mann-Whitney on per-run cost p 0.998 for lower, 0.003 for higher ``` With `s-sonnet-xhigh` as the control: ``` s-opus-medium against s-sonnet-xhigh pass rate: no difference shown - solved 1 of 6 against 1 of 6, one-sided Fisher p 0.773 for higher, 0.773 for lower; by task, higher 0, lower 0, same 1 cost: no difference shown - per solved task -6.1%, per run -8.0% (median), one-sided Mann-Whitney on per-run cost p 0.532 for lower, 0.532 for higher s-sonnet-high against s-sonnet-xhigh pass rate: no difference shown - solved 2 of 6 against 1 of 6, one-sided Fisher p 0.500 for higher, 0.909 for lower; by task, higher 1, lower 0, same 0 cost: lower shown - per solved task -64.7%, per run -29.9% (median), one-sided Mann-Whitney on per-run cost p 0.003 for lower, 0.998 for higher s-sonnet-max against s-sonnet-xhigh pass rate: no difference shown - solved 1 of 6 against 1 of 6, one-sided Fisher p 0.773 for higher, 0.773 for lower; by task, higher 0, lower 0, same 1 cost: higher shown - per solved task +218.5%, per run +230.9% (median), one-sided Mann-Whitney on per-run cost p 0.998 for lower, 0.003 for higher s-sonnet-medium against s-sonnet-xhigh pass rate: no difference shown - solved 2 of 6 against 1 of 6, one-sided Fisher p 0.500 for higher, 0.909 for lower; by task, higher 1, lower 0, same 0 cost: lower shown - per solved task -61.5%, per run -29.1% (median), one-sided Mann-Whitney on per-run cost p 0.015 for lower, 0.990 for higher ``` The outcome: `s-sonnet-xhigh` solved 1 of 6 against `s-sonnet-high`'s 2 of 6, which is not shown higher (p 0.909), and its cost per solved task was shown 183.7% higher (42.7% per run at the median). The first rule is met. `s-opus-medium` solved 1 of 6, no more than any Sonnet arm, and its cost was shown higher than `s-sonnet-high`'s (+166.4%) and not shown lower than `s-sonnet-xhigh`'s (-6.1%). The second rule is not met. No arm's pass rate was shown different from another's: every arm solved 1 or 2 of 6. The round does not tell `s-sonnet-medium` from `s-sonnet-high` (2 of 6 each, cost per solved task +9.1%, no difference shown). `s-sonnet-max` cost most, with a median wall time of 425 seconds. The change: the recommended effort for a Sonnet session is `high`, where it was `xhigh`. What it cannot show: a gap smaller than about 4 runs of 6, or anything about a session that does the review itself, since here every session handed it to Sonnet agents. To run it again: ```bash python3 bench/run.py --extra-configs bench/rounds.json --configs s-opus-medium s-sonnet-medium s-sonnet-high s-sonnet-xhigh s-sonnet-max \ --tasks review-seeded-diff --runs 6 --seed 3 --batch r3 --budget 4 --timeout 1800 --max-total 80 \ --out ~/.config/model-router-bench/results/rounds/r3.jsonl python3 bench/round.py ~/.config/model-router-bench/results/rounds/r3.jsonl --control s-sonnet-high python3 bench/round.py ~/.config/model-router-bench/results/rounds/r3.jsonl --control s-sonnet-xhigh python3 bench/round.py bench/results/rounds/r3.jsonl --control s-sonnet-high python3 bench/round.py bench/results/rounds/r3.jsonl --control s-sonnet-xhigh ``` The `s-*` arms load the plugin as it ships. The round ran a plugin with the `complex` level and the reviewer on Sonnet and `delegation` at `strict`. Today those arms put the review on Opus, so they no longer measure the session's effort over a Sonnet reviewer. To repeat the round as it ran, check out `fc7e46e3` and run the same commands there. ### `default-check`: 20 runs on 2026-12-01, $3.44, session on `claude-opus-5-5` With `delegation` off, the plugin started no agent and cost 13.0% more per run at the median than a stock session on the same quick tasks. Both arms solved 10 of 10. The question: what does the plugin with `delegation` off cost on small jobs, against a stock session? This is no decision round and has no rule. It measures that setting, not the default, at commit `f21fba74`, the commit that ran the round. The same five quick tasks (`bugfix-median`, `bugfix-pagination`, `impl-merge-customers`, `research-latency`, `fanout-three-lookups`), 2 runs each, so 10 runs an arm, on an Opus session. Both arms got the brief as it is. - `plugin-plain`: the plugin with `delegation` off, as the commit ran it. Today's name for it is `plugin-off-plain`; the published rows keep `plugin-plain`. - `defaults-plain`: stock Claude Code, told nothing about delegating. This is the control. ``` arm runs solved stopped cost per solved median wall defaults-plain 10 10 0 $1.5713 $0.1571 16s plugin-plain 10 10 0 $1.8726 $0.1873 19s plugin-plain against defaults-plain pass rate: no difference shown - solved 10 of 10 against 10 of 10, one-sided Fisher p 1.000 for higher, 1.000 for lower; by task, higher 0, lower 0, same 5 cost: higher shown - per solved task +19.2%, per run +13.0% (median), one-sided Mann-Whitney on per-run cost p 1.000 for lower, 0.000 for higher per task, solved of runs and cost per solved task bugfix-median: defaults-plain 2/2 $0.0967, plugin-plain 2/2 $0.1141 bugfix-pagination: defaults-plain 2/2 $0.0981, plugin-plain 2/2 $0.1043 fanout-three-lookups: defaults-plain 2/2 $0.1696, plugin-plain 2/2 $0.2625 impl-merge-customers: defaults-plain 2/2 $0.2843, plugin-plain 2/2 $0.2944 research-latency: defaults-plain 2/2 $0.1370, plugin-plain 2/2 $0.1611 ``` The outcome: both arms solved 10 of 10, and no run in either arm started an agent. The plugin arm cost 13.0% more per run at the median and 19.2% more per solved task, shown higher (p 0.000). The rows point to two sources of the extra cost. On the two bug fixes both arms took the same number of turns, and the plugin still cost 6% to 18% more per solved task, which fits the session note and the plugin's hooks. Three plugin runs, both `fanout-three-lookups` runs and one `research-latency` run, took 2 more turns than stock. 8 of the 10 plugin runs logged one gate event; the rows keep the count, not the kind. What it cannot show: more than a large gap, with 10 runs an arm; a harder or longer task; or a Sonnet or Fable session. To run it again: ```bash python3 bench/run.py --extra-configs bench/rounds.json --configs plugin-off-plain defaults-plain \ --tasks bugfix-median bugfix-pagination impl-merge-customers research-latency fanout-three-lookups \ --runs 2 --seed 5 --batch v1 --model claude-opus-5-5 --budget 1.5 --timeout 900 --max-total 12 \ --out ~/.config/model-router-bench/results/rounds/v1.jsonl python3 bench/round.py ~/.config/model-router-bench/results/rounds/v1.jsonl --control defaults-plain python3 bench/round.py bench/results/rounds/v1.jsonl --control defaults-plain ```