IInvest Like the Best
← All frameworks
InnovationGavin Uberti

The Real-Time AI Latency Budget

Measure AI latency in two numbers, then decide which products become possible when each one collapses.

Difficulty
Moderate
Time to result
~months to results
Steps
6
Confidence
85%

Uberti argues that intelligence is on a one-way trajectory, so the binding constraint on new AI products is latency — and latency has to be measured as two distinct numbers. The first is time-to-first-token: milliseconds between hitting enter and seeing the first output. The second is time between subsequent tokens. The first is much larger because the model must process the entire prompt, and because storing a long conversation in RAM while waiting for the user is usually more expensive than recomputing it — a six-message chat can turn a 200-token message into 1,200 tokens of work. Cutting the first number requires far more compute used at high utilization, which is what burning the architecture into silicon buys. The framework then maps latency thresholds to product categories: conversation breaks with a pause, robots cannot wait a second before falling, and code writing should take two seconds, not twenty.

Origin

Extracted from Invest Like the Best

Core principles

  • 01Latency is two metrics, not one: time-to-first-token and inter-token time
  • 02Prompt processing, not generation, dominates the first response
  • 03Conversation history is often recomputed rather than stored, silently multiplying prompt cost
  • 04Batching amortizes the expensive step — loading weights from memory — across many users
  • 05Latency thresholds define product categories; below the threshold, a product simply cannot exist

How to run it

  1. 1

    Measure both latency numbers separately

    Instrument time from submission to first token, and the interval between subsequent tokens. They have different causes and different fixes.

    Watch out Reporting a single average latency hides the prompt-processing bottleneck entirely.

  2. 2

    Count the real prompt, including recomputed history

    Compute the effective token count the system actually processes. A conversation six messages deep may feed 1,200 tokens back through the model even if the user's last message was 200.

    Pro tip Check whether your provider caches conversation state or recomputes it — the economics usually favor recompute.

  3. 3

    Set the threshold your product category demands

    Speech-to-speech breaks when there is a pause before the response. Robotics cannot tolerate a round trip to a data center when the machine is about to fall. Code writing wants 1,000 tokens per second so generation takes two seconds instead of twenty.

    Pro tip State the threshold as a hard number before building; it determines whether the product is feasible on current hardware.

    Watch out Assuming a product only needs a smarter model, when the actual blocker is a pause the user can feel.

  4. 4

    Diagnose whether compute or memory bandwidth is binding

    Every parameter is loaded from memory and used once in the math; loading from memory costs far more than the arithmetic. Determine which side of that trade is constraining you.

    Watch out More raw flops without matching memory bandwidth does not convert into useful throughput.

  5. 5

    Amortize weight loading across a large batch

    Because the weights are identical across users, batch queries so one expensive load serves many. GPUs manage dozens; a specialized architecture can push batch sizes into the thousands.

    Pro tip Large batching implies centralization — you need enough concurrent users in one place, which is why inference clusters look like training clusters.

  6. 6

    Re-evaluate the product roadmap at each latency step-change

    Order-of-magnitude latency improvements do not just make existing products cheaper; they make previously impossible products viable — real speech-to-speech, tree search, ingesting the whole internet in seconds.

    Pro tip Keep a list of products currently blocked purely on latency and revisit it when each hardware generation ships.

In the wild

Why speech-to-speech hasn't replaced the chat box

Uberti says he would love to talk to a model the way he talks to a human — speech avoids the misinterpretation of text. Transformer speech-to-speech models have been attempted, but the pause between speaking and hearing a response breaks conversational flow. The blocker is not intelligence; it is that the model must process the whole prompt before the first token emerges. His fix is chips that run a huge prompt in total parallel, returning responses in milliseconds instead of seconds.

→ A product category that stays stuck until latency drops by an order of magnitude.

On-device speech recognition at Google

Saying 'hello, Google' once meant sending audio to a data center, transcribing it there and returning the result — and the latency was annoying. Google responded by putting a small speech recognition model on the device. Uberti generalizes: very small transformers will live on devices for autocomplete and drafting, while the genuinely smart agents stay in hyperscale data centers, with little viable in between.

→ Latency, not capability, determined where the model had to live.

Common mistakes

Treating latency as a single average

Time-to-first-token and inter-token time have different causes. Averaging them conceals that prompt processing — inflated by recomputed conversation history — is what makes the first response slow.

Assuming only cheaper compute matters

Uberti notes people talk a big game about falling compute cost enabling more usage, but what unlocks genuinely new products is latency. Cheaper tokens do not make a conversation feel natural.

Building a medium-sized model for the edge

A 100-billion-parameter model is too big to run on a device, and if it must run in a data center you may as well use the smarter model — economies of scale in weight loading make the marginal extra computation nearly free.

Is it for you?

Best for

Product builders evaluating speech-to-speech, robotics, agentic or search products built on large models.

Not ideal for

Batch or offline workloads where response time is irrelevant and only cost per token matters.

From the transcript

“We measure it in 2 ways: first, the number of milliseconds between when you submit your response and when you get your first token back”

Gavin Uberti

“It's usually cheaper just to recompute it.”

Gavin Uberti

“With chips that have 20x better latencies than the state-of-the-art GPUs because they're able to run a huge prompt in total parallel, that lets you…”

Gavin Uberti

From the episode

Gavin Uberti - Real-Time AI & The Future of AI Hardware - [Invest Like the Best, EP.356]

Gavin Uberti

→