LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Deployment & Operations

Model Latency

Model latency is the time between request and response for a model inference call. For LLMs it decomposes into time-to-first-token (TTFT, dominated by the prefill stage) and time-per-output-token (TPOT, dominated by autoregressive decoding).

Full definition

Total latency = TTFT + (output_tokens × TPOT). TTFT scales with input length and KV-cache state; TPOT scales with model size, batch size, and tensor-parallelism config. Targets vary: voice agents need TTFT < 300ms and TPOT < 50ms (>20 tok/s); document summarization tolerates seconds. Optimization techniques: prompt caching (cuts TTFT 5-10x), speculative decoding (cuts TPOT 2-3x), quantization, smaller models for latency-critical paths.

Why it matters

Latency is the single biggest determinant of perceived quality in real-time AI products. Procurement should require TTFT and TPOT P50/P95 numbers under target load — not just "average latency" marketing claims.

Example

A customer-service agent on Claude Sonnet 4.5 with prompt caching: TTFT P50 = 250ms (cached) vs 1.8s (uncached); TPOT = 12ms. Net effect: cached responses feel instant, uncached feel slow.

Source & further reading

Primary source: NVIDIA — "Mastering LLM Techniques: Inference Optimization" (2024).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/sv/glossary/model-latency/.