开发者实测 agent 栈首条消息前烧掉 92,413 tokens

princejain756 · reddit · 2026-10-12

Reddit 用户 princejain756 开源了 ctxvitals 工具,实测 AI agent 配置的真实 token 开销。受此前“15+ MCP server 挂载就烧 6 万 tokens”讨论启发,他做了逐项测量:

工具零依赖、需 Node 18+(npx ctxvitals),也可作为 Claude skill 让 agent 自查上下文开销。

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →