Radio operators solved the hardest part of voice AI latency, knowing when the other person has finished talking, with one word. On a channel where only one side can talk at a time, you end your turn by saying "over", which the list of procedure words defines as the end of a transmission that needs a reply.
A caller on the phone with a voice agent never says "over". The agent has to guess when the caller has finished, and voice AI latency is the time from the caller's last word to the first sound the agent makes, including the time spent on that guess.
People make the same guess in conversation and make it fast. A 2015 review of turn-taking research puts the usual pause between speakers at around 200 ms, while planning a spoken reply takes over 600 ms, so a listener must be predicting the end of the speaker's turn before the speaker reaches it.
A reply after about 200 ms is what callers are used to from other people, and a voice agent that waits for silence can't reach it.
Below I've laid out the four stages of a voice agent's turn with a time budget you can rerun. The page sits with the other model-serving pages under AI engineering.
What is voice AI latency?
Voice AI latency is the delay a caller hears between finishing a sentence and the agent starting to answer. The delay is the sum of four stages, and the language model accounts for one of the four:
- Endpointing: deciding that the caller has stopped.
- Transcription: turning the audio into text.
- Inference: the model producing the first words of a reply.
- Synthesis: turning those words into audio.
A speech-to-speech model, such as the one behind OpenAI's Realtime API, merges transcription, inference and synthesis into one model. Endpointing stays a separate step, because some part of the system still has to decide that the caller's turn is over.
Where does the time go in a voice agent turn?
Waiting for silence takes 500 ms of the 1,370 ms turn in the budget below, and the model's first token takes 300 ms. The script adds up one turn from stage times I've assumed, so its totals show how the stages add up and aren't measurements of any service:
"""Add up one voice-agent turn stage by stage. The stage times are assumed, not measured."""
STT_MS, LLM_FIRST_TOKEN_MS, LLM_PER_TOKEN_MS, TTS_FIRST_AUDIO_MS = 150, 300, 20, 120
REPLY = "Your refund was issued on Monday. It should reach your card within five business days.".split() # words stand in for tokens
FIRST_SENTENCE = REPLY.index("Monday.") + 1
def turn(silence_ms, stream_to_tts):
"""Return when each stage finishes, in ms after the caller stops speaking."""
tokens_before_tts = FIRST_SENTENCE if stream_to_tts else len(REPLY)
stages = [
("turn end detected", silence_ms), # endpointing waits out the silence
("transcript ready", STT_MS),
("first LLM token", LLM_FIRST_TOKEN_MS),
("text handed to TTS", tokens_before_tts * LLM_PER_TOKEN_MS),
("first audio", TTS_FIRST_AUDIO_MS),
]
clock, marks = 0, []
for name, cost in stages:
clock += cost
marks.append((clock, name))
return marks
RUNS = [
("500 ms silence, TTS waits for the full reply", 500, False),
("500 ms silence, TTS starts on the first sentence", 500, True),
("200 ms silence, TTS starts on the first sentence", 200, True),
]
for label, silence_ms, stream in RUNS:
print(label)
for at, name in turn(silence_ms, stream):
print(f" {at:>5} ms {name}")
Running python voice_trace.py printed:
500 ms silence, TTS waits for the full reply
500 ms turn end detected
650 ms transcript ready
950 ms first LLM token
1250 ms text handed to TTS
1370 ms first audio
500 ms silence, TTS starts on the first sentence
500 ms turn end detected
650 ms transcript ready
950 ms first LLM token
1070 ms text handed to TTS
1190 ms first audio
200 ms silence, TTS starts on the first sentence
200 ms turn end detected
350 ms transcript ready
650 ms first LLM token
770 ms text handed to TTS
890 ms first audio
The caller in the first run waits 1,370 ms for the first audio, and the model's first token accounts for 300 ms of that wait. The 500 ms spent confirming that the caller has gone silent is the largest of the five stage costs, and the agent spends it before transcription or the model has started.
The second run changes one thing: speech synthesis starts when the first sentence of the reply is complete, without waiting for the second sentence. Starting synthesis early saves 180 ms on this two-sentence reply, and it saves more on a longer reply.
The third run cuts the silence wait from 500 ms to 200 ms, which brings the first audio down to 890 ms. A 200 ms wait also means the agent starts talking whenever a caller pauses for a fifth of a second to think.
Why is endpointing the hard part?
Endpointing is hard because a pause doesn't tell the agent whether the caller is finished or only thinking. An agent that waits 200 ms interrupts callers in the middle of a thought, and an agent that waits 800 ms starts every reply late.
The 500 ms silence wait in my script is the value OpenAI's Realtime API guide uses for silence_duration_ms in server_vad, the default mode, which chunks audio on periods of silence. That 500 ms is more than twice the 200 ms pause that people leave each other.
The alternative to waiting for silence is to predict the end of the turn from the words, the way a human listener does. OpenAI's second mode, semantic_vad, scores how likely it is that the speaker is done from the words so far, and waits longer on a sentence that trails off than on a definite statement.
LiveKit made the same choice for its voice agent framework. LiveKit's turn detection docs make a turn detector model the default, one that "Predicts end of turn from both the meaning of speech and its acoustic properties", and keep silence-only detection for when you need minimal latency.
I think predicting the end of the turn from meaning is the right default. If I had one week to make a voice agent feel faster, I'd spend it on endpointing before touching the model.
How do you cut the model's share?
You cut the model's share in two ways: shorten the wait for the model's first token, and hand text to the speech engine before the reply is finished. Shortening the first-token wait is ordinary time to first token work, and on a phone call every 100 ms of it is silence the caller hears.
Prompt length is the part of first-token time you can change without changing the model. The model has to process the whole conversation history before it produces a first token, and a cached prompt prefix lets it skip the part it has already processed, as the KV cache page describes.
Handing text to the speech engine early carries a risk. If the agent starts speaking the first half of a sentence and the model then finishes the sentence differently, the caller has already heard the wrong half.
Speculative decoding takes the same risk inside the model: a small model drafts the next tokens and the large model checks them, so a wrong guess is thrown away before the caller hears it.
Tool calls also lengthen a turn. When the agent looks up an order status in the middle of a reply, the caller hears silence for as long as the lookup takes, and voice agent memory covers ways to do such lookups before the caller is waiting.
How should you measure voice AI latency?
Measure voice AI latency by recording a timestamp at the end of each stage and reporting the stages separately, the way the script prints them. A single end-to-end number such as 1,370 ms can't tell you whether to shorten the silence wait or speed up the model.
OpenAI's Realtime API emits input_ when it decides a turn has ended, and I'd start the clock for transcription, inference and synthesis at that event.
Test with recordings of real callers, who pause in the middle of sentences. A scripted test caller who speaks in complete sentences without pausing will never be interrupted by a 200 ms silence setting, and a real caller will be.
FAQ
What is a good latency for a voice agent?
People leave around 200 ms between turns, and an agent that waits for silence can't match that. The practical target is the shortest delay at which your agent doesn't cut callers off, and you find it by testing with recordings of real callers.
What is the biggest contributor to voice AI latency?
The biggest contributor depends on the pipeline, so measure each stage. With a silence-based endpointer at its 500 ms default, the wait for silence can exceed the model's time to first token.
What is endpointing?
Endpointing is deciding that a speaker has finished their turn. An agent does it by detecting silence, by running a model that reads the meaning of the words, or by both.
Does a speech-to-speech model remove the latency problem?
A speech-to-speech model removes the handoffs between transcription, inference and synthesis. It doesn't remove turn detection, which is why OpenAI's speech-to-speech sessions still have a turn-detection setting.
Is time to first token the same as voice latency?
No. Time to first token covers the inference stage only, and the caller also waits for endpointing before inference and for synthesis after it.