AI2026-06 · 9 min

Streaming AI UIs: Latency Budgets and the Illusion of Instant

Perceived performance is what matters — here's how streaming and optimistic UI make AI feel instant.

People don't wait for tokens, they wait for motion

A full LLM response can take seconds, but the perceived speed is decided in the first 100 milliseconds. If the UI shows a spinner, every token feels slow. If the first token starts rendering immediately, the wait disappears.

That's why streaming matters more than raw speed: you're trading a latency problem for an animation problem, and animation is solvable.

Design the empty state as part of the experience

Streaming tokens into a blank box still feels broken. Show a typing indicator, a skeleton of the expected structure, or even a 'thinking' label that sets the user's expectation. Then stream tokens into a stable layout so the page doesn't jump as content arrives.

Use a fixed-height container for answers where you can, and animate new content in smoothly. The goal is continuity: the user should feel the assistant is thinking, not that the app is broken.

Budget it like performance work

Give AI features a latency budget: time-to-first-token, tokens-per-second, and time-to-complete. Instrument them, gate regressions in CI, and treat 'slow' as a bug with a number, not a feeling.