Explain the latency-throughput-cost triangle and the main dials you have.
Quick-fire answer from the Awesome Generative AI Guide (MIT)
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
You are trading three things: how fast a single request returns (latency), how many requests you can serve per second (throughput), and dollars per request (cost). The main dials are model size (smaller is faster and cheaper but weaker), batching and continuous batching (raise throughput at some latency cost), KV-cache reuse and prompt caching (cut cost and time on repeated context), context length (shorter is cheaper and faster), and streaming (improves perceived latency). You cannot max all three, so you name the binding constraint for the use case and tune toward it.
Full worked answer
You are trading three things: how fast a single request returns (latency), how many requests you can serve per second (throughput), and dollars per request (cost). The main dials are model size (smaller is faster and cheaper but weaker), batching and continuous batching (raise throughput at some latency cost), KV-cache reuse and prompt caching (cut cost and time on repeated context), context length (shorter is cheaper and faster), and streaming (improves perceived latency). You cannot max all three, so you name the binding constraint for the use case and tune toward it.
Learn more: Production topic
What a good answer covers
- You are trading three things
- The main dials are model size (smaller is faster and cheaper but weaker), batching and continuous…
- You cannot max all three, so you name the binding constraint for the use case and tune toward it
Key terms: Learn more
In the glossary: Continuous batching · Prompt caching
Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep