Voice Agent Platforms Compared: Realtime APIs, Vapi, ElevenLabs, LiveKit and Duplex

16 min read

The problem

Picture a small dental clinic, Maple Street Dental, that wants an agent to answer its phone. Callers ask about opening hours, book cleanings and move appointments. The clinic needs the agent to look up real slots, never invent one, and stop talking the moment a caller cuts in.

You can call a speech model directly from OpenAI or Google, rent a hosted platform such as Vapi or ElevenLabs, or run your own agent with an open framework like LiveKit Agents. Each choice decides who owns turn-taking, where tools run, and how much you can change when the agent behaves badly on a real call.

This post compares six options on the same questions: what it is, its architecture (cascade, speech-to-speech or full-duplex), its transport, how it handles turn detection and interruptions, how it calls tools, and what you actually control. Everything below comes from each vendor's own documentation, read on 26 Nov 2026. Vendor latency claims are left out unless I say who published them. If the architecture terms are new, the earlier post in this series, Cascade vs Speech-to-Speech vs Full-Duplex, explains them: read it here.

OpenAI Realtime API and GPT-Live

OpenAI now offers two live voice products, and its voice agents guide lists them next to a third option. GPT-Live is full duplex and passes work to a separate backend. The Realtime API runs one speech-to-speech session. The third option is a chained pipeline (speech-to-text, a text model, then text-to-speech) built with the Agents SDK VoicePipeline.

Realtime API. The getting started guide describes a speech-to-speech model that works on audio directly and can call tools. In the browser flow, your server creates a short-lived client secret and the frontend connects over WebRTC. Server code connects over WebSocket instead. The guide's example model is gpt-realtime-2.1.

sequenceDiagram
    participant B as Browser
    participant S as Your server
    participant O as OpenAI Realtime API
    B->>S: ask to start a call
    S->>O: create short-lived client secret
    O-->>S: client secret
    S-->>B: client secret
    B->>O: connect over WebRTC with the secret
    B->>O: caller audio
    O-->>B: model audio
    O->>B: function call
    B->>S: run the tool on your side
    S-->>B: tool result
    B->>O: function_call_output
    Note over S,O: server code can use WebSocket instead

Sequence: the browser flow from OpenAI's getting started guide, where your server hands out a short-lived secret so your real API key never reaches the browser.

Turn detection is on by default. The voice activity detection page names two modes. server_vad decides on silence and takes threshold, prefix_padding_ms and silence_duration_ms. semantic_vad uses a classifier on the words and has an eagerness setting (low, medium, high or auto). OpenAI's page says server_vad is the default.

Interruptions depend on transport. The conversations guide says that over WebRTC and SIP the server cuts off unplayed audio for you. Over WebSocket, your client has to stop playback and send conversation.item.truncate with audio_end_ms, so the model's memory matches what the caller heard. Sessions last up to 60 minutes.

Tools come in two kinds, per the Realtime tools guide. function tools run in your app, and you send back a function_call_output. mcp tools point at a remote MCP server that the Realtime API calls itself. You can limit them with allowed_tools and require approval for each call. Two warnings from the guide: a remote MCP server can see tool-call data, so keep the tool surface narrow, and after MCP calls you must send response.create yourself, because no follow-up reply starts automatically.

GPT-Live. The GPT-Live guide calls the model full duplex: it can listen while it speaks. It sends tool work to a backend, which OpenAI calls delegation. WebRTC is the recommended transport, with audio on media tracks and JSON events on a data channel. WebSockets, SIP and a server-side "sideband" connection are also supported.

The delegation guide has two modes, fixed when the session is created. In Responses delegation, a backend model runs tools you list (hosted tools, MCP or functions). In client delegation, your own code or agent does the work and the event carries only metadata. In both modes your app checks permissions and confirmations. One line from that page belongs on every voice team's wall: "A completed backend response does not itself mean the user heard the answer."

For phone lines, the telephony and SIP page covers GPT-Live over a SIP trunk with TLS signalling and SRTP. Inbound calls arrive as a webhook you accept or reject. The page lists a 3-minute ringing limit and a 2-hour limit on connected calls, plus DTMF, transfer and hangup. It also advises giving each action one handler, so duplicate webhook deliveries don't run a tool twice.

What you control: the prompt, the tools, the VAD settings and the transport. You do not control the model's inner turn-taking. With GPT-Live, what you own is the backend and its business rules.

Google Gemini Live API

The Gemini Live API overview describes a stateful WebSocket connection. Audio goes in as 16-bit PCM at 16 kHz and comes out as PCM at 24 kHz. You can also send text and images, at up to one image per second. You connect either server to server or straight from the client, and Google recommends ephemeral tokens for the client route. Listed features include barge-in, function calling, Google Search, audio transcriptions and proactive audio. For WebRTC and telephony, Google points to partners including LiveKit, Pipecat and Voximplant.

The capabilities guide says plainly that "The Live API is in preview." Automatic VAD is on by default, with settings for start and end sensitivity, prefix_padding_ms and silence_duration_ms. You can switch it off and send your own activityStart and activityEnd signals instead.

Interruptions are handled on the server. Generation is cancelled, and "Only the information already sent to the client is retained in the session history". The server sends an interrupted message and drops any pending function calls, listing the IDs it cancelled. Your client must stop playback and clear its audio queue. Function calling behaves differently by model. The guide says asynchronous NON_BLOCKING calls are the default on Gemini 3.8 Live, while 3.1 Flash Live Preview supports only synchronous calls.

What you control: the prompt, the tools, the VAD settings or your own VAD signals, and the client. Like OpenAI's Realtime API, this is speech-to-speech in one session, so you can't swap the voice model or the transcriber.

Vapi

Vapi is a hosted platform that assembles the cascade for you. Its data flow page lays out the pipeline. A transport layer comes first: SIP, phone numbers through Twilio, Telnyx or Plivo, WebSocket, or WebRTC "via LiveKit/Daily". Then come a transcriber, Vapi's orchestration layer, an LLM and a TTS voice. For the transcriber, LLM and TTS you can bring your own provider key or point at a custom endpoint.

The orchestration layer is the part you can't swap. Vapi's page labels it "Vapi Proprietary" and not customizable. It runs endpointing, interruption detection (telling a real barge-in from an "uh-huh"), noise filtering, backchanneling and filler injection.

You can still tune it. The voice pipeline configuration page splits it into a startSpeakingPlan and a stopSpeakingPlan. The start plan sets a wait time plus an endpointing method. Options include a LiveKit model (English only), Vapi's own heuristic with separate waits for punctuation, no punctuation and numbers, a custom endpointing server, or the transcriber's own end-of-turn signal from Deepgram Flux or AssemblyAI. The stop plan sets how many words or seconds of caller speech count as an interruption, how long to back off, and which phrases always or never interrupt. The same page claims interruption detection in "50-100ms". That is Vapi's own figure.

Function tools are webhooks. Vapi POSTs a tool-calls message to your server URL and expects results keyed by toolCallId. Both result and error must be flat strings, and the docs say to "Always respond with HTTP 200, even when reporting a tool failure through error." A response for a booking tool might look like this example:

json
{
  "results": [
    {
      "toolCallId": "call_8f2a",
      "result": "Booked: cleaning, Tuesday 2 December, 10:30, with Dr. Rao."
    }
  ]
}

You can also set spoken messages for when a request starts, finishes, fails or runs late, so the caller hears something instead of silence. Vapi can also run OpenAI's speech-to-speech models in place of the cascade. Its OpenAI Realtime page notes that endpointing and interruptions are then still "managed by Vapi's orchestration layer", and that knowledge bases are not supported in that mode.

What you control: which providers fill each slot, the tuning knobs on turn-taking, and your tool servers. You don't control the orchestration code itself.

ElevenLabs Agents

ElevenLabs calls its product ElevenAgents. The overview names four parts: a fine-tuned speech recognizer, an LLM of your choice (or your own), a TTS model, and a proprietary turn-taking model. You connect through a SIP trunk, Twilio, a WebSocket API, client SDKs for React, Swift, Kotlin, React Native and Unity, an embeddable widget, or batch calls.

The realtime models page adds a second mode. In Custom mode you pick the recognizer, LLM and TTS, which is a cascade. In Realtime mode a single speech-to-speech model does the work, and Eleven Realtime v1 Mini is the default. Realtime mode can't be combined with a custom LLM. If the realtime model times out or errors, it falls back to backup LLMs. The prompt, voice, tools, knowledge base and turn settings work the same way in both modes.

Turn-taking is configured on the conversation flow page. Turn eagerness is eager, normal or patient. A silence timeout of 1 to 30 seconds sets when the agent takes the turn. An optional "soft timeout" filler, off by default, plays once per turn while the agent is still thinking. Interruptions can be switched off through client events, and the docs suggest doing that for legal disclaimers. Maximum call duration defaults to 600 seconds and can be set from 60 to 7,200.

The tools page sorts tools by where they run. Client tools run on the user's device, and the docs warn never to use them to check anything that must be true. Webhook tools run on your server. Code, MCP and system tools run on ElevenLabs' side.

What you control: the models in each slot (in Custom mode), the turn settings and your webhook servers. Like Vapi's orchestration layer, the turn-taking model is a closed component.

LiveKit Agents, including realtime model mode

LiveKit Agents is an open-source framework. You write and host the agent process, and it joins a LiveKit room over WebRTC. Phone calls reach the room through SIP. The cascade version, with separate STT, LLM and TTS, is covered step by step in Build a Voice Agent with LiveKit Agents in this series. This section is about the other mode.

flowchart LR
    U[Browser or app] -- WebRTC --> R[(LiveKit room)]
    P[Phone caller] -- SIP --> R
    A[Your agent process] -- WebRTC --> R
    A --> M[STT, LLM, TTS<br/>or a realtime model]
    A --> T[Your tools and MCP servers]

Flowchart: with LiveKit Agents, callers and your agent all join the same room, and you choose what runs inside the agent.

The realtime models overview says you can pass a speech-to-speech model to the llm argument of AgentSession in place of the STT, LLM and TTS trio. It sorts those models into turn-based ones (OpenAI Realtime, Gemini Live) and full-duplex ones (GPT-Live). Plugins listed there include Amazon Nova Sonic, Azure OpenAI Realtime, Gemini Live, NVIDIA PersonaPlex, GPT-Live, OpenAI Realtime, Phonic, Ultravox and others. A minimal session looks like this example, based on the OpenAI Realtime plugin page:

python
# Example only. Pattern from LiveKit's realtime model docs:
# a realtime model goes in the llm slot of AgentSession.
from livekit.agents import AgentSession
from livekit.plugins import openai

session = AgentSession(
    llm=openai.realtime.RealtimeModel(voice="marin"),
)

Turn detection gets a choice. The turns overview says you can rely on the realtime model's own server-side detection or pair it with LiveKit's turn detector. When the model detects turns itself, it also decides when the user is interrupting, so most of LiveKit's interruption settings no longer apply and you tune the model instead. You can also turn the model's detection off and let LiveKit handle turn-taking on the client. That works with OpenAI's Realtime API but not with Gemini Live, which keeps turn-taking on its own signals. There is one docs mismatch to watch. LiveKit's OpenAI plugin page says semantic VAD is the default, while OpenAI's own VAD page says server_vad is. Check which one applies to your plugin version.

There are trade-offs. According to the realtime overview, realtime models give no interim transcripts, the user transcript arrives late, and say() isn't available. A "hybrid" setup gets around the last one: the model outputs text only (modalities=["text"]) and a separate TTS speaks it, which helps when a script must be read word for word. GPT-Live doesn't support the hybrid setup. With full-duplex models, LiveKit can stop the audio on an interruption, but the model keeps generating until it stops on its own.

Tools are ordinary Python or Node functions, and LiveKit can also expose MCP servers to the agent. For reliability, LiveKit documents a realtime model fallback adapter (Python only) that switches models on an unrecoverable error and carries the chat context over. Its fallback strategies page notes that full-duplex models aren't supported by that adapter.

What you control: nearly everything. You choose the model, the turn strategy, the tools, the hosting and the fallback logic. The cost is that you also run and debug all of it.

Google Duplex, as history

Duplex is not a platform you can build on, but it belongs here as the first well-known phone agent. Google announced it in 2018. The original 2018 post could not be fetched for this article, so this section relies on Google Research's retrospective from 20 Nov 2026.

That post says Duplex started as a closed-domain system, before the transformer existed. It used custom recurrent neural network models trained on anonymized phone calls for narrow tasks such as restaurant booking and checking holiday hours. Later it added open-domain models: the post says it used LaMDA in live calls in 2022, alongside deterministic state tracking and "strict policy guardrails". Today it runs on Gemini and takes free-text task descriptions instead of fixed domains. Google launched it in Tasks in the Gemini app to call businesses for users.

The design notes still hold up. Google calls out sub-second latency over noisy, compressed phone lines, separate models for background noise and conversational rhythm, and reading polite indirect refusals. Every call opens by saying it is an automated system calling from Google, and businesses can opt out. It is also the clearest example of a pattern this series keeps returning to: a flexible model for wording, held in check by deterministic state and rules.

Side-by-side comparison

OpenAI Realtime APIOpenAI GPT-LiveGemini Live APIVapiElevenLabs AgentsLiveKit Agents
What it isSpeech model APIFull-duplex model APISpeech model API (preview)Hosted voice platformHosted voice platformOpen-source agent framework
ArchitectureSpeech-to-speechFull-duplex plus backend delegationSpeech-to-speechCascade, or OpenAI speech-to-speechCascade (Custom) or speech-to-speech (Realtime)Cascade, or any realtime model
TransportWebRTC, WebSocket, SIPWebRTC, WebSocket, SIP, sidebandWebSocket; partners for WebRTC and phoneSIP, Twilio, Telnyx, Plivo, WebSocket, WebRTCSIP, Twilio, WebSocket, SDKs, widgetWebRTC rooms; SIP into rooms
Turn detectionserver_vad or semantic_vadModel listens while speakingAutomatic VAD or your own signalsProprietary orchestration with tunable plansProprietary turn-taking model, eagerness settingTurn detector, VAD, STT endpointing, or the model's own
InterruptionsAuto-truncate on WebRTC/SIP; client truncates on WebSocketApp decides whether backend work continuesServer cancels and drops pending callsstopSpeakingPlanToggle via client eventsTruncates history to what was heard
ToolsYour functions, or remote MCP run by OpenAIBackend model or your own clientFunction calling, Google SearchWebhook tools plus built-in typesClient, webhook, MCP, system toolsYour functions, MCP, provider tools
You controlPrompt, tools, VAD, transportBackend, permissions, transportPrompt, tools, VAD, clientProvider per slot, tuning, tool serversModels (Custom mode), turn settings, webhooksEverything, including hosting

What about latency?

Every vendor publishes speed claims. I'd treat them as best cases measured from where the vendor stands. One public benchmark measures from the caller's side instead. The OpenBenchmarks Voice Agent Latency Benchmark, published by OpenBenchmarks Labs, places real phone calls through the Plivo carrier and measures the gap between the caller finishing and the agent's first audio, using recordings of each call. Its leaderboard dated 2026-08-01 lists a median of 1,424 ms for ElevenLabs and 1,558 ms for Vapi, across 2,078 usable turns over 550 calls in total for all platforms.

Two caveats from the same page matter more than the ranking: it measures only that one gap, not answer quality or interruption handling, and it reports that a platform's own self-reported latency ran roughly 490 ms below what the benchmark measured from the call audio. The page also says some of the gaps between platforms are inside its error budget. The broader point is in Measuring Voice Agent Latency: p50 and p95 in this series: measure your own line, from the caller's side, at the median and the tail.

How to choose

  • You want the fewest moving parts and can accept one vendor's model: the OpenAI Realtime API or Gemini Live, with your own tool server.
  • You want overlap, backchannels and natural interruptions, and can keep business logic in a backend: GPT-Live, keeping in mind that you are responsible for the backend's permission checks.
  • You want a phone number working this week and are happy to tune rather than rewrite turn-taking: Vapi or ElevenLabs.
  • You need to own the turn logic, swap providers, self-host, or mix cascade and realtime: LiveKit Agents.
flowchart TD
    A[Pick a platform] --> B{Need to own turn logic,<br/>self-host or swap providers?}
    B -- yes --> L[LiveKit Agents]
    B -- no --> C{Need a phone line live<br/>with little code?}
    C -- yes --> V[Vapi or ElevenLabs]
    C -- no --> D{Need overlap and<br/>backchannels?}
    D -- yes --> G[GPT-Live plus your backend]
    D -- no --> R[OpenAI Realtime or Gemini Live<br/>plus your tool server]

Flowchart: the same choices as the list above, as questions in order.

For Maple Street Dental, every option can work. What decides it is where the booking rules live and who gets paged when the agent double-books a chair. Whatever you pick, keep the facts in tools, not in the prompt. Giving a Voice Agent Tools with MCP in this series shows how. For what the per-minute bill looks like on a phone line, see voice AI cost per minute.

New to a term used here? The series glossary defines VAD, endpointing, barge-in, full-duplex, MCP, p95 and the rest in plain language.

Sources