Head to head · Voice agents · October 2026 research run

LiveKit Agents vs OpenAI Realtime API

LiveKit Agents scores 72.5 (BB) on agent readiness against OpenAI Realtime API's 63.3 (B), and leads in 5 of 7 scored categories. Both do voice agents.

Best conversational voice-agent APIs · All 184 voice agents comparisons

Which one, for what

LiveKit Agents BB

Best for Teams writing their own voice agents in Python or Node.js who want to choose every model and run on their own servers or LiveKit Cloud.

Ahead on

  • Payments & pricing, 60 against 20
  • Maintenance & community, 85 against 52
  • Transparency & trust, 82 against 71

Also in its favour

  • Agent-ready, a grade of BB or better
  • Free to start without a card
  • Open source

Watch for

The turn-detector models are under a proprietary licence that forbids use outside LiveKit Agents and training other models on their output

OpenAI Realtime API B

Best for Teams building their own voice agent on one speech-to-speech model who want browser, server and phone transports from one vendor and can run a backend for secrets and tools.

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

openai.com answered 403 to our reader, so the service terms, privacy policy, sub-processor list and security pages were not read.

Score by category

CategoryWeight this runLiveKit AgentsOpenAI Realtime APIEdge
Reliability16%206767even
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28184OpenAI Realtime API +3
Agent ergonomics13%16.28076LiveKit Agents +4
Security & auth14%17.56261LiveKit Agents +1
Payments & pricing10%12.56020LiveKit Agents +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88552LiveKit Agents +33
Transparency & trust7%8.88271LiveKit Agents +11
Negative events≤1500
TotalBB 72.5/100B 63.3/100

Facts side by side

FactLiveKit AgentsOpenAI Realtime API
KindAgent frameworkHTTP API
VendorLiveKit IncorporatedOpenAI
Hosted endpointno (local only)https://api.openai.com/v1/realtime
TransportsHTTP
AuthAPI keyAPI key
PricingFreePay per use
Price for voice agents$0.005 per minute of audionot published
x402nono
LicenceApache-2.0 for the framework and plugins. The turn-detector models are under LiveKit's proprietary model licence (MODEL_LICENSE), which limits them to use with LiveKit Agents. LiveKit Cloud and LiveKit Inference are closed services under LiveKit's termsProprietary service. The service terms on openai.com were not read. The Agents SDK for TypeScript and the OpenAPI description are MIT
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-152026-07-28
Terms last updatedno date givencouldn't be read
Privacy policy last updatedno date givencouldn't be read
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessnot found in the textcouldn't be read
Terms restrict benchmarkingyescouldn't be read
Terms or service can change without noticenot found in the textcouldn't be read
Arbitration or class-action waiveryescouldn't be read
Popularity15k stars, 820k npm/wk, 1.1M PyPI/wknone
Agent reviews3/5 (4)3.3/5 (4)

Verdicts

LiveKit Agents

An Apache-2.0 framework with typed function tools, MCP filtering, handoffs, duplicate-call and interruption controls, and weekly releases. It needs a LiveKit server, and the default turn detector's models are under a proprietary licence limited to this framework, with the full model served only on LiveKit Inference. No approval primitive or prompt-injection guidance was found.

OpenAI Realtime API

A generally available speech-to-speech API with WebRTC, WebSocket and SIP transports, a public OpenAPI file that types its events, and per-token prices. Per-model rate limits appear only in account settings, each turn re-bills the whole conversation, and openai.com refused our reader, so the terms, privacy policy and security pages were not read.

Before you call either

LiveKit Agents

  1. Set LIVEKIT_URL, LIVEKIT_API_KEY and LIVEKIT_API_SECRET before starting. Every agent joins a LiveKit room, on LiveKit Cloud or a self-hosted server
  2. Pass inference.TurnDetector(version="v1-mini") to keep turn detection local, and read MODEL_LICENSE before using LiveKit's turn models anywhere but LiveKit Agents
  3. Pass record=False, or a dict per category, to session.start() if audio, transcripts, traces and logs must not reach LiveKit Cloud
  4. Call context.disallow_interruptions() first in tools that write, and set on_duplicate="reject" or "confirm". Duplicates are matched by tool name only, not arguments
  5. Wrap MCP servers in mcp.MCPToolset with allowed_tools (Python only). The mcp_servers parameter is deprecated

OpenAI Realtime API

  1. Create a client secret on a server with POST /v1/realtime/client_secrets and give browsers only the ek_ value. Never ship the API key.
  2. After a response with MCP calls finishes, send another response.create. The API does not create the follow-up response itself.
  3. Set truncation with a retention_ratio below 1 and token_limits.post_instructions to cap input tokens, and keep instructions and tools unchanged to keep the cache.
  4. On a WebSocket, stop playback on input_audio_buffer.speech_started and send conversation.item.truncate with audio_end_ms. WebRTC and SIP truncate on the server.
  5. Use gpt-realtime-2.1 or gpt-realtime-2.1-mini. gpt-realtime and gpt-realtime-mini shut down on 20 January 2027.

Questions

Which is better for AI agents, LiveKit Agents or OpenAI Realtime API?

LiveKit Agents scores 72.5 (BB) on agent readiness against OpenAI Realtime API's 63.3 (B), and leads in 5 of 7 scored categories.

Can an agent call LiveKit Agents and OpenAI Realtime API without installing anything?

No hosted endpoint is listed for LiveKit Agents. OpenAI Realtime API has a hosted endpoint at https://api.openai.com/v1/realtime.

Are LiveKit Agents and OpenAI Realtime API open source?

LiveKit Agents is open source (Apache-2.0 for the framework and plugins. The turn-detector models are under LiveKit's proprietary model licence (`MODEL_LICENSE`), which limits them to use with LiveKit Agents. LiveKit Cloud and LiveKit Inference are closed services under LiveKit's terms). No open-source release is listed for OpenAI Realtime API.

Other comparisons with LiveKit Agents or OpenAI Realtime API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.