Latest Voice Agent 2027 Engineering: Where the Latency Goes in a Speech-to-Speech Pipeline
A stage-by-stage look at where the silence comes from in an AI phone call, and the engineering that removes it.
People decide whether an AI phone call feels natural within the first exchange, and what they react to is silence. Conversation research has found that the typical gap between one speaker finishing and the next starting is around 200 milliseconds, across many languages (Stivers et al., PNAS, 2009). An agent that pauses for a second and a half before every answer sounds broken, however good the answer is.
The latest voice agent designs in 2027 are judged mostly on this gap. This post follows one turn of a phone conversation through the pipeline and shows where the time goes.
One turn, stage by stage
| Stage | What happens | What adds delay | What helps |
|---|---|---|---|
| Telephony in | Caller audio arrives over SIP/RTP | Jitter buffers, transcoding, distance to the media server | Media servers close to the caller; avoid extra codec conversions |
| Endpointing | Deciding the caller has finished speaking | Waiting for a long silence to be sure | Combine silence detection with whether the sentence sounds complete |
| Speech recognition | Audio becomes text | Batch recognition after the caller stops | Streaming recognition that keeps up while the caller talks |
| Language model | Deciding what to say | Long prompts, large models, cold connections | Short prompts, streamed tokens, warm connections |
| Tool calls | Checking a calendar or record | Slow database queries and external APIs | Fetch known data before the call starts; cache |
| Speech synthesis | Text becomes audio | Waiting for the full reply before speaking | Start speaking on the first clause |
| Telephony out | Audio goes back to the caller | Same as the way in | Same as the way in |
No single stage is usually the problem. Most slow agents lose a little time at every stage, and the losses add up.
Endpointing is the hidden delay
Before the agent can answer, it has to decide that the caller has finished. The simplest method waits for a fixed silence, say 700 ms. That is safe and slow: every turn starts with a pause of at least that length before any processing happens.
Shorten the wait too far and the agent interrupts people who pause mid-sentence, which is worse than being slow. Phone audio in a busy street, or a caller thinking about a date, makes this harder. The better approach uses the partial transcript as well as the silence. "My appointment is on" is clearly unfinished. "Yes, that works" is clearly finished. A short silence after a complete sentence can safely end the turn. A longer silence is needed after an incomplete one.
Stream everything, and start speaking early
A pipeline that waits for each stage to finish before starting the next is slow by construction. The alternative is to stream at every boundary. Recognition produces text while the caller talks. The model streams its reply token by token. Synthesis starts on the first complete clause, while the model is still writing the rest.
That changes how replies should be written. A good first clause is short and safe to commit to: "Sure, let me check Thursday." Once the audio has started, the agent cannot take it back, so it should not open with a detail it might revise.
Distance is part of the budget
Light in fibre covers roughly 200 km per millisecond, and each turn crosses the network several times. A caller in London served by speech services in another continent pays that distance at every hop. Our multi-region voice agent post covers placement across the UK, US, EU and Asia.
Tool calls: the slow query that ruins a call
An agent that books appointments has to check availability. If that query takes two seconds, the caller hears two seconds of silence after "Let me check." Three habits help:
- Fetch before dialling. For an outbound reminder, the agent already knows who it is calling and why. Load the patient's appointment and the next free slots before the call connects.
- Cache what changes slowly, such as clinic hours and doctor schedules.
- Be honest about waits. If a lookup will take time, a short "One moment while I check" is better than silence. Filler phrases used to hide every delay start to sound robotic.
Barge-in: letting the caller interrupt
Real callers interrupt. When they do, the agent has to stop speaking at once, discard any audio already buffered, and keep track of what the caller actually heard. If the model believes it said the whole sentence but the caller heard only half, the next turn will be confused. The conversation history should be cut to the audio that was actually played.
Cascaded or native speech-to-speech?
There are two ways to build the core of a real-time speech-to-speech pipeline, and both are in use in 2027:
| Dimension | Cascaded (recognition, model, synthesis) | Native speech-to-speech model |
|---|---|---|
| Control | Each stage can be tuned or swapped | Fewer controls; behaviour comes from one model |
| Delay | Depends on streaming between stages | Fewer hand-offs between components |
| Language coverage | Choose the best recogniser and voice for each language | Limited to what the model supports |
| Auditing | Text at every step makes transcripts and reviews simple | Needs separate transcription for review |
| Tone of voice | Synthesised from text | Can carry more of the conversation's tone |
For hospitals and other regulated settings, auditability weighs heavily: someone has to be able to check what the agent said.
How to measure it properly
Measure from the moment the caller stops speaking to the first audio the caller hears, on a real phone line, not inside the server. Report the median and the 95th percentile, because callers remember the slow turns. Then listen to calls. APEX Connect keeps recordings and transcripts on its dashboard, and a recording of a slow turn usually shows the cause faster than a metrics chart.
We have deliberately not given a single latency figure in this post. Delay depends on the caller's region, the carrier, the language and the models, so a number from one setup would mislead you about yours. Measure on your own lines, with your own callers. Throughput is a separate question, covered in the maths behind 28,780 calls a day.
Frequently asked questions
What latency is acceptable for a voice agent?
Human conversation research puts the typical gap between turns at around 200 milliseconds. A voice agent will not always match that, but every second of silence makes the call feel less natural, so measure the gap and reduce it stage by stage.
What is endpointing in a voice agent?
Endpointing is how the agent decides the caller has finished speaking. Waiting for a long silence is safe but slow. Combining silence with whether the sentence sounds complete gives faster replies without interrupting people.
Does a faster language model always make a faster call?
No. The model is one stage of several. Endpointing, tool calls, synthesis start time and network distance often add as much delay as the model does.
Does the SIP provider affect latency?
Yes. Where the carrier hands audio to the media server, and how far that is from the speech services, both add delay. APEX Connect supports bring-your-own SIP, so you can choose a carrier with a presence near your callers.
APEX Connect: a real-time speech-to-speech pipeline
AI voice agent and receptionist with recordings, transcripts and analytics on one dashboard, so you can hear exactly how each call sounded.