Explain it in 60 seconds
LLM latency: time to first token and throughput
Machine Learning · LLM Fundamentals · Beginner
What determines how fast an LLM responds?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Time to first token: processing the prompt (prefill) plus queueing.
- Tokens per second: generation speed (decode).
- Longer prompts increase time to first token; longer outputs increase total time.
- Model size, hardware, load and reasoning steps matter.
- Streaming improves perceived latency.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.