By the numbers
Two arms and one flag, and behind them 472 task attempts, 1,762,767 test results and 6,344 priced model calls. Every figure here is counted from the repository when the site is built.
- 1,762,767test results read by the graderEvery test the grader ran in a fresh container after an agent stopped: 1,671,708 passed, 6,430 failed, 84,629 skipped.analysis/out/numbers.json
- 472task attempts on real bug fixesEach attempt at one real issue, with a task record or a published transcript.analysis/out/numbers.json
- 6,344model calls, each one pricedOne line in a run's calls.jsonl is one call, with its tokens and its cost.analysis/out/numbers.json
- 77,236lines of code and docsLines in the files git tracks, leaving out data, generated output and lock files.board/web/scripts/scale-data.mjs
The runs
Every batch, from the first dry run
A batch is a run directory. Its files are the only source: one line per attempt, per model call and per ledger record.
| Batch | Attempts | Graded | Solved | Tests read | Model calls | Tokens | Ledger records |
|---|---|---|---|---|---|---|---|
| Dry runs 10 runs | 19 | 19 | 10 | 257,389 | 287 | 2,323,626 | 29 |
| Pilot 2 runs | 19 | 19 | 9 | 98,973 | 406 | 2,875,327 | 21 |
| Experiment 1 | 150 | 146 | 62 | 574,291 | 1,812 | 10,894,645 | 467 |
| Rollout batch | 13 | 13 | 7 | 63,991 | 137 | 872,347 | 34 |
| Experiment 2 | 146 | 146 | 81 | 438,005 | 2,353 | 19,445,454 | 392 |
| Experiment 3 | 125 | 125 | 64 | 330,118 | 1,349 | 6,672,666 | 370 |
| All 17 runs | 472 | 468 | 233 | 1,762,767 | 6,344 | 43,084,065 | 1,313 |
- 468tasks graded to a recordFinished-task records in the run ledgers. A few first attempts were cut off before their record was written and were run again.analysis/out/numbers.json
- 67repositoriesOpen-source repositories the issues come from.analysis/out/numbers.json
- 8languagesc, cpp, cs, go, java, js, rust, tsanalysis/out/numbers.json
- 233attempts graded as solvedEvery target test passes and no passing test broke, in a fresh container.runner/grading.py
- 43,084,065tokens through the models31,717,423 read from cache, 9,053,753 written to cache, 15,692 fresh input, 2,297,197 output.analysis/out/numbers.json
- 1,495events sent to FlagsmithCost, turns, seconds and solves, each with the identity that was exposed.analysis/out/numbers.json
The bill
What all of that cost in model calls
The sum of every priced call across every run, failed attempts included. Each task is capped, so a pool has a known worst case before it starts. analysis/out/numbers.json
- Experiment 1
- $8.52
- Rollout batch
- $0.48
- Per attempt, on average
- $0.0495
At a larger size
What the measured gap adds up to
These two blocks are sums and ratios of figures on this site. Neither is a new measurement.
Per 1,000 solved bugs
- control
- $175.28
- lanes_v1
- $83.75
- difference
- $91.53
Experiment 1's cost per solved task in each arm, multiplied by 1,000. It assumes the same agent, models, prices and kind of task, and it carries the same uncertainty as the figures it is made from. The measured figures and their intervals.
20 times the price per token
- frontier model, input and output per million tokens
- $2.00 · $10.00
- small model, input and output per million tokens
- $0.10 · $0.50
The price gap is 20 to 1; the measured saving per task is smaller, because only the worker lane changed model and the planner still runs on the frontier one. harness/pricing.json
Your own numbers
What would it save you?
Put in how many bugs your agent fixes in a month and what your models cost. The calculator applies experiment 1's measured lane costs and solve rates to them. It starts on the study's own prices, where it gives the study's own result.
$0.1753 per solved bug · $2,103.31 per year
$0.0837 per solved bug · $1,004.96 per year
$91.53less per month, $1,098.35 per year, with the small model on the worker lane (−52.2% per solved bug)
Projection from experiment 1's measured costs and solve rates; your agent and tasks will differ.
A cheaper lane is not always a saving. In experiment 2 a cheaper drafting role cut the cost of a task by 15.4% and solved fewer bugs, so each solved bug cost 4.8% more. Experiment 2. Measure your own before you ship it.
The formula
- Measured, per task, in experiment 1. With the frontier model everywhere (Sonnet 5.5): planner lane $0.0294, worker lane $0.0490, 44.7% of tasks solved. With Haiku 5.5 on the worker lane: planner lane $0.0301, worker lane $0.0039, 40.6% solved. Keys
exp1.arms.<arm>.main_cost_mean,delegate_cost_meanandsolve_ratein numbers.json. - Your prices. A model's lane cost is multiplied by (I × your input price + O × your output price) ÷ (I × list input + O × list output). I and O are the study's own token mix: at the frontier list prices 52.9% of the dollars are input-side tokens (input, cache writes and cache reads, at their list ratios to the input price) and 47.1% are output tokens. At the list prices the factor is 1.
- Your split. The all-frontier cost per task ($0.0784) is divided into planner and worker by your share (62.5% was measured). Moving the worker lane to the small model multiplies the worker part by 0.080 and the planner part by 1.022, the ratios measured in experiment 1.
- Per solved bug, per month, per year. Cost per solved bug = cost per task ÷ solve rate. Monthly cost = bugs fixed per month × cost per solved bug. The year is twelve months. The saving is the difference between the two arms.
With nothing changed this is experiment 1's own cost per solved task. It assumes your agent splits its work, and solves bugs, the way this one did, which yours will not exactly. Solve rates carry the intervals on the results page, and the projection is exactly as uncertain as they are.
The evidence
What was kept so it can be checked
- 1,313ledger recordsHash-chained lines across every run's ledger.jsonl. Change one and every later hash breaks.analysis/out/numbers.json
- 16Merkle roots publishedOne per run, over its finished tasks, in the analysis output.analysis/out/numbers.json
- 122environment snapshotsFlagsmith's full flag configuration, saved at the start, every 15 minutes and at the end of a run.analysis/out/numbers.json
- 434task transcripts publishedThe planner's transcript and the graded patch of each attempt.analysis/out/numbers.json
- 5registrations taggedprereg-exp1, prereg-exp1-amend1, prereg-exp2, prereg-exp3, prereg-exp4, prereg-exp5, prereg-exp5-amend1analysis/out/numbers.json
- 430 of 430arms re-derived offlineEvery recorded arm of the 4 batches that ran on the flag (experiments 1 to 3 and the rollout), recomputed with Flagsmith's flag-engine from each run's saved environment.integrity/verify_assignment.py
The build
77,236 lines in 453 files
Lines in the files git tracks, by language. Run records, analysis output, task pools, rendered transcripts and lock files are left out, because they are data, not code.
- TypeScript26,624 lines · 138 files
- Python20,501 lines · 120 files
- CSS11,601 lines · 20 files
- Markdown8,676 lines · 73 files
- Shell4,898 lines · 52 files
- JavaScript2,688 lines · 19 files
- YAML1,462 lines · 19 files
- Terraform623 lines · 8 files
- SQL163 lines · 4 files
- 524test functions280 in Python and 244 in TypeScript, as the analysis counted them.analysis/out/numbers.json
- 11CI jobspython, gitleaks, board, kit-ts, kit-mcp, approval, skill, two-servers, build, publish, reproduce.github/workflows
- 11runnable examplesEach with a script and its captured output.analysis/out/numbers.json
- 2npm packagesforkbill 0.2.0, forkbill-mcp 0.2.1analysis/out/numbers.json
- 5releasesv0.1.0, v0.2.0, v0.3.0, v0.4.0, v1.0.0CHANGELOG.md
- 14pages on this siteEach prerendered to its own file, so it reads without JavaScript.board/web/src/site/routes.ts
The counter is board/web/scripts/scale-data.mjs. It runs on every build, so these figures move when the repository does.