Voice agent latency: where the milliseconds go, and how STT and TTS APIs win them back
A latency budget for realtime voice agents: end-of-speech detection, speech to text, the LLM, text to speech and network, with measured STT and TTS figures and tips.
A voice agent can be clever, polite and correct, and still feel wrong if it answers a beat too late. People are extraordinarily sensitive to timing in conversation. Across languages, the typical gap between one speaker finishing and the next starting is around 200 milliseconds (Stivers et al., PNAS, 2009). A pause of a second already feels hesitant; two seconds feels like the line dropped. This article breaks voice agent latency into its parts, shows measured figures for the Moses speech-to-text and text-to-speech APIs, and lists the techniques that matter most.
Latency is a chain, not a number
The latency users feel is the time from the moment they stop speaking to the first sound of the answer. In a cascaded voice agent (speech to text, then a language model, then text to speech) that time is made of:
- End-of-speech detection. The system waits for a short silence to be sure the user has finished.
- The final transcript. The speech recogniser produces the final text of the utterance.
- The language model’s first words. Time to first token, plus enough tokens to form a first phrase worth speaking.
- Text to speech, first audio. The time until the first audio of that phrase is ready.
- Network. Each hop between the user, your server and the speech APIs.
- Playback. The audio buffer in the browser or phone.
Each link can be streamed, overlapped or shortened. None of them can be ignored.
Measured: Moses STT and TTS
We measured both APIs against production in November 2026, after warm-up, on the server, without network, as other providers report theirs.
| Metric | Median | p90 |
|---|---|---|
| STT: final transcript after the speaker stops, 100 ms end-of-speech pause | 310 ms | 350 ms |
| STT: the same with the default 300 ms pause | 540 ms | 570 ms |
| TTS: first audio after a sentence is sent, realtime session | 70 ms | 90 ms |
| Network round trip from within Europe to the servers in Germany | ≈ 30 ms | – |
The pause is part of the latency
A live transcript can only be final once the API is sure the sentence is over. With a 100 ms pause setting, the final’s 310 ms consist of about 160 ms for the pause itself plus the voice detector noticing it, and about 180 ms to recognise the final text (each the median of its own part). Some providers quote only the second part. We think the honest number includes the pause, because the user waits through it either way.
A realistic budget for one turn
Here is an example budget for a voice agent whose servers are in Europe, with the STT pause at 100 ms. The language model’s share is an assumption: it depends heavily on the model, the provider and the prompt length, so measure your own.
- Pause + final transcript 310 ms
- Network ≈ 50 ms
- LLM to first phrase ≈ 450 ms (example)
- TTS first audio 70 ms
- Playback buffer ≈ 60 ms
| Link | Time | How to shrink it |
|---|---|---|
| End-of-speech pause + final transcript | 310 ms | A short pause (100–200 ms) for quick exchanges; streaming STT |
| Network (user → STT, your server → LLM → TTS → user) | ≈ 50 ms | Servers in the same region; connections kept open |
| LLM to the first speakable phrase | ≈ 450 ms | A fast model, a short cached prompt, a short first sentence, streaming |
| TTS first audio | 70 ms | A warm streaming session; start speaking early |
| Playback buffer | ≈ 60 ms | A small buffer in the player |
| Total, end of speech to first audio | ≈ 940 ms | Under a second with a fast model |
Two things stand out. First, speech to text and text to speech together take under 400 ms of the budget, so the language model is usually the biggest lever. Second, without streaming, the numbers add up very differently: waiting for the whole LLM answer, then synthesising the whole answer, easily costs several seconds.
Stream everything
Every link that waits for the previous one to finish completely adds its whole duration. Streaming lets them overlap:
- Speech to text streams while the user speaks. Partial transcripts come back during the utterance, and the final one shortly after the pause. Nothing waits for an upload.
- The language model streams its answer. Pass each piece on as it arrives.
- Text to speech speaks while the model writes. Moses TTS takes the answer as it is being written and starts speaking from the first phrase, while the model is still writing the next sentence. The audio is generated faster than it plays, so it doesn’t stall.
Keep connections open and warm
Setting up a new connection for every turn adds avoidable delay. Keep one speech-to-text stream and one text-to-speech session open per conversation, and send each turn into them. Moses TTS gets its voice ready as soon as the session opens, so the first sentence of a call is as fast as the rest.
Tune the end-of-speech pause per moment
The pause is the one link you can trade directly against accuracy. A short pause answers sooner, but cuts people off when they hesitate mid-sentence. Good defaults:
- 100–200 ms after the agent asked a yes/no or short-answer question.
- 300–500 ms for open questions, where people think while they talk.
- Longer while someone dictates an address or spells a name.
Moses STT lets you change the pause during the conversation, so the agent can set it from what it just asked.
Shrink the language model link
- Pick a fast model for the voice turn, and leave heavy reasoning to a background agent that the voice agent can ask.
- Keep the prompt short and stable, with the fixed parts first, so the provider’s prompt cache applies.
- Ask for a short first sentence. “Sure, let me check.” gives text to speech something to say while the model writes the rest.
- Limit the answer length. Spoken answers should be one or two sentences anyway.
Measure the p90, not just the median
A voice agent that is fast nine times and slow the tenth feels unreliable. Log the time from the STT final to the first TTS audio for every turn, and watch the 90th percentile. Spikes usually come from cold connections, long prompts, or tool calls in the middle of a turn. For tool calls, say something short first and keep talking while the tool runs; the next article covers that and the rest of what makes a conversation feel natural.
Frequently asked questions
What is a good latency for a voice agent?
Aim for under one second from the moment the user stops speaking to the first audio of the answer, with a stable p90. Human turn gaps average about 200 ms, so every component should be streamed and every hundred milliseconds counts.
What is the latency of the Moses STT API?
Measured on the server and excluding network, the final transcript arrives 310 ms (median, p90 350 ms) after the speaker stops with a 100 ms end-of-speech pause, and 540 ms with the default 300 ms pause. The pause is part of that time.
What is the latency of the Moses TTS API?
In a warmed-up realtime session, the first audio of a sentence is ready 70 ms (median, p90 90 ms) after the sentence arrives, measured on the server without network. The rest of the sentence is generated faster than it plays.
Why do STT and TTS providers quote latency without network?
Because the network depends on where the customer's servers and users are, which the provider can't control. Add your own round trip: within Europe to servers in Germany it is typically around 30 ms.
Why is end-of-speech detection part of STT latency?
A live transcript can only be final once the system is sure the speaker has finished, so it waits for a short silence. A 300 ms pause adds about 300 ms before the final can be sent; a 100 ms pause answers sooner but splits more sentences where people hesitate.
Try the realtime voice APIs
Streaming speech to text and text to speech for voice agents, hosted in Germany, with no audio stored. Try both in your browser with an API key.
Open the live example