英偉達調度層讓詞元消耗減半
Ad Skip to content Nvidia's SoL-Pi system cuts coding agent token usage nearly in half by optimizing the harness Jonathan Kemper View the LinkedIn Profile of Jonathan Kemper Sep 26, 2026 Nano Banana Pro prompted by THE DECODER A new Nvidia paper describes a system that automatically optimizes the control layer of coding agents, known as the harness.
Token usage drops by almost half while performance stays roughly the same, according to the researchers.The longer AI agents work unsupervised, the more expensive they get.Single predictions turn into long chains of reasoning, tool calls, and feedback loops, and token usage balloons along the way.
A new study from Nvidia researchers tackles these costs not at the model level but at the harness, the control layer between the model and its environment used by systems like Codex, Claude Code, or OpenClaw.
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 The harness controls how an agent sees states, runs actions, and processes feedback.
Most efficiency methods so far have focused on cutting the cost per token through faster attention kernels and serving infrastructure, model compression like quantization, or swapping in cheaper models.
AI explores 152 directions to find leaner control logic Optimizing the harness is hard in practice because tool usage, context management, verification, and abort logic are all tightly coupled.A change that saves tokens in one place can trigger errors elsewhere or just push costs into a later phase.
Typically, humans sift through long execution traces and translate recurring failure patterns into code.The system, called SoL-Pi, automates that work.A research agent watches another agent's traces, proposes changes, and tests them in prepared environments.
Capability and efficiency checks determine which candidates survive.The approach draws on recursive self-improvement, according to the authors.The held-out evaluation happens only after the harness is frozen and doesn't feed back into the search process.
| Image: Nvidia Across 535 executable environments, the system explored 152 directions, including 495 tasks derived from GitHub issue-pull-request pairs and 40 synthetic test cases.In total, the process generated more than 3,000 runs and over 60,000 agent-environment interactions.
According to the researchers, this scale shows how broadly the system searched, but more search doesn't automatically yield better results.
That's a risk here, because earlier work showed that automatically optimized harnesses tend to overfit to their training tasks and offer little benefit on unfamiliar ones.SoL-Pi addresses this by strictly separating search feedback from evaluation.
The researchers used EdgeBench as their test benchmark and walled it off from the search process entirely.Of its 51 public tasks, they used 11 for one-time validation of finished candidates.The remaining 40 were reserved for final evaluation, and those results never fed back into the search.
Four mechanisms that eliminate wasted work The search produced four mechanisms.Action Fusion merges two consecutive steps into one, such as a code edit followed by a test run, which eliminates an entire language model call.
Online Context Compact runs after each planning step and trims accumulated context whenever it can do so without losing important information.ObservationPack archives long tool outputs and drops in a short summary on later steps rather than resending the full text each time.
The Evidence-Preserving Reducer routes large error and test logs to a cheaper model that boils them down to the key findings, with an automatic verification step catching any critical clues that slip through.
Nvidia searches across 535 executable environments for mechanisms and holds EdgeBench back for final evaluation.| Image: Nvidia On EdgeBench's 51 public tasks, SoL-Pi performs about as well as the original Pi harness, according to the researchers.
How much token usage drops depends on the configuration.The most efficient variant combines all four mechanisms, uses 49 percent fewer tokens, and reaches 93.7 percent of Pi's score.Users who prioritize performance and pick only the strongest single mechanism beat Pi's score by 5.
3 percent while still saving tokens.Across both variants, token usage drops by 44.7 to 49 percent.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 In dollar terms, the authors estimate savings of $8.
75 to $13.50 per hour compared to native Codex and Claude Code harnesses, and $4.36 to $5.71 per hour compared to Pi, based on current API prices.The researchers built the system with GPT-5.6 Sol only and then applied it to Opus 5 without any changes.There, it retained 94.
3 percent of Pi's performance with similar savings.But the mechanisms triggered less often and less aggressively under Opus 5, which the researchers attribute to the harness being optimized solely on GPT-5.6 Sol trajectories.
Results get messier on other benchmarks Beyond EdgeBench, the picture is more mixed.On 63 CPU tasks from Terminal-Bench 4, SoL-Pi solves only 15 tasks while Codex and Pi each solve 18.Total costs still came in about a quarter lower than Pi's.
On the formally verified Lean 4 tasks from the 2026 Math Olympiad (IMO 2026), the system cracked three of six problems at the lowest cost per solved problem.In a kernel optimization experiment, a swarm of 20 SoL-Pi workers cut costs by 26.8 percent compared to a comparable Pi swarm.
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 The efficiency gains come with trade-offs, because shorter context can reduce prompt cache reuse.
Total costs in one test run still dropped from $1,339 to $894.Looking ahead, the authors suggest pretraining the harness across many tasks, similar to how models are pretrained, and using an already lean harness to make searching for its successor cheaper.
They call this recursive efficiency improvement a vision, not a finding from the current study.
How much the harness shapes an agent's costs became clear in an August test by tooling company Composio, which ran Deepseek V4 Flash across four agent frameworks including Claude Code and the Pi-based Oh My Pi.
The cost per solved task varied by nearly 3x even though the same model was doing the work.The pricing and optimization pressure keeps growing because agents consume ever more tokens.
According to OpenRouter analyst Peter Walker, agentic token usage has grown 14x since February 2026, and nearly 70 percent of that comes from cached prompts.Context compression of the kind SoL-Pi uses can have side effects, though.
One study found that compression preserves only 17 percent of user instructions on average.Parallel agents drive up costs too.
Codex developer Eric Provencher recently warned that more than two sub-agents almost always burn tokens without improving quality, since they spend most of their time checking each other's work.
AI News Without the Hype – Curated by Humans Subscribe to THE DECODER for ad-free reading, a weekly AI newsletter, our exclusive "AI Radar" frontier report six times a year, full archive access, and access to our comment section.Subscribe now Read on for the full picture.
Subscribe for hype-free coverage.
Full access to every article on THE DECODER No ads Join the comments and community discussions A weekly AI news recap via mail 6x/year: "AI Radar" — deep dives on the AI topics that matter most Daily AI news, always up to date Our full ten-year archive Covered by a team with 10+ years in AI Subscribe to The Decoder BETA-TEST × wpDiscuzInsert BETA-TEST × wpDiscuzInsert
Related
相關文章
B2A崛起!Agent 14大應用與Infra賽道一文看懂
編譯 | 江宇 編輯 | 漠影 11月12日消息,近日,硅谷知名風投機構a16z官網刊文《Welcome to the B2A Economy》(歡迎來到B2A經濟時代),提出新判斷:AI Agent正在成為互聯網的主要用戶,企業未來不僅要爭奪人類消費者,還要爭奪AI Agent帶來的流量和訂單。
千億美元AI雲市場,算力軍備競賽之後拼什麼?
作者 | 三北 編輯 | 漠影 近日,一位智算雲企業的工作人員告訴,最近半年,客戶的需求點發生了顯著變化:過去他們問“一張卡多少錢、能租多久”,現在問題變成了“一百萬Token花多少錢、任務能不能穩定跑完”。 問題的變化,折射出AI基礎設施的一次重要升級。 全球AI雲市場仍在高速擴張。知名行研機構Gartner預計,到2030年AI雲市場將達到2670億美元(約合人民幣1.78萬億元),其中新雲(NeoCloud)廠商有望拿下其中20%的份額,後者也是一個3500億元人民幣級別的市場。
亞馬遜雲科技宣佈在華三大能力升級,進一步完善Agentic AI全棧技術能力
作者 | ZeR0 編輯 | 漠影 11月12日報道,昨日,亞馬遜雲科技宣佈,在全球領先、可信賴、懂行業和本地化四大核心優勢的基礎上,進一步升級在華的技術能力、安全能力和本地化支持。 此次升級將進一步完善Agentic AI全棧技術能力、強化AI安全防護能力,並通過面向客戶的多層次技術協作、開發方法賦能與人才培養強化本地化支持,助力企業推動AI Agent從概念驗證走向規模化應用,將AI創新轉化為實際業務價值。
OpenAI第三季度營收突破100億美元,環比增長近50%
強勁的市場需求以及近期AI模型的推出,被認為是推動營收回升的主要因素。與此同時,其調整後營業利潤率從第二季度的-150%收窄至第三季度的-109%,盈利狀況有所改善。此前,OpenAI第一季度和第二季度營收增長率據稱均約為18%。儘管公司擁有超過10億用戶,但其中相當一部分可能是免費用戶或低價訂閱用戶,企業級市場表現仍落後於競爭對手Anthropic。
雙十一換機正當時:華為Mate X7購機好禮,降低摺疊旗艦換新門檻
雙十一臨近尾聲,手機市場換新熱潮持續走高。不少華為老用戶面臨換新抉擇:手中的華為直板機雖可正常使用,但電池已需一天兩充,夜景拍攝時常模糊,多應用同開切換偶爾卡頓……如果換新直板旗艦,僅能收穫影像、性能的小幅提升,日常用起來幾乎沒有區別,新鮮感三天就沒了。想要獲得顯著的體驗躍升,摺疊屏是不錯的選擇,其獨有的大屏交互形態擁有直板機型無法比擬的優勢;只是萬元價位門檻、後續養護成本等顧慮,仍讓不少用戶舉棋不定。
剛剛,騰訊版搜索引擎來了!幾乎沒廣告,能搜公眾號
作者 | 畢偉豪 編輯|心緣 11月11日報道,今天,騰訊正式推出面向普通用戶的全新搜索產品“元寶搜索”,通過獨立網站和QQ瀏覽器入口提供搜索服務。 此次上線的元寶搜索,主打權威信源優先、AI深度融合等能力,不僅能夠直接生成AI總結、連續追問,還支持原始信息溯源。 此外,元寶搜索接入微信公眾號、視頻號等內容來源,提供學術科普、組織機構、主流媒體等專門頻道,並針對汽車、影視、健康等場景推出結構化卡片。