The pipeline is part of the bill
As agents run longer without supervision, one prediction becomes a chain of reasoning, tool calls and feedback loops. Token use rises with it. Most earlier cost-cutting approaches target the model or the infrastructure around it: faster attention, cheaper serving, quantization or less expensive models.
SoL-Pi targets the control layer instead: the pipeline that determines how an agent observes its environment, acts and responds to feedback. Systems such as Codex, Claude Code and OpenClaw use this kind of pipeline.
The challenge is that its parts interact. A change that saves tokens in one step can introduce errors elsewhere or simply shift costs to a later step. SoL-Pi automates the search: one research agent studies another agent’s action logs, proposes pipeline changes and tests them in prepared environments. Candidates are selected based on performance and efficiency checks.
The researchers tested 152 optimization directions across 535 executable environments, using 495 tasks derived from GitHub issue–pull request pairs and 40 synthetic tests. The process involved more than 3,000 runs and over 60,000 agent-environment interactions. The researchers caution that a broad search is not necessarily a better one: automatically optimized pipelines have previously tended to fit training tasks and perform poorly on unfamiliar ones.
To limit that risk, SoL-Pi kept search feedback separate from evaluation. It used EdgeBench as a benchmark without feeding its data into the search. Of 51 open tasks, 11 were reserved for a one-time check of completed candidates. The other 40 were used only for final evaluation, and their results were not returned to the search process.
A research AI analyzes agent traces, proposes harness changes, and keeps only those that maintain performance while cutting costs. SoL-Pi saves 50 percent compared to Codex and 54.3 percent compared to Claude Code on EdgeBench. | Image: Nvidia
Source: the-decoder.com
Four ways to spend fewer tokens
The search produced four mechanisms:
The held-out evaluation happens only after the harness is frozen and doesn't feed back into the search process. | Image: Nvidia
Source: the-decoder.com
Across the 51 open EdgeBench tasks, SoL-Pi performed about as well as the original Pi pipeline. The most economical configuration combined all four mechanisms: it used 49% fewer tokens while achieving 93.7% of Pi’s score. For users who value performance more than maximum savings, the best single mechanism beat Pi by 5.3% while also reducing token use. In two configurations, token consumption fell by 44.7–49%.
At current API prices, the authors estimate savings of $8.75–13.50 per hour compared with the built-in pipelines in Codex and Claude Code, and $4.36–5.71 per hour compared with Pi.
Nvidia searches across 535 executable environments for mechanisms and holds EdgeBench back for final evaluation. | Image: Nvidia
Source: the-decoder.com
The researchers built SoL-Pi using only GPT-5.6 Sol, then applied it unchanged to Opus 5. It retained 94.3% of Pi’s performance with comparable savings, though the mechanisms triggered less often and acted more cautiously. The researchers attribute that difference to optimizing the pipeline only on GPT-5.6 Sol trajectories.
SoL-Pi's efficiency variant cuts token usage in half compared to Pi and costs $894 instead of $1,339, with a slightly lower score. | Image: Nvidia
Source: the-decoder.com
Savings do not settle the performance question
Results on other benchmarks were mixed. On Terminal-Bench 4, SoL-Pi solved 15 of 63 processor tasks, compared with 18 each for Codex and Pi. Its total costs were about a quarter lower than Pi’s.
On Lean 4 tasks with formal verification from the 2026 International Mathematical Olympiad (IMO 2026), SoL-Pi solved three of six problems and had the lowest cost per solved problem. In a kernel-optimization experiment, a group of 20 SoL-Pi agents cut costs by 26.8% compared with a comparable Pi group.
In the kernel optimization test, the swarm with SoL-Pi workers achieves the best result and costs about a quarter less than the swarm with Pi workers. | Image: Nvidia
Source: the-decoder.com
There are trade-offs. Shorter context can reduce prompt-cache reuse, though in one test run total costs still fell from $1339 to $894. The authors propose pretraining a pipeline across many tasks, much as models are pretrained, and using an efficient pipeline to search for its successor. They describe recursive efficiency gains as a possibility, not a result of this study.
The potential leverage is credible: in an August test, Composio ran Deepseek V4 Flash on four agent frameworks, including Claude Code and Oh My Pi, which is based on Pi. The cost of solving a task varied almost threefold even though the model stayed the same.
Agent token use has also been rising. OpenRouter analyst Peter Walker said it had increased 14-fold since February 2026, with nearly 70% of the volume coming from cached prompts. But compression itself can discard useful context: one study found that, on average, only 17% of user instructions survived compression. And parallel agents can add overhead. Codex developer Eric Provencher recently warned that more than two subagents almost always means extra tokens without better results, because they spend much of their time checking one another’s work.
I think SoL-Pi’s strongest result is not the 49% figure; it is the evidence that the same model can cost nearly three times as much across different frameworks. The open question is whether pipeline optimizations can keep those savings on unfamiliar tasks without losing instructions or cache efficiency. If they cannot, the cheaper run may simply move the bill from tokens to mistakes.
Daily AI news
Every day we pick what actually matters in AI and explain it plainly — no hype, no filler. Subscribe if you want to follow where the industry is going.
Only what matters — every day
Follow on X