When do Claude Code subagents actually pay for themselves?

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.

Measured 2026-12-05 and 2026-12-06 · 36 trials · Haiku 5.5 and Sonnet 5.5 · every figure from the CLI’s own accounting

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.

The crossover

One Haiku session against a Haiku orchestrator with Haiku scanners. Nothing changes but how much code there is.

repositorylinesdelegation costsrecall, solorecall, delegated
small1,6681.97x as much1.0001.000
large4,1551.2x as much1.0001.000
xlarge10,3280.23x as much0.9750.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.

It is about turns, not tokens

repositorysolo turnsdelegated turnssolo output tokensdelegated output tokens
small2787,8816,471
large63.54.520,763.53,993.5
xlarge153.57.561,727.510,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 thing that breaks past the crossover

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 functionsrecallprecision
one Haiku session (2 trials)1.0001.000
Haiku orchestrator + Haiku scanners (2 trials)0.9170.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.

The recommended pattern is never the cheapest thing you can do

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.

Two smaller things worth knowing

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.

What I would actually do

  1. Pick the model first. It moved recall; nothing else did. Delegation never changed what was found, only what it cost.
  2. Do not delegate work that fits. Below ~4k lines you pay double for coordination you do not need.
  3. Do delegate work that does not fit. 4.3x cheaper and twice as fast at 10k.
  4. Never delegate a needle hunt without giving the workers the base rate.
  5. Pin the worker model with --agents. Asking an orchestrator in the prompt to use cheap workers measures compliance, not cost.

How to check this yourself

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.

The report, the data and the harness

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.

Subagent economics — €49

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.


Four generated repositories, 180 to 1,152 functions. Haiku 5.5 and Sonnet 5.5, list prices, December 2026. Cells with one or two trials are marked as such in the full data. Generated code is more uniform than yours, which almost certainly makes this easier than its real counterpart — in every arm equally. One task; a refactor with cross-file consequences may divide between workers far better than an audit does.

More measured notes on coding agents: alexenabled.github.io

Also measured: every broken test suite scored a perfect 1.000 — 599 validated mutants, and why coverage could not tell any of the suites apart.