SwarmCoder is a multi-agent system, and which model each agent runs on is essentially a cost decision made per task, so each agent runs on the cheapest model that can do its job well. The expensive frontier models are reserved for judgment, and the bulk of the token volume (the workers) runs as local swarms on your own hardware.
Frontier models are needed where there is no test in front of the output.
Workers get eight attempts and a verification gate, so cheap local models are generally good enough. The judgment roles get one shot at an artifact that nothing downstream can check mechanically, and that is where the frontier spend goes. Keep in mind that it scales with the number of tasks and not with the number of tokens.
These agents get one shot each at an artifact that everything downstream inherits. This is the small, bounded part of the bill.
Real judgment, but structured and narrow enough that a capable mid-tier model is usually enough.
This is where the tokens actually go, and all of it runs on your hardware at the cost of electricity.
Frontier token prices are heavily subsidized today and there is no guarantee that this lasts. Most agentic coding platforms are built in the other direction, consuming more frontier tokens with every release, and if that pricing ever becomes a real cost price those platforms become prohibitively expensive more or less overnight.
SwarmCoder's split is a pre-emptive answer to this. Cloud cost scales with the number of tasks, i.e. a handful of small, structured judgment calls per story, enforced by a hard per-run cap. Local cost scales with implementation tokens, and those are priced in electricity on hardware you own.
If frontier prices rise 10×, the judgment slice of a SwarmCoder run rises with them, and the 95% of token volume that is local does not move at all.
Agentic software development with full traceability, built on ZeroZ4j by Franz Schöning, Principal Enterprise Architect.