Vibeleaderboard
← All Intel
Intel / post

How Uber cut agent session costs 52% while scaling usage 7x

Source
x.com
Publisher
Uber
Date

https://t.co/4E91KTbzDU

Context

Uber says it cut the cost of an average AI agent session by 52% from its June peak, even as weekly users of its agent tools grew 7x and weekly agent requests grew 9.4x between February and August 2026. In its engineering write-up, also posted on X, the company explains how it isolated that number: because new model versions change behavior and price, it held one model fixed from February to July and tracked cost per session and per 1,000 model requests, the latter down almost 34% from its peak. Uber says total AI spending has been relatively stable since April. It does not publish dollar amounts.

Uber says most of its optimization effort goes to tokens the agent spends on its own behalf, on top of the request the engineer actually made. Every turn of an agent conversation re-sends the history, project and tool results, so anything carried in that payload is billed again and again. Uber found that with more than 100 tools installed through (Model Context Protocol, a standard way to connect agents to tools), the tool descriptions alone added roughly 50,000 to 70,000 tokens before a user typed anything. It now exposes its tools as commands that are looked up only when called, plus a tool search that loads definitions on demand. A similar idea, which Uber calls code-mode, lets the model write a short script that runs a database query and polls for the result, returning only a summary, instead of spending a model turn on every status check. In Uber's test of five identical queries run both ways, code-mode used more than 50% fewer tokens, and the company says bulk workflows save more than 90%.

Other changes target price per token rather than token count. Interactive sessions now keep cached context for one hour instead of five minutes, because engineers often pause longer than five minutes and an expired cache forces the full history to be reprocessed at the standard rate; Uber cites cached reads at 0.1x the normal input price against a 2x write premium for the longer window. Subagents, which handle narrow delegated tasks, default to a cheaper model, and Uber calls that default its most impactful lever in interactive tools. For its automated agents, such as AI code review, it picks models by benchmarking them on its own past pull requests.

The figures are Uber's own, measured on its codebase and workloads, and the article notes that results will vary elsewhere. The charts and tables behind several numbers were not part of the text available here. What Uber says carries over is the method: benchmark models on real work and optimize for accuracy and cost together.

Terms in this piece · Glossary
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.
  • Terminal and shell — A text interface for navigating files and running programs.
  • Database and SQL — Persistent structured storage queried and changed through explicit operations.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads