Productivity

NVlabs releases SoL-Pi, an extension for the Pi coding agent that its authors say cuts tokens by 45 to 49 percent

September 12, 2026 at 12:20 AM PT

The SoL-Pi GitHub repository card

Image: NVIDIA Labs

Why it mattersThe wrapper around the model decides how many times the context is replayed and how much of each tool result is kept alive on every turn, and those numbers are measurable at the harness level and changeable without switching model.

NVIDIA Labs released SoL-Pi on 2 September as an open-source extension for the Pi coding-agent harness, and posted its technical write-up at nvlabs.github.io/SoL-Pi. The repository had 1,234 stars ten days later. Every efficiency number below is what the authors report about their own tool.

Pi is a lightweight coding-agent harness from Earendil. SoL-Pi installs on top of an unmodified Pi release, uses Pi's public extension APIs, and ships four mechanisms disabled by default.

What the four mechanisms change

Action Fusion watches for the pattern where an edit is followed by a validation command in the next turn. It runs the two together and returns one observation, saving a model round trip. NVlabs writes that in base Pi rollouts, adjacent edit-then-command pairs made up 12.3 percent of cross-turn transitions.

ObservationPack archives large tool results locally, then leaves a handle and a short excerpt in the context window. Later requests recall exact pages only when needed, so a big file does not travel with every subsequent turn.

Evidence-Preserving Reducer hands long build and test logs to a cheaper agent first, which produces a receipt. Every quoted line in the receipt is verified against the archived original before the frontier model sees it. Delegation does not require trusting a summary.

Online Context Compact waits for a subtask to finish, then reconsiders compaction. It runs only when expected future savings are large enough to pay back the rewrite.

The numbers the authors report

On EdgeBench, a 51-task suite of long-horizon work that NVlabs used as a held-out test set, SoL-Pi retains about 94 percent of Pi's average score. Against Pi, it uses 45 to 49 percent fewer tokens and about a third less cost. Against the model-native harnesses for Codex and Claude Code, it uses 35 to 64 percent fewer tokens at 50 to 54 percent lower API-equivalent cost.

The Terminal-Bench 4 result is more mixed and worth reading in full. On 63 tasks, Codex solved 18 for $272.35, Pi solved 18 for $286.45, and SoL-Pi solved 15 for $211.12. Per solved task that comes out to $15.13 for Codex, $15.91 for Pi and $14.07 for SoL-Pi. The saving is real, and three tasks that Pi and Codex finished, SoL-Pi did not.

For a researcher running one long problem, NVlabs estimates savings of $8.75 to $13.50 per hour compared with the native Codex and Claude Code harnesses, and $4.36 to $5.71 per hour compared with Pi. Backend model choice sets the range.

The caveats the authors keep in the write-up

All comparisons ran at the highest reasoning-effort setting NVlabs tested. Costs are API-equivalent estimates that price recorded token use at each model's Standard rates, not subscription invoices. Preparation time and requests without returned usage are outside the plotted totals.

The team also ran a swarm test on Anthropic's kernel-optimization take-home. One Sol coordinator with 20 Luna workers running SoL-Pi reached 1,127 cycles at $60.11 in API-equivalent cost, against 1,333 cycles at $39.20 for a single Sol and 1,366 cycles for 20 stock-Pi workers at $82.12. The authors state on the page that this is one nonrandomized trial per condition and that the SoL-Pi run paused three times for network repairs, so a causal estimate is not available.

A team weighing the extension can start with the two local mechanisms. Action Fusion and ObservationPack add no model calls and cannot stop an active run, and NVlabs turns them on in the default configuration. The reducer and the compactor add model calls of their own, so leaving them off until the local ones are proven is the safer order.

Source

Source: NVIDIA Labs

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

More from AI News

Spotify open-sourced the Claude Code plugin that sends its big file reads to a cheaper model

Spotify published a Claude Code plugin that intercepts large file reads and routes them to a cheaper worker model, and says the mean saving on bulk reads was around 90 percent.

Source: Hacker NewsProductivity

Spotify measured 90% fewer tokens by sending bulk file reads to a cheaper model

Spotify says routing large file reads away from Claude Code to a cheaper worker model cut token use by about 90% on average, tested against a Java monorepo across four scenarios.

Source: Hacker NewsProductivity

Same model, same tasks: one coding harness used 3,500 tokens per solved task and another used 292,000

The New Stack collected three benchmarks of coding-agent harnesses. Holding the model fixed, tokens per solved task ranged from about 3,500 to 292,000, and most of the gap came from the system prompt each harness ships before any work starts.

Source: PressProductivity