← AI Architecture Patterns
Core

Latency Budgets for AI Features: Allocating Milliseconds Across the Request Path

A latency budget allocates a target end-to-end time across each stage of an AI request: queueing, retrieval, time to first token, generation, tool calls and rendering. This guide gives the formula, a method for building budgets at p95, the levers for each stage, and how to decide what to cut first.

CONCEPT / AI ARCHITECTURE PATTERNS

Free account

Read this concept with a free account

Read this concept at no cost by signing in with Google.

no card needed
RELATED CONCEPTS
PRACTISE THIS CONCEPT