---
title: "Discussion on \"What it cost to split one coding task across 1, 3, 6 and 12 workers\" | Hashnode"
description: "Discussion on \"What it cost to split one coding task across 1, 3, 6 and 12 workers\". One coding task cut for 1, 3, 6 and 12 agents, 39 attempts: one cheap agent solved it every time, and each added node made the bill higher"
url: "https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What it cost to split one coding task across 1, 3, 6 and 12 workers](https://blog.albedoweb.com/split-one-coding-task-across-1-3-6-12-workers?utm_source=hashnode&utm_medium=feed)

One coding task cut for 1, 3, 6 and 12 agents, 39 attempts: one cheap agent solved it every time, and each added node made the bill higher

1d ago · 9 min read · blog.albedoweb.com  
Read the article

-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#llm](https://hashnode.com/tag/llm)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#ai](https://hashnode.com/tag/ai)

## Written by

[Nikolay Fokin](https://hashnode.com/@albedolab)

@albedolab

  
[View profile](https://hashnode.com/@albedolab)

Databases, AI agents, and things I build

## Responses 8

Markdown supported · ⌘↵ to post

[AI Developer](https://hashnode.com/@lycore)

[19h ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b1184baa94a97915c8461c0)

The cost line of roughly 23 extra model calls per added node fits the idea that each boundary re-pays for reading the code, while one long session benefits from cache reads. That makes me wonder whether the fair comparison for the finer cuts is giving each node a pre-built compact context, such as a file map or the contract of names, instead of letting every session re-read the repo. Since all 39 attempts passed, the task sits at the model's ceiling, so a harder task or a weaker worker might be where decomposition starts to pay. It would be interesting to see whether the failure rate of the single node rises faster than the per-node overhead as the task grows.

[Nikolay Fokin](https://hashnode.com/@albedolab)

[9h ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b1184baa94a97915c8461c0#reply-6b1212ad930e080e3ed0e101)

I haven't tried a pre-built compact context. Each node already got the plan and its own short contract, and still re-reads the engine code it had to change, so a file map alone may not save much. On the ceiling I agree: 39 of 39 says nothing about where splitting starts to pay. A harder task with a weaker worker is the run I'd like to do next.

[Salman Parvez | ML Systems](https://hashnode.com/@ml-systems)

[23h ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b1142b811845b93c20041a6)

"Every extra node adds a boundary" is the finding in one line. Coming from construction estimating, it's the same math as splitting a small job between crews. Each handoff means someone reads the drawings again and measures what the last crew left, and on a job one carpenter can finish, the second crew mostly adds mobilization. Twelve nodes at $0.34 and 48 minutes against one at $0.18 and 37 is a clean way to show it. Keeping the lead as a 300-line script so it adds no cost of its own was a good control. Thank you for publishing the ranges.

[Nikolay Fokin](https://hashnode.com/@albedolab)

[9h ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b1142b811845b93c20041a6#reply-6b121302af82f6b80b7cfd45)

Thanks! The crews picture fits well: on a job one carpenter can finish, the second crew mostly adds mobilization.

[Erudience LTD](https://hashnode.com/@erudience-ltd)

[1d ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b112ac83c5eacee8811edd9)

What stands out is that the cheap single worker was 9 for 9 while the 12-node graph just raised the bill. I'd be curious whether the cost curve flattens if the task is cut along file ownership instead of by step, since most of the overhead I've seen in multi-agent setups comes from workers re-reading shared context. Did you log tokens spent per handoff separately from tokens spent on actual edits?

[Nikolay Fokin](https://hashnode.com/@albedolab)

[9h ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b112ac83c5eacee8811edd9#reply-6b1212d780cb4ab6e2fdc801)

No, I couldn't split it that way. The logs give tokens by type (cached, fresh, output) and by stage, not by what each call was for. On file ownership: in an earlier task the five parts shared no file, and each added agent cost about 3 extra calls instead of 23. Different task though, so it's a hint, not a test.

[Ahmet Özel](https://hashnode.com/@ahmetozel)

[1d ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b1115506ebf934669b7566f)

Running 39 controlled attempts across 1, 3, 6, and 12 nodes on a real 48,000-line TypeScript codebase—with a hidden test file plus 1,200 fast tests—is the kind of empirical multi-agent benchmark the field badly needs. Seeing a single DeepSeek V4.1 Flash worker solve all nine runs while a 12-node graph cost 1.9x more and finished no faster exposes the hidden handoff tax of artificial decomposition.

Every extra worker boundary forces cold-start file reading and interface re-verification. Splitting across parallel agents really only pays off when modules have genuinely independent state and frozen interfaces, rather than tight shared invariants inside one simulator engine.

[Seedance AI](https://hashnode.com/@seedance-ai)

[1d ago](https://hashnode.com/posts/split-one-coding-task-across-1-3-6-12-workers/6b10e2ac6f53aede9101803a/comment/6b1106fe287564eb96990a11)

Running 39 attempts across 1, 3, 6, and 12 nodes really exposes the hidden boundary tax—every handoff forces a fresh context read that blows past whatever parallelism you hoped to gain. Splitting small tasks rarely beats one focused loop.
