What is voice agent latency, and which clock counts?
Twilio defines latency as the mouth-to-ear turn gap: the time from when a user stops speaking to when the agent's reply reaches their ear. Its platform turn gap covers the same turn but leaves out the audio's trip across the internet or phone network.
Voice AI latency also goes by voice agent response time, voice agent response delay and turn gap, and each name hides a choice of clock. Twilio notes that many vendor benchmarks measure only a platform's internal processing and leave out the variability of network transmission.
APIFleet's own turn timer is a server-side clock. Each pipeline marks its own end of turn, and the timer runs from that marker until the first reply audio reaches APIFleet's server, so the wait before the marker and the voice network after the audio are both outside the number.
A fourth clock starts at the caller's first word and so counts every word they say. Never compare it with the other three: the same agent reads differently on each clock, so name yours before you quote a number.
| Clock | Starts when | Stops when | Voice network? |
|---|---|---|---|
| Mouth-to-ear turn gap | The caller stops speaking | The reply reaches the caller's ear | Included |
| Platform turn gap | The caller stops speaking | The reply reaches the caller, less the internet and phone legs | Left out |
| Server-side first audio | The pipeline's own end-of-turn marker fires | The first reply audio reaches the server | Left out |
| Speech-start clock | The caller says the first word | The first reply audio | Varies |
How long is too long for a voice agent to answer?
No universal threshold exists, so any AI voice agent latency figure is a reference line, not a verdict. Twilio publishes median benchmark ranges for the initial launch of a straightforward cascaded agent, as of November 2025.
On its mouth-to-ear clock the target is 1,115 ms and the upper limit is 1,400 ms. On its platform turn gap the target is 885 ms and the upper limit is 1,100 ms.
Twilio calls these starting benchmarks, not best-in-class. Set your own limit by listening to a sample of calls, because a transcript can hide an awkward pause.
Do not add Twilio's upper limits. By our arithmetic, the speech-to-text, language model and text-to-speech upper limits sum to 1,500 ms, more than the 1,400 ms end-to-end upper limit, so they are separate ceilings, not a budget. The three targets sum to 825 ms, which leaves 60 ms for everything else inside the 885 ms platform figure.
Where does the time go in one turn?
A cascaded turn runs as a chain: the system waits for the caller to finish, transcribes the speech, asks the language model for its first token, turns the first words into audio and sends it back across the voice network. APIFleet's cascading runtime timestamps these events as a turn runs: the caller's stop, the final transcript, the model request, the first token, the first text sent to the voice and the first audio.
Twilio benchmarks three of the stages. Its speech-to-text latency figure covers both transcription and end-of-turn detection, which run roughly in parallel, so the table has no separate row for the wait.
| Stage | What happens | Target, ms | Upper limit, ms |
|---|---|---|---|
| Speech-to-text with end-of-turn detection | Transcription runs while the system waits for a pause that ends the turn | 350 | 500 |
| Language model first token | The model reads the transcript and starts its reply | 375 | 750 |
| First speakable text | Enough words to start speech, often a short opening phrase | varies | varies |
| Text-to-speech first byte | The voice service returns its first audio | 100 | 250 |
| Voice network | Audio crosses the internet or phone network to the platform and back | varies | varies |
What sets how long each stage takes?
Start with the end-of-speech wait, because it has a setting in each pipeline on this page. In OpenAI's voice activity detection guide, server detection ends a turn after the silence set by silence_duration_ms, and shorter values detect turns more quickly. Semantic detection instead scores whether the words sound finished, so audio that trails off waits longer than a definitive statement, and its eagerness setting tunes the maximum wait.
Deepgram's endpointing guide lists 10 ms as its default for chatbots expecting short utterances and recommends 300 to 500 ms for conversations where speakers pause mid-thought. Twilio says most fixed silence-timer defaults sit around 500 ms and that lowering the threshold is risky, because natural pauses can be flagged as the end of a turn.
On APIFleet, turn_detection defaults to semantic_vad for new assistants and turn_eagerness tunes it. A cascading assistant sets the endpointing delay of its speech-to-text leg with endpointing_ms, which is 200 ms by default, against Deepgram's own 10 ms, and accepts 50 to 3000 ms.
Twilio says the LLM time to first token sets the core latency a model adds, because speech synthesis can start as soon as the first tokens arrive. Model choice, prompt length and reasoning effort are the settings to test, and APIFleet's reasoning_effort for realtime assistants is low by default. APIFleet's GPT-Live setup also has a service_tier setting, and its docs say to test the Fast option for task success, latency and cost on your workload.
A cascaded voice cannot start until the first speakable text exists. APIFleet's cascading runtime hands the first phrase to the voice at the first sentence end past a minimum of 12 characters, or at a clause or word break once 70 characters are buffered. The minimum is tts_first_chunk_min_chars (12 by default, 8 to 60 allowed), and later phrases use larger limits of 60 to 180 characters.
Text-to-speech latency is quoted as time to first byte, or time to first audio: the wait until the voice service returns its first audio. A provider's figure describes the voice service, not your call, so compare voices only on one clock and one route.
The voice network is the stage you control least. Twilio calls the public internet or phone leg the slowest and least reliable part of the path, and advises keeping speech-to-text, text-to-speech and orchestration close together and close to the customer. Subtracting its two end-to-end rows gives the network's share in its benchmark: 230 ms at target and 300 ms at the upper limit.
How do you measure voice agent latency yourself?
A recording that holds both sides of a call lets you apply one clock to every configuration you compare. Time the gap from the last moment the caller is audible to the first moment the agent is audible, on the route you will ship.
Check your method on a synthetic file whose gaps you know before you trust it on real calls. Counting whole 20 ms frames makes the result read slightly low, by less than two frames.
- Record at least 20 test calls on the route you will ship, with the caller on one channel and the agent on the other of a single two-channel file. Record on your own test rig, or use a two-channel recording from your carrier if it offers one.
- Cut each channel into 20 ms frames and mark a frame as voiced when its peak amplitude passes a threshold. Choose the threshold from a stretch you know is silent, because line noise differs by route.
- For every point where the agent starts after at least half a second of its own silence, find the last voiced caller frame before it. The time between the two is the turn gap.
- Skip starts where the caller is speaking in the same frame the agent starts, because those are interruptions, not replies.
- Leave out turns where a tool ran and report them as a separate group, because the tool's round trip is added to that turn.
- Report the median and the p90, the gap that nine in ten turns stay under, never the mean, and repeat on another day: one call is noise, and identical configurations differ by chance. With 20 turns the p90 rests on a few of them, so collect more before you trust a small difference.
- Change one setting at a time, rerun the same scenarios, and keep the configuration beside each result. A configuration check that confirms the pipeline, provider, voice and model are explicit helps, though it does not measure latency.
What does APIFleet's GET /metrics turn timing measure?
GET /metrics returns a rolling summary of turn_ms for your workspace: the sample count, minimum, p50, p95, p99 and maximum. Samples are capped at 1,000 per metric and the registry resets when the process restarts, so use it for a first look, not a record.
Each pipeline marks its own end of turn, and each sample is the time from that marker to the first reply audio that APIFleet's server receives. On OpenAI Realtime the marker is OpenAI's speech-stopped event, and on cascading assistants it is the final transcript from speech-to-text. On both, the clock falls back to the caller's speech-start event if the marker did not arrive for a turn.
That makes turn_ms a server-side clock, the third row in the first table. The end-of-speech wait comes before it starts, so a shorter wait does not show up in the number, even though callers hear the reply sooner. It also stops before APIFleet sends the audio to the carrier in 20 ms frames, so carrier buffering and the caller's device are outside it.
A call adds its turns to the registry when it ends, and a turn with no marker leaves no sample. GPT-Live gives APIFleet no caller speech events, so it adds none. Gemini with its default automatic detection only records the end-of-turn signal when the reply audio, a tool call or the end of the model's turn arrives, so its samples measure nothing.
Each pipeline marks a different moment, so do not compare turn_ms across pipelines. Each sample is a bare number, so the endpoint cannot separate turns that waited on a tool. The speech-to-speech data page shows which models gave APIFleet no usable end-of-speech event; for a clock you control end to end, use your own recordings.
What cuts voice agent latency without clipping callers?
If you are asking how to reduce voice agent latency, work in this order: measure the stages first, fix the largest one, and touch the end-of-speech wait last, because it trades speed against clipped sentences. A reply that starts before the caller has finished means the end-of-speech decision fired early.
Twilio warns that pushing end-of-turn detection too hard makes the agent interrupt users. It adds that smart endpointing can lower the median while raising the tail, and that a jump in the tail near the silence timeout is a common sign of poor tuning.
The table lists each lever with what it speeds up and what it risks. Change one at a time and rerun the same calls.
| Lever | What it speeds up | Risk |
|---|---|---|
| A shorter end-of-speech wait | The pause before anything else starts | The agent speaks while the caller is still thinking |
| A smaller model or lower reasoning effort | The language model's first token | Answer quality and cost can change, so test task success too |
| An earlier first phrase | The wait for the first speakable text | A very short start can make the voice restart its delivery mid-sentence |
| A voice with a quicker first byte | The text-to-speech first audio | Voice quality and cost differ by provider, so compare on one clock |
| Speech-to-speech instead of a cascade | The hand-offs between services | Different clocks and controls, so measure again rather than assume |
| Services kept together near the caller | The voice network and every hand-off | Twilio warns that replacing providers later is expensive and disruptive |
What about tool calls and slow lookups?
A tool call adds your endpoint's round trip to that turn, so keep those turns out of your median and report them as their own group. APIFleet's docs advise short tool responses, because long payloads cost more tokens and make the model verbose.
For a slow lookup, a cascading assistant can speak a short acknowledgement while a custom tool runs, but only when the model gave no update of its own first. The optional progress_message sets the words, up to 160 characters. It fills the silence and does not shorten the lookup.
Is the lowest latency the goal?
No. A reply that lands before the caller has finished steals the turn, and Twilio says an agent that interrupts feels far worse than one with a little extra latency. A low latency voice agent is one whose gap you chose and can explain, not the one with the smallest number.
Pick the clock, record at least 20 calls, read the median and the p90 together, and listen to the calls behind both. Change one setting at a time, and move the end-of-speech wait last.
To apply this on APIFleet, read the API and MCP operation reference for the settings above. The /pricing page shows how a call's total splits into the platform fee, AI providers and the carrier.
Continue with a practical next step
- API and MCP operation reference, including GET /metrics
- Pricing: platform fee, AI providers and carrier billed separately
- Assistant configuration checker for explicit pipeline, model and voice fields
- Speech-to-speech models on APIFleet calls, with the clock named on every row
- TTS models on phone calls: first-audio and stage-by-stage call data
- Speech-to-text APIs for voice agents: latency, turn detection and barge-in
- Test the conversation, not just the happy path
- Voice agent evaluation noise: how to run an A/A test
Frequently asked questions
What is a good latency for a voice AI agent?
There is no universal threshold. Twilio's starting benchmarks for a straightforward cascaded agent at launch, as of November 2025, are a mouth-to-ear target of 1,115 ms with an upper limit of 1,400 ms, and a platform turn gap of 885 ms with an upper limit of 1,100 ms. Treat them as a reference line, then set your own limit by listening to calls.
How do you measure voice agent latency?
Pick one clock, usually the end of caller speech to the first agent audio, and record both sides of at least 20 test calls on the route you will ship. Mark each reply, leave out turns where a tool ran, and report the median and the p90. Repeat on another day and change one setting at a time.
Why does a voice agent pause before it answers?
A turn stacks several waits: the end-of-speech decision, speech-to-text, the language model's first token, text-to-speech and the voice network, plus a tool's round trip when one runs. The end-of-speech wait is deliberate, because answering too early interrupts callers. Measure each stage before you change any of them.
Does a shorter endpointing setting make a voice agent faster?
It starts the reply sooner after a pause, but it raises the chance that the agent speaks while the caller is still thinking. Deepgram recommends 300 to 500 ms for conversations where speakers pause mid-thought, and Twilio calls lowering the threshold risky. A server-side timer will not show the gain, because it starts after the wait.
Does speech-to-speech cut latency compared with speech-to-text, a language model and text-to-speech?
Twilio counts at least ten network traversals for one cascaded response: two voice legs and eight hand-offs between services. A speech-to-speech model has no separate speech-to-text, language model or text-to-speech service to hand off between, but it keeps the voice legs and the end-of-speech decision, and its clock can start in a different place. APIFleet's speech-to-speech data page names the clock on every row.
Where does APIFleet show turn latency?
GET /metrics returns turn_ms for your workspace as a count, minimum, p50, p95, p99 and maximum, measured from each pipeline's own end-of-turn marker to the first reply audio the server receives. Samples are rolling and reset when the process restarts, so record your own calls for a clock you control.
Sources and evidence
- Twilio: A Guide to Core Latency in AI Voice Agents (Cascaded Edition) · observed 2026-11-26
- OpenAI API guide: Voice activity detection (VAD) · observed 2026-11-26
- Deepgram docs: Configure endpointing and interim results · observed 2026-11-26