哈佛新论文发现,编码智能体处理的 token 中有 94.8% 是对缓存上下文的重复读取,而非新任务内容。作者记录了 1 名工程师 10 周内使用 Claude Code 的 42 个会话、约 10 亿 token,并据此构建能耗估算器:每生成 1 个 token 约读取 260 个缓存 token,会话内上下文增长 5.3 倍。
New Harvard paper finds that 94.8% of a coding agent's tokens were re-reads of cached context, i.e. 94.8% of the text the AI processed was earlier conversation it was re-reading, not new work.
And that re-reading raises its estimated energy use about 25 times, from roughly 10 to 250 kilowatt-hours over 10 weeks.
Energy estimates for LLMs usually price single request-and-response calls. Agents re-read a growing context on every call and hand work to subagents, which those estimates can miss.
The authors logged 10 weeks of real Claude Code use by 1 engineer, about 1 billion tokens across 42 sessions. They built an energy estimator that charges cached tokens for attention reads but not full reprocessing.
About 260 cached tokens were read per generated token, and context grew 5.3× over a session. The cache-aware estimate came to about 250 kWh, against about 10 kWh from the output-based EcoLogits estimator.
If you track agent cost or emissions, count cached reads and subagent calls, and start new tasks in fresh sessions when possible.
来源:Rohan Paul · x.com