What Agent Fan-Outs Cost: Numbers From Four Recorded Runs
Ask what it costs to run many coding agents at once and the published answers span four orders of magnitude. Cursor's swarm that rebuilt SQLite in Rust cost between $1,339 and $10,565 a run, depending on the mix of models. Anthropic's 16-agent C compiler cost just under $20,000. A fan-out of twelve agents testing one hypothesis each can cost about a dollar.
These numbers measure different jobs. The useful question for a team is narrower: for a given job, what does each agent cost, how long does the run take, and how many of its results can be used? This article gives those figures for every Forkit run we have recorded, with their conditions, and says where a figure is missing.
The four recorded runs
All four ran on Forkit's staging deployment with real Claude Code agents (Sonnet), a made-up team and one run each. Each cost is Forkit's estimate at list price, read from the agents' own transcripts. In this article, "factory" means a Forkit factory: a saved fan-out that can be run on request, by webhook or on a schedule. It does not mean the company Factory.
| Run | Date | Agents | Cost | Time | What it produced |
|---|---|---|---|---|---|
| Units CLI | 17 Nov 2026 | 6 | Not recorded | All pushed 65 s after starting | 6 branches merged with no conflict, 28 of 28 tests pass |
| Penguins study | 20 Nov 2026 | 12 | About $1.24 of a $10 budget | Every agent had pushed 69 s after starting | 12 branches merged with no conflict, 7 of 12 hypotheses supported |
| CO2 model comparison | 21 Nov 2026 | 12 | About $1.25 | Run finished 63 s after it started | 12 result files, all byte for byte what a reference written beforehand gives |
| Shadow run from a factory | 21 Nov 2026 | 2 | About $0.21 | Run finished in 47 s | 2 hypotheses written and pushed; one command refused and listed |
The units CLI run has no cost because Forkit did not record one for it. We will not estimate it after the fact.
Cost per agent
Divide each run's estimate by its agents:
- Penguins study: about $0.10 an agent.
- CO2 model comparison: about $0.10 an agent.
- Shadow run: about $0.11 an agent.
These were small, well-defined jobs. Each agent got one item (a hypothesis, a model), its own fork of a prepared repository, and a script to run. None of them had to read a large codebase or recover from a broken build. Expect a job with more reading and more retries to cost more per agent.
Time to finish
The three runs with timings finished in about a minute: 63 s, 69 s and 47 s. Most of that minute is the agents working at the same time. In each run, one permission question held every agent briefly:
- In the units run, all 6 asked to run
node --testwithin 46 s, and one "Allow once" answered all of them. - In the penguins run, all 12 asked to run
node run.jswithin 48 s and were shown as one question. - In the CO2 run, all 12 asked to run
node run.jswithin 13 s of each other, and one "Allow once" answered all twelve.
A run that needs a person is as fast as that person. Grouping the twelve identical requests into one question kept that wait to one answer instead of twelve.
What each run produced
Cost alone says little. Cost against what came back says more.
- Units CLI: six branches merged with no conflict, and 28 of 28 tests passed after the merge.
- Penguins study: twelve branches merged with no conflict. A ranking script found 7 of 12 hypotheses supported, each with the commit of its result.
- CO2 model comparison: twelve branches merged with no conflict, and all twelve result files matched a reference written before the run. The run was marked good, and
forkit factory show co2reported 1 run, 100% good, $1.25 and 63 s a run. - Shadow run: two agents each wrote a hypothesis and pushed. The command that needed a person was refused for both and listed as one line, which is what a shadow run is for.
For the CO2 run, about $1.25 bought twelve usable results: roughly ten cents a result. For the penguins run, about $1.24 bought twelve tested hypotheses, all twelve usable as answers, seven of them supported.
A larger set: 54 CooperBench runs
The recorded demos are small and friendly. The CooperBench runs are the opposite: two agents given features that collide on the same lines. We wrote them up in Two Coding Agents, One Function.
- 54 runs cost $81.98 in API use, about $1.52 a run.
- A run with CooperBench's own messaging cost about $1.23.
- A run with Forkit v3.1 (claims, patches between agents and a merge check that waits for peers) cost about $2.36, mostly from agents waiting for each other and passing changes back and forth.
On the four pairs where both features change the same lines, the runs with CooperBench's messaging produced no merged work at all: 0 of 8. Forkit v3.1 merged 3 of 4, one run per pair. Of these two arms, only the dearer one had any merged results to divide its cost by.
This is the case for measuring cost per accepted result. A cheaper run that produces nothing has an infinite cost per result.
How these compare with published numbers
The published figures come from much larger jobs, so compare shapes, not totals.
Cursor, "Agent swarms and the new model economics" (20 Jul 2026). A swarm was asked to implement the 835-page SQLite manual in Rust, graded against sqllogictest. Total cost ran "from $1,339 for the Opus 4.8 hybrid to $10,565 for GPT-5.5 alone", with "workers carrying at least 69% of the tokens, and over 90% in most." The lesson that carries over: the model chosen for the workers sets most of the bill.
Anthropic, "Building a C compiler with a team of parallel Claudes" (5 Feb 2026). Sixteen agents, "nearly 2,000 Claude Code sessions across two weeks", 2 billion input tokens and 140 million output tokens, "a total cost just under $20,000." That is roughly $10 a session, our arithmetic.
Anthropic, "How we built our multi-agent research system" (13 Jun 2025). Agents "typically use about 4× more tokens than chat interactions", and "multi-agent systems use about 15× more tokens than chats." For economic viability, the post says, multi-agent systems need tasks whose value is high enough to pay for it.
Li et al., arXiv 2610.10263 (7 Oct 2026, preprint). With parallel sub-agents turned on in Codex, Claude Code and Kimi Code, token use reached "1.41–3.31× the sequential level." The study ran 354 tasks and 2,124 executions and reports spending over $20,000.
Two things follow. Coordination costs tokens, and the cost grows with how much agents have to wait on and talk to each other. And the costs that matter are the ones attached to a result: the C compiler compiled, the SQLite build passed its tests, the CO2 forecasts matched the reference.
Reading your own numbers
To tell when adding agents stops paying, record four things per run:
- Cost per agent. If it climbs as you add agents, they are waiting on each other, repeating work or talking more.
- Time to finish. If it stops falling as you add agents, the job does not split further, or a shared step (a question, an install, a test run) has become the queue.
- Results accepted. Merged branches, passing tests, results that match a reference. Count what a person would keep.
- Cost per accepted result. This is the number to watch over time.
In Forkit, the first two come with every fan-out. Claude Code and Codex report the tokens of each session from their own session files, and other agents report with forkit usage. Forkit prices them and adds them to the session's thread and to its fan-out. For runs started from a Forkit factory, forkit factory show gives the number of runs, the pass rate among the runs someone marked good or bad, the cost in all and per run, and seconds per run. The verdict is the part you supply: a person, or the factory's own agents, marks each run with forkit factory verdict RUN_ID good|bad.
Put a ceiling on it
A cost you can read is only half of it. Give each fan-out a budget it cannot pass by much:
forkit fanout create --name study --agents 12 --max-cost 10 --max-tool-calls 2000
At 80% of the dollar budget the fan-out shows a warning. At the budget it is stopped, and every agent in it is told to stop. A fan-out can pass its budget by what its agents spend in about 20 seconds, because a working session reports its usage at most every 20 s. Set a tool call budget as well: an agent that reports no usage is invisible to the dollar budget. More on this in how to set a dollar budget for a fleet of coding agents.
What these numbers do not show
- They are estimates. Forkit prices tokens at list price, prices all cache writes as 5-minute writes, and for Claude Code reads a transcript format its documentation calls internal. How close this gets is the subject of estimating coding agent cost from transcripts.
- They are small. Six, twelve, twelve and two agents, one run each, on staging, with prepared repositories. They say nothing about a 200-agent migration of a real codebase.
- One run is missing its cost. The units CLI run was not recorded.
- They leave out the people. The minute each run took included one person's answer. A slower answer is a longer run, with agents waiting.
Where Forkit fits
Forkit is the coordination system for agent teams: plans, handoffs, file claims and decisions, shared by every agent and the people behind them. Forkit never runs agents. It records what the agents you start cost, groups their questions and stops them at a budget. For the whole picture, read the field guide to running agent teams and an agent swarm backend. It is free to try at forkit-mcp.com.
Sources
- Forkit engineering notes: the recorded demos of 17, 20 and 21 Nov 2026 and the factory shadow run of 21 Nov 2026 (staging, one run each).
- Forkit, "Two Coding Agents, One Function: What We Learned Running CooperBench", 23 Nov 2026, /blog/two-agents-one-function-cooperbench.
- Cursor, "Agent swarms and the new model economics", 20 Jul 2026, https://cursor.com/blog/agent-swarm-model-economics (read 25 Nov 2026).
- Anthropic, "Building a C compiler with a team of parallel Claudes", 5 Feb 2026, https://www.anthropic.com/engineering/building-c-compiler (read 25 Nov 2026).
- Anthropic, "How we built our multi-agent research system", 13 Jun 2025, https://www.anthropic.com/engineering/multi-agent-research-system (read 25 Nov 2026).
- Li, Li, Jiang and Lou, "When Sub-Agents Work in Parallel", arXiv 2610.10263, 7 Oct 2026 (preprint), https://arxiv.org/abs/2610.10263.