Latency

How long you wait between sending a request to a model and getting a response.

term

Latency is the delay. For a language model, people often look at two parts of it: how long until the first words appear, and how long until the whole answer is finished.

It depends on things like the size of the model, how much text it has to read, how long the answer is, and how busy the servers are. Agents that take many steps add up the delay of each one.

Low latency matters most when a person is waiting, as in a chat or voice assistant. For background jobs, a slower but more capable model may be the better choice.

Example

A voice assistant feels natural only if it starts replying soon after you stop talking; a long pause makes it feel broken.

Related