# Latency

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

Canonical URL: https://thecompanybrain.com.br/en/glossary/latency
Authors: Luiz Gardelin
Updated: 2026-11-15T00:16:56.560Z

Latency is the elapsed time between a defined starting point and ending point in a request. In [Google's introduction to inference metrics](https://developers.google.com/learn/pathways/ai-models-on-gpu-intro), 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](/en/glossary/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](/en/glossary/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

- [Intro to Inference: How to Run AI Models on a GPU](https://developers.google.com/learn/pathways/ai-models-on-gpu-intro): Introduction to latency and requests per unit of time; no universal benchmark values.

## Related reading

- [Processing capacity](/en/glossary/processing-capacity)
- [Observability](/en/glossary/observability)
- [AI system monitoring](/en/glossary/ai-system-monitoring)
- [Autoscaling](/en/glossary/autoscaling)
- [Batch processing](/en/glossary/batch-processing)
- [Context caching](/en/glossary/context-caching)
