# What it cost to split one coding task across 1, 3, 6 and 12 workers

When you give a coding task to a team of agents, you cut it into parts, and each part goes to its own agent session. I call a part a node. Every extra node adds a boundary: a new session that has to read the code again and hand its work on to the next one. This article measures what that costs on one real task, cut for 1, 3, 6 and 12 workers.

## In short

I took one real coding task and cut it into a graph of 1, 3, 6 and 12 worker nodes. The task, the models, the acceptance and the script that leads the graph stayed the same; only the cut changed. Each cut ran nine times, plus a control three times: 39 attempts.

I expected two things from splitting the task: that a team of agents would handle work a single agent could not, and that it would finish faster. Neither happened. One cheap agent solved the task in all nine attempts, and the finer cuts were not faster, while each added node made the work bigger and the bill higher: twelve nodes cost 1.9 times as much as one.

The takeaways are in [section 4](#4-what-others-can-use).

## 1. Setup

**The task.** A real change to the simulator of my System Design Game, a browser game in TypeScript. The simulator of this level is about 48,000 lines with its tests. The task adds a new way to read a shopping cart and makes the engine report honestly whether the customer got a fresh cart, a stale one, or an order built from a stale one. A worker gets a 107-line statement with eight rules, the files it may change and the commands that must pass. An accepted solution adds a few hundred lines of engine code and one to two and a half thousand lines of tests.

**Models.** Every worker is DeepSeek V4.1 Flash, a cheap coding model, in Hermes Agent, one fresh session per node. GPT-6 Luna reviews the whole change.

**Acceptance.** Code grades every attempt after the run: only allowed files changed, the type check, linter and about 1,200 fast tests pass, and a hidden test file the workers never see passes too.

**The cuts.** Every cut starts with a check of the untouched code and ends with an independent review and a final rerun of all checks. Only the build nodes between them change:

| Cut | Build nodes | Widest layer | How it is cut |
| --- | --- | --- | --- |
| 1 | 1 | 1 | one node does the whole task |
| 3 | 3 | 1 | a chain: the engine, then the supporting parts, then evaluations |
| 6 | 6 | 3 | a contract of names first, then three parts side by side, then the rest |
| 12 | 12 | 4 | the same parts, each split along a file or a rule |

![Figure 1: the four cuts as graphs side by side, with the three nodes that are the same in every cut in grey](https://cdn.hashnode.com/uploads/gql/6aefe354f8418419009a8845/2a271cf3-50a5-45d3-8e2a-3e72bf6cc2ac.png align="center")

**The lead is a script, not a model.** About 300 lines: a node starts when everything it depends on is accepted, at most three workers run at once, and the review must say PASS (two fix rounds at most). So the schedule is the same in every attempt and the lead adds no cost of its own.

## 2. Results

| Cut | Passed hidden tests | Model calls | Cost | Wall clock | Sum of node work |
| --- | --- | --- | --- | --- | --- |
| One node | 9 of 9 | 188 | $0.18 | 37 min | 37 min |
| Chain of three | 9 of 9 | 236 | $0.21 | 39 min | 39 min |
| Six, three side by side | 9 of 9 | 302 | $0.24 | 39 min | 45 min |
| Twelve, up to four side by side | 9 of 9 | 443 | $0.34 | 48 min | 61 min |
| Control: the same six, one at a time | 3 of 3 | 258 | $0.21 | 40 min | 40 min |

Means per attempt, review and final rerun included. The ranges are in the data linked at the end.

### The cut did not decide success

Thirty-nine attempts, thirty-nine passes of the hidden tests. The cheap model solved the task as one node and as twelve. That also means the task was at the ceiling for this model, so the experiment shows the price of a cut, not its effect on the chance of success.

### Each boundary has a price

A line through the attempts fits well:

- **Each added node cost about 23 model calls, 1.4 cents and 2.3 minutes of summed work.**
- **Twelve nodes against one: 2.4 times the calls, 1.9 times the cost, 1.3 times the wall clock.**

![Figure 2: model calls of the build nodes against the number of build nodes, every attempt as a dot, with the fitted line; a second panel for cost](https://cdn.hashnode.com/uploads/gql/6aefe354f8418419009a8845/3da22783-f0a9-4093-8343-2231fb133fa6.png align="center")

A boundary is a new session that reads the statement and the code again, does its part, runs its checks and writes a handoff. Each new session pays full price to read the code, while one long session reads most of it from the cache at a fiftieth of the price.

This price is not a constant of graphs. On another task of the same project, written up in [What it took for five coding agents to beat one](https://blog.albedoweb.com/what-it-took-for-five-coding-agents-to-beat-one), the parts shared no file, and an added node cost about 3 calls over the whole attempt. Here all parts work on one engine. That is a likely reason for the difference, not a tested one.

**Most of the extra work went into tests.** Engine code stayed at about 400 lines (480 in the finest cut), while tests grew from 33 cases to 62: each node proves its own part. The extra tests did not change the result by any measure I have.

### Why width did not pay

The sum of node work grew from 37 minutes to 61, and the wall clock barely moved: 37, 39, 39 and 48 minutes.

- **The wall clock is the longest chain in the plan.** In every attempt that had the machine to itself it matched the longest chain of node times to within two seconds.
  And part of every plan cannot run in parallel at all: the starting check, the review with its fixes, the final rerun.
- **The cost comes from the number of nodes, not the width.** The control ran the six-node plan one worker at a time: 258 calls and $0.21, against 302 and $0.24 side by side and 188 and $0.18 for one node.
- **Width could save little.** Running in turn would have added only about 14% to the wall clock on average, less than the extra work the cut added.

![Figure 5: the sum of node work and the wall clock per cut](https://cdn.hashnode.com/uploads/gql/6aefe354f8418419009a8845/56c2c613-b3b7-4420-aa14-a04a08abdd5d.png align="center")

## 3. What others found

Google's scaling study found multi-agent systems 2 to 15% worse than one agent on SWE-bench Verified, the coding benchmark, at the same token budget. A Cohere Labs paper found teams of coding agents beat a solo agent at 3 to 7 times the dollars. CAID reports that "wall-clock runtime is not substantially reduced despite parallel execution". I did not find one task with its cut held fixed and the number of pieces varied, which is what this experiment does.

## 4. What others can use

1. **Try one agent first.** One cheap agent solved the task in all nine attempts for 18 cents an attempt.
   Decomposition pays only on a task one agent cannot finish.
2. **You can predict the speed-up from the plan.** Add up the longest chain of nodes and the serial tail (starting check, review, final rerun), and you know the most parallel work can give.
   Here it was about 14%, less than the extra work the cut added.
3. **A number for the budget.** On a task whose parts share code, each added node cost about 23 model calls, 1.4 cents and 2.3 minutes of summed work.
4. **A script can lead the graph.** A fixed plan run by a 300-line script, with no model calls of its own, behaved the same way in every attempt, and that is what made the series measurable.
5. **Expect more tests.** Each node proves its own part, so the finest cut wrote nearly twice the test cases.
   Limit it in the node instructions if you do not want it.

## 5. What I take from it

So far I see one conclusion: on this particular task, parallel work changes little.

1. The extra tests are a side effect of the extra steps. A stricter prompt can probably hold them down.
2. A larger graph is more likely to break. That is fairly obvious.
3. On this task the overhead eats what parallel work gains.

It would be interesting to show whether more tests make the code more stable. How to show it is an open question.

## 6. Limits

- One task, one pair of models, nine attempts a cut, twelve nodes at most.
  A larger task, a task not at the ceiling, or a stronger model may give other numbers.
- I made the cuts myself, and the finest one may simply be a poor cut.
- The control ran in daytime on a machine in use, the main series at night.

## 7. Data and code

Everything needed to check or repeat the series is public, in the [`experiment/s2` branch of the game's repository](https://github.com/albedoweb/system-design-game/tree/experiment/s2/experiments/s2): the task, the plans of the four cuts and the control, the grader with its hidden tests, the scripts as they ran, one record per attempt, and the numbers behind the figures. `SETUP.md` there goes from a clean machine to one run.

## References

1. Yubin Kim and others, "Towards a Science of Scaling Agent Systems", arXiv 2512.08296v3, April 2026.
   https://arxiv.org/abs/2512.08296
2. Keenan Samway and others, "Scaling Inference-Time Compute with Teams of Coding Agents", arXiv 2610.17471v1,
   October 2026. https://arxiv.org/abs/2610.17471
3. Jiayi Geng and Graham Neubig, "Effective Strategies for Asynchronous Software Engineering Agents", arXiv
   2603.21489v2, July 2026. https://arxiv.org/abs/2603.21489

