Skip to content
Book a conversation

Latency

Elapsed time between two defined points in a request, such as submission and receipt of the response.

Luiz GardelinUpdated Read in Markdown
All terms

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation
On this pageIntroduction

Also used as: inference latency, AI response time.

Latency is the elapsed time between a defined starting point and ending point in a request. In Google's introduction to inference metrics, the term refers to the time needed to obtain a response. The source distinguishes time to the first generated portion from time to the complete response. A measurement is comparable only when its boundaries are explicit.

People using an application need to understand how long they wait and when they can continue their work. The team should state whether timing begins when a person submits a request, when it reaches the server, or when model execution starts. It also needs to declare whether the endpoint is the first visible output or completion of the entire activity.

Time and volume are different measures

Latency is distinct from the number of requests processed in an interval. Google's material distinguishes latency from throughput and describes configuration choices that can involve trade-offs between them. Processing capacity needs assessment under defined load conditions; one fast response is not evidence that the system can serve the expected volume.

The team should record the task, input size, and configuration used. The source also introduces percentiles for examining the distribution of response times, alongside the distinction between first output and total time. Teams can select measurements suited to their process instead of compressing every experience into a single result without context.

Hypothetical example

An organization tests an assistant that retrieves documents and prepares a summary. It measures time to the first visible output separately from time to the complete answer with sources. During a period with more simultaneous requests, it repeats the measurement using comparable tasks. The analysis states where waiting increased and under which load conditions.

Observability can help investigate the path across components. Lower latency still does not establish that content is correct or that the process is satisfactorily complete. Acceptance criteria should combine tolerable waiting with required quality and the way people use the answer. A measured figure describes a configuration rather than a universal promise about the tool.

Sources

  1. Intro to Inference: How to Run AI Models on a GPU Google for Developers

    Introduction to latency and requests per unit of time; no universal benchmark values.

Written by

Luiz Gardelin

Founder and lead consultant at The Company Brain

Luiz Gardelin is the founder and lead consultant at The Company Brain, an AI organizational transformation consultancy based in Brazil. He also founded Webinhood and Tropk.ai.

See all content by this author

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation

Related terms

Continue reading

All resources