Real-Time Voice Agents: Latency, Interruption Handling and Turn-Taking

Real-time voice agents live or die on timing. The latency budget, how barge-in works, turn-taking tuning, and how OpenAI Realtime, LiveKit and Vapi compare.

By Galactic News Editorial · Published 2026-11-21T13:37:36+00:00 · Updated 2026-11-21T13:37:36+00:00

real-time voice agents latency interruption handling turn-taking

Real-Time Voice Agents: Latency, Interruption Handling and Turn-Taking

A voice agent lives or dies on timing. If it answers half a second late, the caller talks over it. If it cannot be interrupted, the caller hangs up. If it misreads a pause as the end of a turn, the conversation falls apart. This comparison explains the latency budget, how interruption handling works, and how the main stacks compare on turn-taking.

Real-Time Voice Agents Latency: Where the Milliseconds Go

Every voice agent has a latency budget. The budget is the time from when the caller stops speaking to when the agent's first audio reaches the caller's ear. Human conversation tolerates about 300 to 400 milliseconds before it starts to feel wrong. Above that, people repeat themselves or talk over the agent.

Two architectures produce very different budgets. A cascaded pipeline chains three steps. Speech-to-text transcribes the audio, a language model reasons over the text, and text-to-speech synthesises the reply. A typical breakdown runs 60 to 120 milliseconds for speech recognition, 200 to 600 for the language model, and 100 to 200 for synthesis. Total turn latency lands between 360 and 920 milliseconds. That is workable, but it is above the conversational threshold.

A native audio model removes the chain. OpenAI's Realtime API processes audio natively without intermediate transcription. It hears raw audio and generates speech directly. Response initiation runs 200 to 400 milliseconds. One production measurement reported a total voice-to-voice latency of 353 milliseconds at the median and 686 at the 95th percentile. That sits inside the conversational threshold at the median, though the tail still bites.

Transport matters too. WebSocket carries audio over a single TCP connection. It is simple to build, but TCP retransmits buffer audio when packets drop. WebRTC carries audio over Opus and SRTP, built for voice latency, with native echo cancellation, jitter buffer and packet loss recovery. Sub-300 millisecond round trips are realistic on a good network over WebRTC. A common production shape uses both. WebRTC carries audio from the user's device, and a WebSocket connects the server to the model for back-office turns.

Interruption Handling: Barge-In Done Right

Users interrupt voice agents. A production agent must detect the interruption, stop speaking immediately, and process the new input. This is called barge-in, and it is the feature that separates a demo from a product.

The Realtime API handles it natively through server-side voice activity detection. When the caller starts speaking over the agent, the API fires an input_audio_buffer.speech_started event and truncates the in-flight response. Your code must then do two things. Clear the audio playback queue so the caller hears silence, and send a response.cancel event to stop the model from generating further audio. One production implementation fades playback out over 100 milliseconds, then cancels the response. Measured results in that implementation showed interruption detection at 180 milliseconds, audio stop at 45 milliseconds after detection, and successful barge-in handling at 91.7 percent.

Cascaded pipelines handle interruption differently. The pipeline needs its own voice activity detection, usually Silero VAD, to decide when the caller has finished talking. The agent must then cancel the language model call, flush the synthesis queue, and restart the turn. This is more code, but it gives you control over the detection thresholds. You can tune the silence duration, the prefix padding and the sensitivity to background noise. False interruptions from non-speech noise are the main failure mode. One production report measured a 3.8 percent false interruption rate, against a target below 5 percent.

Context preservation after an interruption matters as much as speed. When the agent stops mid-sentence, the conversation history must still make sense. The interrupted turn should be truncated in the transcript, not left half-finished. The Realtime API truncates the model's response when it cancels. In a cascaded pipeline, you must do this yourself. One production measurement reported 94.2 percent context preservation after interruption, against a target above 90 percent.

Turn-Taking: Silence, Endpointing and the 800-Millisecond Question

Turn-taking is the decision about when the caller has finished speaking. The standard approach is a silence threshold. After the caller stops, the agent waits a fixed period, often around 800 milliseconds, then responds. Too short, and the agent cuts off a caller who is thinking. Too long, and every turn feels sluggish.

Server-side voice activity detection automates this. The Realtime API's turn detection config sets the silence duration, the prefix padding and whether to auto-create responses. The model knows when the user is done speaking, because it hears the audio directly. In a cascaded pipeline, the VAD module makes the same decision from the audio stream, then hands the buffered audio to the transcriber.

Independent benchmarks show how much this matters. Cekura Bench deploys one matched agent across seven configurations, runs 82 scenarios three times each, and retains 246 calls per configuration. Its interruption scores run from 4.73 to 5.00 out of 5 across the leading platforms. Retell scored 5.00, LiveKit 4.97, ElevenLabs 4.96 and Vapi 4.73. Mean response times in the same study were 1.27 seconds for ElevenLabs, 1.97 for Pipecat, 2.21 for Retell, 2.59 for LiveKit and 3.08 for Vapi. These numbers measure full conversational turns, including tool calls, not just the first audio byte. They are not directly comparable to the sub-300 millisecond first-byte figures vendors publish. Read the boundary behind every number before you trust it.

Comparison Table: Voice Agent Stacks

StackArchitectureTurn latency (reported)Interruption handlingControl level
OpenAI Realtime APINative audio model, no STT or TTS chain200-400 ms response initiation; 353 ms median voice-to-voice in one production buildNative server-side VAD, speech_started event, response.cancelSession config, tools, voice choice
LiveKit Agents + RealtimeWebRTC transport, Realtime model in worker260 ms P50, 430 ms P95 in one head-to-head buildNative VAD from the model; full pipeline control in PythonFull: VAD, codec, RTP, tools in-process
LiveKit cascaded pipelineDeepgram STT, GPT-4o, ElevenLabs TTS, Silero VAD380 ms P50, 610 ms P95 in one head-to-head buildSilero VAD, manual cancellation and queue flushFull: every component swappable
Vapi (managed)Managed platform, same vendor chain480 ms P50, 750 ms P95 in one head-to-head buildBuilt-in, not tunablePrompt, webhooks, tools; VAD and codec fixed
ElevenLabs Conversational AIManaged voice agent1.27 s mean response in Cekura Bench4.96 out of 5 interruption score in Cekura BenchVoice, prompt, tools

Latency figures come from the linked sources and describe different measurements. The head-to-head figures measure VAD cutoff to first TTS audio byte across 500 calls. The Cekura figures measure full conversational turns across 246 retained calls per configuration. Do not compare them directly.

Choosing a Stack

Pick by the constraint that hurts most. If latency is the constraint, use a native audio model. OpenAI Realtime API, or LiveKit Agents with Realtime inside the worker, gives the fastest first response. The trade is vendor lock-in to the model and per-minute API charges.

If control is the constraint, build a cascaded pipeline on LiveKit or Pipecat. You choose the speech recogniser, the language model, the voice and the VAD thresholds. Tool calls run in-process, in single-digit milliseconds plus your database query time. On a managed platform, webhook-based tools add 200 to 600 milliseconds per call. If your agent calls tools on most turns, that gap compounds fast.

If speed to market is the constraint, use a managed platform. Vapi takes a prompt and a phone number and handles the rest. It adds answering machine detection, voicemail drop and campaign tooling that you would otherwise build yourself. The cost is higher per-minute pricing and fixed VAD and codec behaviour you cannot tune.

Whatever you choose, measure the same way. Track median and 95th percentile turn latency, interruption detection time, false interruption rate and context preservation after interruption. Set targets before launch. A 250 millisecond target for interruption detection and a 90 percent target for context preservation are reasonable starting points, based on the production measurements cited above.

Bottom Line

Native audio models win on latency. A Realtime API agent starts responding in 200 to 400 milliseconds, while a cascaded pipeline needs 360 to 920 milliseconds per turn. Cascaded pipelines win on control, with swappable components and in-process tools. Managed platforms win on speed to market, with built-in telephony and campaign features. Interruption handling is the real test. The API fires a speech event and truncates the response. Your code must clear the queue and cancel fast. Turn-taking is a tuning problem, not a feature checkbox. Set the silence threshold, measure false interruptions, and keep the transcript clean after every barge-in. The fastest stack is the one whose numbers you have measured yourself, on your own calls, with your own callers.