llm latency is the time between sending a request to a large language model and receiving its response. For a chat user, the first visible word matters; for an automated workflow, the finished, usable answer matters more. Measure both before declaring one model fast. A quick opening followed by a slow completion can still hold up the work.
The three timings that matter
Time to first token, or TTFT, measures how long it takes for a streamed response to begin. Start the clock when your application sends the request and stop it when the first generated token arrives. A client may receive an initial connection or metadata event before any text; counting that as the first token makes the wait look shorter than it feels.
Output speed, often expressed in tokens per second, describes how quickly the rest of the response arrives. A token is a piece of text, not necessarily a whole word. For streamed responses, a useful approximation is output tokens generated after the first token divided by the time from first token to completion. Provider-reported token counts and client-side timing may not line up perfectly, so document your method.
Total completion time runs from sending the request until the full response arrives. For a workflow that requires valid JSON, a tool call, or a complete summary, this is usually closer to the number the business cares about. Include validation and retries separately if the goal is to measure the entire task rather than just the model request.
Streaming can improve the perceived responsiveness of llm latency without making the completed answer arrive sooner. It is useful for an interactive assistant; it may add little value to a background job that cannot proceed until the entire answer is available.

What makes llm latency change?
Input length matters. A model needs to process the prompt and supplied context before generating its response. A short question with a few instructions is a different workload from a question accompanied by a long document, even if both answers are one paragraph.
Output length matters too. Generating a long report generally takes longer than generating a classification label. Some reasoning-capable models may also spend time on internal processing that is not visible as ordinary response text. Available settings and reporting vary by provider.
Infrastructure adds another layer. Provider load, request queues, network distance, rate limits, and the serving configuration can change response times. The same model accessed through two hosting providers is not necessarily the same speed test. A request that triggers a web search, database lookup, or external tool also includes time that is not solely model generation.
Finally, settings can change the comparison. Record the model identifier, output limit, any reasoning setting, streaming mode, and whether prompt caching is enabled or reported. A cache hit and a cache miss are different conditions; do not average them together without saying so.
A repeatable way to measure a workflow
Start with a real task: for example, turn a support ticket into a short category and a three-sentence draft response. Save the exact instructions and input text. Use non-sensitive sample data, or data you are authorized to send to the provider. Run the same workload against each candidate, using comparable settings rather than assuming defaults match.
For a small initial comparison, run each configuration 20 times and interleave requests across candidates. That will not establish production-grade reliability, but it is more informative than a single demo. Record request start, first generated token, completion, output token count, errors, and whether the answer passed a predefined quality check. Use a monotonic clock for elapsed time so clock adjustments do not distort measurements.
Report the median and the slowest observed run, along with the number of attempts and failures. With only 20 runs, the slowest observation is not a dependable estimate of a rare tail event. Collect substantially more data before making service-level commitments. Do not quietly remove timeouts: list them and explain any retry policy.

A comparison of llm latency should also state whether requests were sequential or concurrent, the client location, connection type, date and time window, provider, and model version. Concurrent traffic can expose queuing that a single-user test misses. If the application serves multiple users at once, test a concurrency level representative of that workload and report it.
How to lower the wait without breaking the answer
First, remove context the task does not need. Send the relevant passages from a document instead of an entire archive, but check that the selection process does not omit essential evidence. A faster response to incomplete context is not an improvement.
Next, control output length. Ask for the specific fields or concise answer the workflow needs, and set an appropriate output limit. Avoid setting that limit so low that responses are truncated. For a customer-facing draft, clarity and completeness still beat saving a few tokens.
Choose streaming when a person can use the partial answer as it arrives. For automated processing, focus on completion time and validation. If independent operations can run in parallel, orchestrating them concurrently may shorten the overall workflow, although provider concurrency limits and shared resources can reduce the benefit.
A smaller or faster model can be a good fit for routing, extraction, and routine drafts. Check its errors on your own examples before replacing a more capable option. For harder requests, a two-stage workflow can route straightforward cases to the faster model and escalate uncertain ones, but account for the extra routing step and its mistakes.
Finally, consider provider-supported prompt caching for repeated instructions or context. Confirm the cache rules, retention terms, pricing, and whether your requests actually hit the cache. Caching is not a substitute for checking privacy requirements.
Judge speed by completed, correct work
Track llm latency alongside task success, cost, and failure rate. A model that returns quickly but produces invalid output may require retries or human repair, making the full workflow slower and more expensive. Calculate cost using the provider's applicable input, output, and other charges, including retries; pricing and cache terms can change.
Before choosing a target, decide what the user is waiting for: the first visible text, a complete answer, or an action that has passed validation. Set a threshold for that moment, then monitor it under representative traffic. Keep model timing separate from tool calls and application overhead so the right team can fix the bottleneck.
Fast is a feature. Reliable is the product. The useful number is not the best response a model ever produced; it is how consistently the whole workflow delivers an answer someone can use.
Letters
No letters yet — be the first to write.