AI 热点

Uber 将 Claude Code 会话压缩阈值设为 400K tokens 以控制 AI 成本

Rohan Paul更新于 11月20日 09:57

Uber compacts engineers’ Claude Code sessions at 400K tokens, even on million-token models, after exhausting its AI budget.

AI 导读

Uber 在 AI 预算耗尽后,即使使用百万 token 模型,也会在 Claude Code 会话达到 400K tokens 时进行压缩。其每周智能体请求量从 2 月到 8 月增长 9.4x,AI 编码工具周活跃用户增长 7x,但整体 AI 支出自 4 月以来基本持平;每 1,000 次请求成本较峰值下降近 34%,单次会话成本较 6 月峰值下降 52%。Uber 还通过连接中央 MCP 网关的命令行工具访问 MCP 服务器,以避免在首次提示词前预加载 100-plus 个工具描述所需的 50K to 70K tokens。

推荐理由

AI 评分 73

Uber以会话压缩和集中式MCP网关控制上下文成本,为大规模部署编码智能体提供了可迁移的工程思路。

主题

标签

正文

Uber compacts engineers’ Claude Code sessions at 400K tokens, even on million-token models, after exhausting its AI budget.

Weekly agent requests at Uber grew 9.4x from February to August and weekly active users of its AI coding tools grew 7x, yet overall AI spending has stayed roughly flat since April.

With the model held constant, cost per 1,000 requests fell almost 34% from its peak and cost per session fell 52% from its June peak, but Uber gives no savings figure for any single default.

Uber still runs MCP servers, but agents reach them through command-line tools tied to a central MCP gateway, because preloading descriptions for 100-plus tools costs 50K to 70K tokens before the first prompt.

来源

Rohan Paul