# What does a software factory cost?

> Source: <https://zarar.dev/software-factory/>
> Published: 2026-11-25 20:01:20+00:00

**Recommendation:** Budget roughly 2.6 agent runs and $66 in tokens per feature, and model merge conflicts at the ~20% rate measured for agent pull requests rather than a 2% default.
More in the playbook "Controlling LLM cost": <https://wpnews.pro/playbooks/llm-cost>

## Where the defaults **come from**

Every number is a dial above, so change the ones that don't fit you. Three defaults come from what companies have published:

- **3 people.** StrongDM runs its factory with three ([StrongDM](https://factory.strongdm.ai/) ).
- **The AI judge sends back 20% of changes.** Spotify's judge vetoes about 1 in 4 ([Spotify](https://engineering.atspotify.com/2025/12/feedback-loops-background-coding-agents-part-3) ).
- **$1,000 of tokens per person a day** , in the "Start from" menu, is StrongDM's bar. The default is $25 of tokens for one agent run. A feature takes about 2.6 runs once you count rebuilds, fixes and maintenance, which is the $66 Tokens line on the bill.

The rest are my guesses: the step times, the 15% bug rate, how many bugs tests and review catch, how fast a bug is noticed, and what an hour of waiting or of a live bug costs. One guess is low on purpose: a change has a 2% chance of a merge conflict for every other change that merges while it's open. A [2026 study of agent pull requests](https://arxiv.org/abs/2607.04697) measured about 20%, and the "Start from" menu has that factory too.

The model leaves four things out:

- Infrastructure is out of scope. The bill has tokens and CI runs, but no hosting, monitoring, agent sandboxes or tool licences.
- Spending more on tokens doesn't lower the bug rate.
- Bugs have no severity, and a live bug costs the same every hour.
- When people review only some changes, the ones they review are picked at random, not by risk.

The code, with the model and its tests, is on [GitHub](https://github.com/Arsenalist/software-factory-simulation).
