# Codex subagents raise coding scores slightly at up to 3.8 times cost

A University of Illinois preprint finds that letting Codex hand work to parallel helper agents adds only a few points on randomly chosen build-a-program tasks. On hard tasks the gain is larger, and a one-sentence prompt or a fresh start can recover much of it.

- Category: Code
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-11-26
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/codex-subagents-raise-coding-scores-slightly-at-up-to-3-8-times-cost

## The study

When Are Parallel Subagents Effective for Coding? An Empirical Study on Repository Construction (preprint, not peer reviewed). arXiv 2611.33893. https://arxiv.org/abs/2611.33893

## At a glance

- What it shows: When an AI coding assistant is allowed to split work among several helper agents running at once, it builds programs that pass only slightly more hidden tests. It costs two and a half to almost four times as much. Spending the same money on one agent working alone does as well or better.
- What it does not show: It does not show that helper agents never pay off: on hard tasks they gained more, and in one long run they gained a lot. It also does not prove why they help, since one of the three explanations was only observed.
- Why it matters: Products such as Codex and Claude Code switch on helper agents with a single sentence, and the bill grows whether or not the result improves. This study gives teams a basis for deciding when that extra spend is worth it.

## What the study shows

The authors compared two set-ups in OpenAI's Codex coding assistant. In one, a single agent works alone. In the other, a main agent may delegate parts of the job to subagents: separate agents that run in parallel, share the same files and report back. The task was repository construction, meaning building a whole program or library from a description. Tasks came from two public benchmarks, NL2Repo and ProgramBench. Scores are the share of hidden tests passed, which the agent never sees.

On 30 randomly drawn tasks per benchmark, subagents raised the final score by about 1 to 5 points across three generations of the GPT Sol models. They cost 2.6 to 3.8 times as much. At equal spend, the single agent matched or beat the subagent set-up on both benchmarks. Two repeat runs of the same set-up on one task differed by about 7 points on average, more than the typical gap between the set-ups.

The gain was larger on ProgramBench's hard tasks. ProgramBench also gives the agent a working copy of the program it must rebuild, called the reference program, which the agent can run and compare against. The authors traced the hard-task gain to three factors. The first is self-checking: single agents tended to stop as soon as their own checks passed. On 16 hard tasks with GPT-5.6 Sol, one added sentence telling the single agent to probe the reference program first raised its score by 6.7 points, against 8.8 points for subagents, at a much smaller extra cost.

The second factor is fresh context. In long runs of up to 20 hours on three hand-picked tasks, restarting a single agent with an empty conversation every few hours made faster early progress than letting one long session continue. The third is modularity: the subagent set-up split its code into more files with shorter functions. On one task, delta (a tool for viewing file differences), where the single agent put nearly all its code in one file, subagents ended clearly ahead even at equal cost. On another, solar (a compiler), subagent edits to shared code broke working features and that set-up ended lower.

Newer models narrowed the gap on their own. On the hard tasks, the average subagent gain fell from about 9 points with GPT-5.6 Sol to about 3 with GPT-6.1 Sol, as newer single agents worked longer before stopping. A smaller repeat with Anthropic's Opus 5.5 in Claude Code, one run per setting, showed a similar overall pattern. This is a preprint and has not been peer reviewed.

## Our reading

In our reading, the headline result is a cost result rather than a quality one. On ordinary tasks, subagents mostly buy a slightly higher score at a much higher price, and the gain is smaller than the noise between two repeat runs. For a team deciding whether to switch subagents on by default, that is a reason to leave them off.

The more useful finding is where the gain comes from. Much of it seems to come from checking work more thoroughly before declaring the job done, not from parallel effort as such. If one sentence can recover most of the gain for one model, the cheaper fix is to prompt or train a single agent to look for its own mistakes. For example, a team asking an agent to rebuild an internal command-line tool from an existing binary could first try a probe-first instruction and a scheduled fresh restart, and only add subagents if those stall.

The caveats are substantial. The probe sentence helped only one model generation, did not transfer to another agent harness or to NL2Repo, and depends on having a reference program, which most real projects lack. The long-run results rest on three chosen tasks with one or two runs each.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/codex-subagents-raise-coding-scores-slightly-at-up-to-3-8-times-cost

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
