Splitting the work costs about double at 1,668 lines and is 4.3x cheaper at 10,328. Here is the crossover, why it happens, and the thing that breaks past it.
Advice about subagents is architectural. Split the work. Use a cheap model for the workers. Keep the orchestrator’s context clean. It sounds right, and I could not find anybody who had measured it, so I did.
One task: find every function in a generated Python library whose docstring makes a claim its
own body contradicts. A promised ValueError the code never raises. A bound documented
as inclusive that the range excludes. An argument described as untouched that gets mutated. The
defects are planted, so the answer set is exact, and they cannot be grepped or scripted — no
pattern matches a disagreement between prose and behaviour.
Then the same task at four sizes, attacked seven ways.
One Haiku session against a Haiku orchestrator with Haiku scanners. Nothing changes but how much code there is.
| repository | lines | delegation costs | recall, solo | recall, delegated |
|---|---|---|---|---|
| small | 1,668 | 1.97x as much | 1.000 | 1.000 |
| large | 4,155 | 1.2x as much | 1.000 | 1.000 |
| xlarge | 10,328 | 0.23x as much | 0.975 | 0.975 |
Below about four thousand lines you pay double for an identical answer. Somewhere between four and ten thousand it inverts, and at ten thousand lines delegation is 4.3 times cheaper — $0.0755 against $0.3246 — for the same recall to three decimal places, in half the wall time.
| repository | solo turns | delegated turns | solo output tokens | delegated output tokens |
|---|---|---|---|---|
| small | 27 | 8 | 7,881 | 6,471 |
| large | 63.5 | 4.5 | 20,763.5 | 3,993.5 |
| xlarge | 153.5 | 7.5 | 61,727.5 | 10,593 |
A solo session reading 10,328 lines took 153.5 turns, and every one re-sent a context that had grown by another file. The orchestrator took 7.5, because it never opened a module. A 20.47x difference in turns is the entire mechanism.
So the rule is not “delegate big jobs”. It is: delegate when one session would have to hold more than it can, because that is the point at which you start paying for the same context again and again.
The first three repositories are dense — a defect every ten functions. Every arm scored 1.000 precision on the middle one, so precision looked solved. So I built a fourth the same size as the biggest: 10,470 lines, 1,152 functions, and only six planted defects, with 201 functions whose docstrings claim nothing checkable at all. A needle hunt, and a realistic one: most code you audit is fine.
| sparse repository, 6 defects in 1,152 functions | recall | precision |
|---|---|---|
| one Haiku session (2 trials) | 1.000 | 1.000 |
| Haiku orchestrator + Haiku scanners (2 trials) | 0.917 | 0.714 |
The solo arm was perfect twice. The delegated arm failed both times and in opposite directions: one trial found all six and reported fourteen — eight false positives, every one on a function whose docstring is accurate — and the other reported cleanly but missed one.
A scanner handed twenty modules and told to find contradictions cannot see that the base rate across the repository is one in two hundred, because it cannot see the repository. Asked to find something in a slice containing nothing, it finds something. The orchestrator cannot catch it, because it never read the code.
If you delegate a search: give the workers the base rate, say plainly that returning nothing is a valid answer, and treat the merged list as candidates rather than results.
A Sonnet orchestrator with Haiku workers is the standard advice. It works — 1.000, 1.000 and 0.990 recall across the three dense sizes. It was also never the cheapest option: 13.82x, 7.87x and 1.08x the cost of simply using Haiku. Against solo Sonnet it does earn its keep, costing 0.29x as much at 10,328 lines. But if the question is how to get this done cheaply, the answer every time was Haiku — alone, or under a Haiku orchestrator.
A shell is not free. Adding Bash to the payload made the
4,155-line run 4.0x more expensive for the same 1.000 recall. The runs that had
it went exploring — grep, wc, concatenating files — and paid for every command’s
output in context. On this task a shell could do nothing reading could not.
A run can be right and unusable at once. One shell-using run named all
eighteen planted functions correctly, in prose, with the right explanation of each — and
then wrote line numbers that do not exist in the files, like batch.py:133 in a module
seventy lines long. Scored on location that is 0.222 recall; read by a person it is correct. If
you grade an agent on where it says a thing is, you are grading two capabilities at once.
And check one line number before you trust a list of them.
--agents. Asking an orchestrator in the
prompt to use cheap workers measures compliance, not cost.Two things I would not take on trust from me either, and which the harness exists to settle:
Count delegation from the transcript, not from the model. Claude Code writes
each tool call to the session JSONL twice — once as an assistant
record and once inside an api-request-blob echo of the raw request. Counting
Agent blocks returns exactly double. It only surfaced here because the number of
subagent transcript files came to half it.
Generated fixtures have bugs. A template local shared a namespace with a sampled parameter name, so one function assigned over its own argument and raised on every call. A Haiku run found it and said so, reporting the function as broken rather than drifted — the correct answer, and not the one I was grading for.
Everything above is the finding. If you want to check it, or re-run it on your own task, the product is the report with all ten findings, the raw CSV of every one of the 36 runs, and the twelve-script harness that produced them — fixture generator, grader, runner with a hard budget stop, 53 offline tests, and a verifier that refuses any number in the report which does not trace to the data.
It is paid, which I would rather say plainly than bury. The numbers and the method are above and free, and you could reproduce the whole study from this page if you would rather build the harness yourself — which is why the method section describes how.
Free, no signup past an email:
What Claude Code actually
follows — eight findings from 250+ isolated, graded runs: which CLAUDE.md
rules get half-done, the broken file a passing test suite misses, and whether a model cheats on a
test that contradicts its spec.
Also measured: where 34,434 real requests’ tokens
actually went, and which token fixes actually save
money — --allowedTools "" saves exactly zero.