Tsinghua AI Open-Sources AKV, a Cache Engineering Server for LLM Agents on SGLang
Tsinghua University and CUHK researchers open-sourced AKV, a serving system for KV cache engineering in LLM agents.Instead of summarizing old history, agents drop selected KV cache entries and keep reusing the rest.Across 3 models and 4 agent benchmarks, average cost falls 27.7%.
Average task score rises 1.7 points.The code is Apache-2.0 licensed and builds on SGLang.TL;DR What it is: Serving system plus policy library, no weights.Tested on GPT-OSS-120B (5.1B active), MiniMax-M2.7 (230B total, 10B active) and MiroThinker-1.7-Mini (30B total, 3B active).
Runs on: NVIDIA GPUs via SGLang.Paper used 8 A800-80GB GPUs in BF16.Quick start serves GPT-OSS-120B on 2 GPUs (tensor parallel 2).Performance: 27.7% lower average cost and +1.7 points average score versus threshold summarization.Best: GPT-OSS-120B on SWE-bench Verified: cost per task 20.0 to 9.
7 cents, score 40.0 to 43.2.Worst: MiniMax-M2.7 on BrowseComp-Plus scores 58.9, 3.4 points below Text Engineering’s 62.3.What is cache engineering, and how is it different from context engineering?AKV is a Tsinghua serving system that lets LLM agents drop and reposition their own KV cache.
Context engineering trims or summarizes the text history.Editing that prefix invalidates every later KV state.The retained suffix must then be re-prefilled.Harnesses therefore summarize late and aggressively, which can lose details from middle rounds.
Cache engineering leaves the text trajectory untouched.It only changes which KV entries stay visible to attention.Retained entries are reused without recomputation.They can still carry information from dropped messages.In the research paper’s cost analysis, KV cache reads made up 82.
4% of total API cost.How does AKV work?AKV defines 3 cache operations.Append is the standard update for new tokens.Drop removes selected entries from future attention without changing positions.Repos rewrites retained keys to positions 0 through r-1 using a RoPE rotation.
Values stay unchanged, so no hidden states are recomputed.In ablations, adding Repos raised GPT-OSS-120B’s BrowseComp-Plus pass rate from 55% to 62%.The hard part is serving.Identical tokens can produce different cache states under different operation histories.
Plain prefix matching could reuse the wrong states.AKV extends SGLang’s radix tree with drop and reposition nodes.It frees dropped KV only when no active request still needs it.Segment-batch attention restores evicted states in 1 prefill pass.What does the AKV API look like?
The interface is stateless and OpenAI-compatible.Clients send the full message history and two optional fields.dropmessage maps a trigger message index to the messages to drop.reposition lists the indices after which positions get compacted.
A CachePolicy builds those fields from a trigger, a selector and a reposition rule.Built-in policies are turn-based, token-based or model-based.A CacheTool lets the model call dropcontext itself.How does AKV perform on agent benchmarks?
The main policy is a tool-response rolling drop that keeps the latest 12 tool responses.The Standard baseline summarizes at 96K tokens (192K for MiroThinker).Text Engineering summarizes at 48K.Benchmarks are BrowseComp-Plus, GAIA-Text, SWE-bench Verified and xbench-DeepSearch-2510.
ModelStandard score / costText Eng.score / costAKV score / costMiniMax-M2.752.4 / 5.052.8 / 5.753.7 / 4.4GPT-OSS-120B51.0 / 11.248.3 / 10.253.1 / 7.3MiroThinker-1.7-Mini44.1 / 20.437.1 / 18.145.8 / 14.8 Average pass rate (%) and cost (US cents per task) across 4 benchmarks.
Source: Table 1 of the paper.AKV also cuts cost 21.9% versus Text Engineering.The accuracy gap opens on long runs.On BrowseComp-Plus at 96K tokens and above, GPT-OSS-120B scores 37% with AKV.Standard scores 24% and Text Engineering 32%, per the project page.
Costs are API-equivalent estimates from published rates.Repositioned tokens are charged at the cache-hit rate, a deliberately conservative choice.Trim old tool result AReset
Context engineering (summarize text) Re-prefill work: 0 blocks Cache engineering (AKV drop) Re-prefill work: 0 blocks Both agents hold a user prompt, assistant turns and tool results. Press the button to remove old tool result A.
UserAssistantTool resultRecomputedNew turn <!-- P2 --> 1. Append D 2. Drop B 3. Repos Reset
Active KV cache (number = position encoding index) Start state: tokens A, B, C sit at positions 0, 1, 2. Step through the 3 operations.
{"messages": [...], "drop_message": {}, "reposition": []}
<!-- P3 --> Model Benchmark Pass rate (%) · higher is better Cost (US cents per task) · lower is better <!-- P4 --> Concurrency: 14 · GPT-OSS-120B · 80 long-context SWE-bench Verified tasks · 8 A800 GPUs
<input type="range" id="mtp-akv-c" min="0" max="4&qu
Related
相關文章
曝OpenAI拿下超6.7億年單!打“骨折”、送額度、配工程師,就為了搶Anthropic客戶
編譯 | 孫小雯 編輯 | 程茜 OpenAI和Anthropic為了搶用戶,最近又槓上了!10月30日,OpenAI剛將部分Pro套餐的ChatGPT Work和Codex額度翻倍;次日,Anthropic取消了已驗證Ultra賬戶的5小時用量限制,周限額保留。
英特爾與騰訊發佈基於至強6+的雲實例,曬智能體AI基礎設施全家桶
作者 | ZeR0 編輯 | 漠影 11月3日報道,近日,在2026騰訊全球數字生態大會上,英特爾與騰訊雲發佈基於英特爾至強6+處理器的騰訊雲新一代雲實例,並全面展示英特爾的芯片產品與雲端實踐。 全新至強6+處理器擁有最高288顆能效核,單顆處理器最高可支持超過1000個智能體的穩定部署,這也為騰訊雲服務器提供更高併發、更低時延、更優能效的雲端算力服務。
智元榮獲2026世界互聯網大會傑出貢獻獎
11月3日,2026年世界互聯網大會烏鎮峰會在浙江烏鎮隆重開幕,國務院總理李強出席開幕式並發表主旨演講。開幕式上,智元憑藉在具身智能領域的系統性技術突破與產業化實踐,獲頒世界互聯網大會傑出貢獻獎。智元合夥人、高級副總裁朱潔在領獎時表示:人工智能的終局,不在於屏幕與雲端,而紮根於工廠一線和尋常煙火。具身智能賽道的競爭,早已跳出單點技術的競速,轉向軟硬協同、工程化落地、產業組織與治理體系的綜合比拼。智元期待與各界同心同行,堅守務實,躬身落地。
電動車退燒、AI 儲能燒起來:LG 新能源把產能挪向數據中心
11 月 3 日,首席財務官李昌植在財報電話會上給出時間表:今年底軟包儲能系統(ESS)產能將超 50 吉瓦時,明年進一步拉到 70 GWh 以上。在他看來,電動車增速放緩之際,AI 數據中心的大規模新建為電池廠撕開了新口子——第三季度 ESS 在手訂單已達 160 GWh,公司正與電力企業、超大型數據中心運營商談新項目,今年 9 月還作為儲能供應商擠進了英偉達的 DSX Ready 計劃。
最高288核的至強6+,為了Agent高密度部署還下了哪些「雲功夫」?
作者 | 陳悅琳編輯 | 包永剛 一個智能體能順利完成任務,不代表成百上千個智能體就能同時高效運行。 對於承載大量智能體任務的雲服務器而言,除了提升計算速度,如何在任務集中到來時迅速準備好執行環境、怎樣減少暫時閒置的任務對內存資源的佔用,也成為亟待解決的問題。 對此,在一年一度的騰訊全球數字生態大會上,英特爾與騰訊雲聯合發佈了基於至強6+處理器的新一代雲實例,圍繞任務啟動效率、內存資源利用率等關鍵因素進行優化後,其綜合性能較上一代提升30%以上。
聯合國副秘書長點贊!千問AI耳夾式耳機亮相烏鎮互聯網大會
他認為,產品非常實用,適合自己日常工作中需要使用多國語言進行交流的場景。面對面交流時,用戶可以通過耳機收聽譯文;會議中的討論內容,也能通過AI聽記整理為結構化紀要,方便會後回顧。連接千問App後,用戶還可通過語音交辦資料研究等任務、接收完成提醒,讓耳機成為日常辦公的隨身助手。