Primary sourcearXiv: Anthropic
View sourceEvent ·Official first-hand
缓存预热有意义:面向智能体工作负载的保活经济学
前沿大模型提供商(如Anthropic、OpenAI、Google、DeepSeek)缓存已处理的提示前缀,后续相同前缀请求仅需支付约10%输入价格并跳过大部分预填充延迟。然而智能体工作流因工具调用或等待常间隔数分钟,导致缓存被清除而需全额重新预填充。本文提出客户端保活机制,在空闲期间定时重放前缀以保持缓存热度,在Anthropic的5分钟TTL下最优为4分钟间隔,可将后续请求成本降低最多12.5倍。盈亏平衡分析显示,对于Anthropic,若空闲超过约46分钟则保活不再优于重新预填充。
Current read
智能体程序调用API因中间等待导致缓存失效重复收费?这篇论文给出简单解法:每隔4分钟发个ping请求保持缓存,能省12倍成本,很实用。
11 sources65° AI heatLast updated 2026/7/21 15:45:47
Evidence
11 sourcesRelated source 1IT之家
View sourceRelated source 2Decoder
View sourceRelated source 3elvis
View sourceRelated source 4AI Will
View sourceRelated source 5Guillermo Rauch
View sourceRelated source 6LangChain
View sourceRelated source 7@koltregaskes
View sourceRelated source 8宝玉
View sourceRelated source 9The Rundown AI
View sourceRelated source 10techcrunch
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.