AI Glossary Term

What does “Latency” mean?

Definition

The time between sending a request and receiving the model's output.

How Latency works

Diagram for Latency, steps in order: You send a request; then Network travel; then Queue and model processing; then Reply returns; then Total wait = latency.You send a requestNetwork travelQueue and model processingReply returnsTotal wait = latency

Example

A voice assistant needs to start speaking within about a second to feel natural. If the model takes five seconds to respond, the pause feels broken even if the answer is excellent.

Why it matters

Responsiveness affects whether people keep using an AI product. Larger models and longer outputs generally increase latency.

Common questions

What is time to first token?

The delay before the first piece of the answer appears, which matters for streaming chat interfaces.

How can latency be reduced?

Smaller or compressed models, caching, faster hardware, shorter outputs, and techniques like speculative decoding.

Is latency the same as throughput?

No. Latency is time per request; throughput is how many requests are handled per unit time.

Learn more in our free guides

Test yourself

See also