How to Reduce Latency in an AI Voice Agent: The Latency Budget Stage by Stage, and the Fix for Each
A voice agent feels fast when it starts talking within about 800 ms. Most of that budget is lost to waiting, not computing, so overlap the stages and fix turn detection before you swap the model.
To reduce latency in an AI voice agent, treat the reply as a latency budget of roughly 800 milliseconds, split across four stages that would otherwise run one after another: turn detection, streaming STT, the LLM's time to first token and the TTS time to first byte. Make those stages overlap, then tune turn detection, which is usually the largest single item and is pure waiting. Only after that does a faster or smaller LLM, a cached prompt and co-located services buy back the remaining few hundred milliseconds. Measure every stage at p95, not just the average, before and after each change.
Why 800 milliseconds is the number
People in conversation leave gaps of about 200 ms between turns. Soniox, a speech-recognition company, cites that figure (from Stivers and colleagues' 2009 study) in the latency budget page of its Voice AI Wiki, updated July 2, 2026, and sets "roughly 800 milliseconds of perceived latency" as the working target for an agent. Past about one second, it says, callers start to hear the pause as hesitation or a dropped line.
That target is perceived latency: the time from the moment the caller stops speaking to the moment they hear the first syllable of the reply. It is not the time the whole answer takes. That distinction drives everything below, because an agent can take three seconds to say a sentence and still feel quick if the first word arrives in 700 ms.
Where the time goes in a sequential pipeline
A cascaded voice agent does five things between the caller's last word and its own first word. It decides the caller has finished (turn detection, or endpointing). It finalises the transcript (STT). It sends the transcript to the LLM and waits for the first token. It sends text to the TTS engine and waits for the first audio. And it pays network time on both legs of the trip.
Soniox's page gives typical ranges for each, and labels them as illustrative rather than measured:
| Stage | Typical cost (Soniox) | Can it overlap? | Main lever |
|---|---|---|---|
| Turn detection | 200-400 ms | Partly | Model-based end-of-turn detection |
| STT finalisation | 50-150 ms | Yes | Stream partial transcripts |
| LLM time to first token | 300-500 ms | Yes | Faster model, shorter and cached prompt |
| TTS time to first byte | 100-200 ms | Yes | Streaming TTS over a WebSocket |
| Network, both legs | 100-200 ms | No | Co-locate services |
Its worked example adds up 350 ms of endpointing, 120 ms of STT, 400 ms to the LLM's first token, 150 ms to the first TTS audio and 160 ms of network. That is 1,180 ms, well over budget, even though no single component is slow. "The budget does not close in order," the page says, "because the problem is the arrangement, not the speed of any one part." With the same components streamed so that each stage starts on the previous one's first output, it says the total lands under 800 ms.
That is the core answer to the question. Speed comes from overlap first and component speed second.
Step one: measure each stage, at the tail
You cannot fix a budget you have not itemised. LiveKit's knowledge base says the two metrics to start with are the LLM's time to first token (TTFT) and the TTS engine's time to first byte (TTFB). Its Agents SDK logs both, along with end_of_utterance_delay, which its docs define as the time "from the end of speech (as detected by VAD) to the point when the user's turn is considered complete." LiveKit approximates the delay a caller feels as the sum of those three, and also records an e2e_latency field from when the user stopped speaking to when the agent began responding.
OpenAI's latency guide adds two rules worth adopting whatever stack you use. Define TTFT precisely (for OpenAI streaming, the first non-empty text delta), and compare p50 and p95 on representative traffic, grouped by model, service tier and task. Averages hide the long pauses that make a caller say "hello?".
No public source publishes p50, p95 and p99 for every stage of a single voice pipeline on the same run, naive versus streamed, so the ranges above are a planning guide. Your own logs, tagged per turn (LiveKit's speech_id does this), are the only budget that counts.
Step two: stream everything so the stages overlap
Streaming means each stage hands partial output to the next as soon as it has any. Streaming STT emits partial transcripts while the caller is still talking, which lets the system prepare the LLM request early; Soniox suggests priming the model on partials. The LLM streams tokens. A streaming TTS engine starts speaking the first sentence while the LLM is still writing the second.
The TTS link is where configuration trips people up. ElevenLabs' latency guide says its streaming endpoints reduce time to first byte, and that WebSockets suit text that arrives in real time, such as LLM output. It also warns that without its auto_mode setting the model waits to fill a chunk schedule: with a 125-character schedule and only 50 characters received, "the model stalls until additional characters come in." A streaming pipeline with a badly set buffer behaves like a sequential one.
Step three: tune turn detection, the biggest single wait
Turn detection is the agent deciding the caller has finished. The simplest version is a silence timer: after so many milliseconds of quiet, the turn ends. Every millisecond on that timer is added straight to the reply, and cutting it makes the agent interrupt people who are only pausing to think. Soniox calls endpointing often the largest item in the budget and says content-aware endpointing can recover more perceived speed than a faster model.
The platforms' own defaults show the trade. LiveKit's docs set a minimum endpointing delay of 0.5 seconds when no turn model is used, and 0.3 seconds with its audio turn detector, which listens to intonation, pitch and rhythm as well as words. AssemblyAI's streaming API runs an end-of-turn check after 128 ms of silence in its min_latency and balanced modes and 512 ms in max_accuracy, and forces the turn to end after 640, 1,280 or 2,560 ms respectively.
The most detailed public comparison of silence timers against end-of-turn models is LiveKit's eot-bench, an open benchmark built on real human-to-agent turns in 14 languages, where latency is defined as "conversational dead air, not compute." It is LiveKit's own benchmark and LiveKit's model ranks first in it, so read it as a vendor result that anyone can re-run. On English, a silence-only VAD baseline wrongly cut callers off 79.3% of the time when held to a 300 ms wait and 33.4% at 600 ms; LiveKit's Turn Detector v1.1 cut them off 13.4% and 7.5% of the time at the same waits. Put the other way, to keep false cutoffs to 10%, the VAD baseline needed 1,130 ms of dead air and the turn model 414 ms. The repo does not give run counts or confidence intervals.
Deepgram builds end-of-turn detection into its Flux speech model instead. Its docs describe "~260ms end-of-turn detection" with a default confidence threshold of 0.7, and an optional EagerEndOfTurn event that lets the LLM start drafting before the turn is confirmed. Deepgram's announcement of October 1, 2025 says the eager event arrives 150 to 250 ms before the final one, at the cost of 50 to 70% more LLM calls, since some drafts are thrown away when the caller keeps talking.
The decision here is a tolerance, not a setting. Pick the false-cutoff rate your callers will accept, then use a model-based detector to reach it with the least waiting.
Step four: get the LLM's first token sooner
The LLM is the stage most guides wave through with "use a smaller model." That advice is right, but there are four separate levers and they behave differently.
The first is model choice. Anthropic's latency guide says that for speed-critical applications Claude Haiku 5.5 "offers the fastest response times," and that its effort setting is the main speed control. OpenAI's guide says to "keep the fastest configuration that meets your quality target, including on difficult cases," and to use lower reasoning effort where it is enough. A voice turn rarely needs extended reasoning; thinking tokens delay the first spoken word.
The second is input length. Both vendors say fewer input tokens means a faster response. In a voice agent the conversation history grows every turn, so a 20-turn call sends far more context on turn 20 than on turn 1. OpenAI's guide recommends filtering context to what the task needs.
The third is prompt caching. Anthropic says caching lets the API resume from a stored prefix, which "significantly reduces processing time," and that pre-warming the cache can lower TTFT on the first interaction. OpenAI is more guarded: caching "does not guarantee that every request reuses stored KV tensors or has lower latency," and reuse requires the entire rendered prefix to match. Neither publishes a millisecond figure. The practical rule is to keep the system prompt and tool definitions byte-identical at the top of every request and put anything that changes per call, such as the caller's name or the time, after them.
Caching also decides what speculative drafting costs. Take 50,000 calls a month of 20 LLM turns each, so 1,000,000 requests, each carrying the same 4,000-token prefix of system prompt and tool definitions, on Claude Opus 5.5 at Anthropic's list prices of $4 per million input tokens, $5 per million for a five-minute cache write and $0.20 per million for a cache hit. Uncached, the prefix alone costs $16,000 a month. With one cache write per call and the other 19 turns served from cache, it costs $1,760. The 50 to 70% extra calls from Deepgram-style eager end-of-turn then add $400 to $560 a month if they hit the cache, against $8,000 to $11,200 if they do not. These figures count only the repeated prefix, not the growing conversation history or output tokens, and they assume the cache stays warm: Anthropic's default cache lives five minutes and is refreshed on each use.
The fourth is service tier. OpenAI's Fast mode promises "up to 2.5x faster speeds and more consistent latency"; on GPT-5.6 Sol it costs twice the standard rate, and on GPT-6 Astra it carries no latency SLA.
A fifth option is a small model trained on your own calls. Parsec, a small language model lab, fine-tunes compact models to a customer's tasks and says on its comparison page that for voice agents this gives "60% lower TTFT and 40% lower TPOT" (time per output token). The page gives no baseline or method for those figures, publishes no price for the service, and says customer models run alongside other teams' on a shared cluster, which matters for the tail latency discussed below.
How far each lever moves TTFT on a voice workload is the part of the budget with the least public evidence. No source publishes a like-for-like TTFT comparison of a frontier API, a small general model and a small specialised model on the same voice traffic, and the per-turn saving from pruning carried context has not been measured publicly either.
Step five: shorten the network and keep connections open
Network time is the one stage that cannot overlap, so it is pure cost. LiveKit's knowledge base says to keep the agent close, in network terms, to its STT, LLM and TTS providers. Soniox puts the saving from putting all three in one region at roughly 100 ms, and notes that telephony adds more legs. ElevenLabs publishes what geography costs for its Flash model over WebSockets: 100 to 150 ms to the first byte in North America, Europe and South East Asia, 150 to 200 ms in South Asia and North East Asia, from servers in the USA, the Netherlands and Singapore.
Persistent WebSocket connections avoid paying connection setup on every turn, and they are what streaming TTS needs anyway.
The harder infrastructure question is tail latency on shared versus dedicated serving. A shared endpoint can be fast at p50 and slow at p99 when other tenants' traffic spikes. OpenAI sells Fast mode partly on "more consistent latency." No public source gives p95 or p99 jitter figures for shared against dedicated serving of a voice agent's LLM, so this is the measurement to run yourself before paying for a dedicated tier.
Step six: skip the pipeline when you already know the answer
OpenAI's latency guide ends with a principle that applies directly to voice: don't call an LLM when application code already knows the answer. Greetings, hold messages, confirmations and common FAQ replies can be generated once and stored as audio, which removes the LLM and TTS stages for those turns entirely.
What the fixes are worth
The figures below come from the vendors' own pages and benchmarks, not from one controlled run, so treat them as orders of magnitude.
- Measure each stage per turn at p50 and p95. Saves nothing by itself; prevents fixing the wrong stage.
- Stream STT, LLM and TTS so they overlap. Soniox's example goes from 1,180 ms to under 800 ms.
- Replace the silence timer with a turn model. On LiveKit's benchmark, 716 ms less dead air at a 10% false-cutoff rate; LiveKit's own defaults drop the minimum wait by 200 ms.
- Speed up the first token: faster model, low effort, short stable cached prefix, trimmed history. Deepgram's eager end-of-turn starts the LLM 150 to 250 ms early.
- Co-locate services and hold WebSockets open. About 100 ms, per Soniox.
- Pre-render common replies. Removes the LLM and TTS stages for those turns.
Bottom line
If your agent waits more than a second, the cause is almost always arrangement: stream every stage and replace a fixed silence timer with an end-of-turn model before anything else. If it is already streamed and tuned and still misses 800 ms at p95, work on the LLM's first token next, with a faster model at low reasoning effort, a stable cached prompt and trimmed history. If your p50 is fine but your p99 is not, test a dedicated or priority tier against your shared endpoint and co-locate everything in one region. Whatever you change, log turn detection, TTFT and TTFB per turn, before and after, at the tail.
Sources
- Soniox Voice AI Wiki, Voice agent latency budget: https://soniox.com/wiki/voice-agent-latency-budget
- LiveKit Knowledge Base, Reducing latency in voice pipeline agents: https://kb.livekit.io/articles/4490830410-how-can-i-reduce-latency-in-voice-pipeline-agents-using-stt-tts-and-llm
- LiveKit Docs, Data hooks and metrics: https://docs.livekit.io/testing/observability/data.md
- LiveKit Docs, Turn detector: https://docs.livekit.io/agents/build/turns/turn-detector/
- LiveKit, eot-bench: https://github.com/livekit/eot-bench
- AssemblyAI Docs, Turn detection: https://www.assemblyai.com/docs/universal-streaming/turn-detection
- Deepgram Docs, Flux quickstart: https://developers.deepgram.com/docs/flux/quickstart
- Deepgram, Introducing Flux: https://deepgram.com/learn/introducing-flux-conversational-speech-recognition
- OpenAI, Latency optimization: https://developers.openai.com/api/docs/guides/latency-optimization
- OpenAI, Prompt caching: https://developers.openai.com/api/docs/guides/prompt-caching
- OpenAI, Priority processing (Fast mode): https://developers.openai.com/api/docs/guides/priority-processing
- Anthropic, Reducing latency: https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-latency
- Anthropic, Prompt caching: https://platform.claude.com/docs/en/build-with-claude/prompt-caching
- ElevenLabs Docs, Latency optimization: https://elevenlabs.io/docs/developers/best-practices/latency-optimization
- Parsec vs your own GPUs: https://parseclab.ai/compare/own-gpus/