Topics

AI latency: measure the wait for completed work

AI latency in a business workflow is the wait between starting a task and getting a usable result. Before choosing a model on response time, separate time to first token, time to the full response and time to completed, accepted work. A quick first word does not tell you when a ticket can be closed or an invoice approved.

Updated Nov 23, 2026

What does AI latency measure?

Time to first token (TTFT) is the wait from sending a model request to receiving its first content token. Full-response time ends when the model's response finishes. Neither necessarily includes the work before the request or after the answer: finding a customer record, checking a policy, calling a tool, retrying a failed step or approving a draft.

For an operations decision, define completion as a result that meets your acceptance rules. Keep elapsed completion time separate from staff handling time: a reviewer waiting in a queue and a reviewer actively correcting an answer are different costs.

OpenAI's latency guidance distinguishes first-token timing from the complete user wait through retrieval, tools, retries and rendering. It is vendor guidance, not an independent benchmark. Our recommendation is to extend the measurement through any required business review and successful action.

How to compare unlike response-time claims

Use this evidence-reading table before copying a number into a buying decision. An unreported condition is unknown, not zero.

Evidence to recordWhat to askWhat not to infer
Metric and timing boundaryIs this TTFT, full model response, time to first audio, or completed work? Where exactly does the clock start and stop?First token is not a finished answer; a server-only timer is not the customer's whole wait.
Summary statisticIs it a median (p50), a 95th percentile (p95), or a single run? How many requests were measured?A median is not a promise for the slowest requests. Do not compare a p50 with a p95 as if they were the same metric.
Environment, model and versionWhich model revision, provider, region, hardware, runtime, quantisation and service tier? Was the cache warm?A model name alone does not identify the tested configuration.
Workload and concurrencyWhich tasks, input and output lengths, reasoning settings and limits? How many requests ran at once, and at what arrival rate?One short prompt or serial test does not establish response time during your busiest queue.
Tools and human reviewAre retrieval, tool calls, network time, retries, rendering, approval and rework inside the timer?Excluded overhead has not disappeared. Record both elapsed time and active staff effort.
Source and dateWho ran the test, when, and where is the method? Is it a vendor claim, an independent test or your own measurement?Reporting a vendor's number does not independently reproduce it. An article's date may differ from the experiment date.
Unknowns and acceptanceWhich conditions, errors, timeouts, costs or quality checks are absent? Did the result pass the same acceptance test?A quick failure is not completed work. Keep failed attempts in the time and cost ledger, and report the failure rate separately.

Why faster token output can finish later

Illustration only, not a benchmark or a comparison of real models. Assume two configurations both produce acceptable answers; all steps below run sequentially, without overlap. Each has a one-second first-token wait, three seconds of tool work and 20 seconds of review. Assume the remaining visible output is 600 tokens at 100 tokens per second for A, and 100 tokens at 50 tokens per second for B.

  • A: 1 + (600 ÷ 100) + 3 + 20 = 30 seconds to accepted completion.
  • B: 1 + (100 ÷ 50) + 3 + 20 = 26 seconds to accepted completion.

A emits tokens twice as fast but finishes four seconds later because it produces more text. These assumed rates and lengths demonstrate the arithmetic only. Real tests must measure output length, quality and the actual sequence of work; do not add overlapping steps twice.

Include tools, review and the action itself

For a support reply, time the record lookup, policy check, draft, approval and successful send, not just the model call. Record exceptions, failed calls and repeated drafts. If a result never passes, mark it failed rather than counting a fast attempt as a resolution.

A workflow with several model and tool steps needs a trace of where the wait occurs. Our agents coverage follows those systems; the implementation checklist sets out ownership, acceptance and rollback before a rollout. Neither replaces timing your own work.

When does a latency difference matter?

Set a deadline for the workflow, not a universal definition of “fast.” A caller waiting for a response and an overnight invoice batch have different constraints. Before a pilot, agree the acceptable completion time, quality threshold, exception rate and cost per accepted task. Measure typical and slow requests on representative work under expected peak load. Keep quality and cost beside the timing result so that a speed gain cannot hide more review or rejected work.

Change the configuration only if it improves the bottleneck that matters to that deadline. Repeat the comparison after a material model, prompt, tool or workload change. This is a test plan, not a forecast of savings.

Reported latency evidence: what these examples establish

AWS decision routing, source published 12 October 2026. In its primary report, AWS measured Qwen3.5-4B in Q4_K_M quantisation on 231 JevBench tasks sent serially. Its CPU configuration (ml.c6i.8xlarge, 32 threads) had client p95 of 19.291 seconds; its GPU configuration (ml.g6e.xlarge, full offload) had p95 of 0.599 seconds. These are AWS's measurements of option scoring, not streamed text or completed support tickets. Network time is included. The runtime builds differed; AWS says the one-answer accuracy gap is runtime variation, not evidence of a GPU quality gain. The test does not establish concurrent-load performance or human review time. Read our account of the configuration and limits.

AWS's JumpStart test harness, source published 14 October 2026. The primary walkthrough deploys a model, times sample requests and deletes the endpoint. It is vendor-published implementation guidance, not evidence that one timed prompt selects a model for a business queue. Our reporting explains the single-request example's limits.

These examples were checked against the linked primary sources for this guide; Models at Work did not independently rerun the experiments. The automatically collected articles and practitioner signals below are separate reporting, not additional measurements made by this guide.

Articles

What practitioners are saying

All signals →
  • Shopify engineering

    Shopify puts one 2.6B-parameter generative model behind search and recommendations: 25.5 ms p95, orders up 7.95% on the Shop feed

    Shopify says a shared model trained on search and recommendation data is in production as a candidate generator. It reports a 7.95% lift in orders on the Shop home feed and a 2.1-point gain in its OneDCG@10 search metric. It says it chose Liquid AI's LFM2-2.6B at 25.5 ms p95 over Qwen3-14B at 108.4 ms, and cut constrained-decoding overhead from over 50 ms to about 1 ms per request.

    Why it matters A first-party account of picking a small open-weight model on latency budget, not peak quality, with the benchmark table to show the trade; all figures are Shopify's own.

  • Hacker News

    Apple research: small learned routers reach 95% retrieval routing recall about 1.9 times faster than centroid routing; HN replies ask why not grep

    Apple's post describes an ICML 2026 paper that trains small neural networks once, offline, on a fixed vector database to route queries to the right cluster. On Natural Questions with about 2.6M passages, Apple reports its small model hits 95% routing recall in 1.74 ms against 3.36 ms for centroid routing. One commenter argues retrieval biases the model and letting it explore gives better output.

    Why it matters If your RAG queries follow a stable distribution, the index can be tuned to them; the method assumes a fixed set of keys, so check how often your corpus changes first.

    Discussion on Hacker News →
  • r/LLMDevs

    Practitioner argues most LLM fallback code misses the provider that accepts a request and then stalls before the first token

    The author says fallback logic that retries on exceptions handles 429 and 500 errors, which fail before a response starts, but not a provider that stalls silently: nothing throws, so nothing falls back. They argue the fix is a time-to-first-byte timeout separate from the overall request timeout, firing before anything is written to the client. The post gives no measurements.

    Why it matters Check whether your gateway or SDK has a separate first-token timeout; a retry after the first streamed chunk leaves the user with a second answer next to a half-finished one.

  • Latent Space tests NaiveAI's N0.5-Flash: 3.1 s median reply, but 11 times DeepSeek's tokens on hard questions

    The author ran 30 questions per model and reports a median reply of 3.1 seconds for Naive-N0.5-Flash with thinking, against 5.3 for GLM 5.3 Flash and 10.1 for DeepSeek V4.1 Flash. Mean times were about level with DeepSeek, and on hard questions it averaged about 108,500 completion tokens. Answers were not graded, and NaiveAI's speed figures are server-side, the author notes.

    Why it matters A fast model that thinks at length can cost more per answer than a slower one: compare end-to-end time and tokens per task on your own workload, not tokens per second.

  • r/LocalLLaMA

    TTS bench round three: 91 open text-to-speech models and 28 paid APIs on the same prompts

    The author says they ran 91 open models locally and 28 hosted APIs through one harness on six prompts in English, Spanish and French. They report AssemblyAI first to speech at 30ms, the cheapest APIs at about $9 to $10 per 1M characters and ElevenLabs v4 at $80. They warn UTMOS is an automated score, not human preference. Self-run.

    Why it matters A voice-agent team can use it to shortlist on latency and price per million characters, then listen to samples before trusting the naturalness score.

    Discussion on r/LocalLLaMA →