← Back to Blog
AI Voice

VAPI vs LiveKit for AI Voice Agents in 2026: A Developer Head-to-Head

Share

VAPI and LiveKit are two common foundations for production AI voice agents in 2026. VAPI is a managed API platform: you configure an assistant and a phone number and it runs the call. LiveKit is open-source real-time infrastructure with an Agents framework that gives you full control over the media pipeline. Here is how they compare on architecture, cost and control, with every price read from the vendors’ own pages.

Updated 26 November 2026: an earlier version reported a latency benchmark and production figures that we could not support with records. They have been removed rather than updated, and the prices below were re-read on the vendors' pages.

Platform Philosophy

VAPI is opinionated and managed — optimised for speed to production. You configure the agent via JSON (system prompt, voice, model, tools) and VAPI handles media routing, WebRTC, PSTN bridging, recording, and analytics. LiveKit is flexible — you write Python or Node.js agent code that runs as a worker, self-hosted or deployed on LiveKit Cloud, and LiveKit handles the media infrastructure. The tradeoff is classic: simplicity vs control.

FactorVAPILiveKit Agents
HostingFully managed (VAPI cloud)Agent workers self-hosted or deployed on LiveKit Cloud; media on LiveKit Cloud or a self-hosted SFU
Setup timeMinutes to a first call from the dashboardLonger: you write and deploy an agent worker
Agent codeJSON config + webhook handlersPython/Node.js agent process
Speech and voice providersChosen from VAPI’s supported providersAny provider with a LiveKit plugin, or your own
Language modelChosen from VAPI’s supported models, or a custom endpointAny model you can call from your agent code
PSTN supportBuilt-in (Twilio, Telnyx)Via LiveKit SIP connector
Open sourceNoYes (LiveKit Server + Agent SDK)
Pricing modelPer-minute platform fee + model costsSelf-hosted: servers + model costs; LiveKit Cloud: per-minute agent fee + model costs

Where the Latency Comes From

On either platform, the pause before an agent answers is the sum of the same steps: deciding the caller has finished, transcribing them, the language model’s first sentence, and the voice’s first audio. On our own demo voice agent — a self-hosted, Pipecat-based stack — the median dead air per turn was about three seconds, split roughly into thirds between those stages. The platform you choose changes how much of that you can tune.

VAPI gives you its settings for turn detection and the providers it supports. LiveKit lets you change everything: run the agent worker next to your media server, swap the turn-detection model, or move to a speech-to-speech model that removes the separate transcription and voice steps altogether.

Cost Per Minute Comparison

Every rate below was read from the vendor's own pricing page on 17 November 2026. Voice pricing moves faster than almost anything else in this stack, so check the date on any comparison you read — including this one.

Cost ComponentVAPILiveKit CloudLiveKit (self-hosted)
Platform fee$0.05/min hosting$0.01/min agent session, after the plan allowanceYour own servers
Speech, language and voice modelsPassed through at provider cost, no markupLiveKit Inference at its listed model prices, or your own provider keysDirect from each provider
Example: Deepgram speech-to-text$0.0095–$0.0099/min in Vapi's calculator$0.0048/min (Nova-3 monolingual, Build and Ship plans)Deepgram's own rate
TelephonyFree on Vapi numbers; Twilio $0.0085/min inbound, $0.014/min outbound$0.01/min US local inbound after the allowance; own SIP trunk: 5,000 minutes included on Ship (50,000 on Scale), then $0.004/min ($0.003 on Scale)Your carrier's rates

Neither platform folds the models into its own fee. VAPI passes speech-to-text, the language model and text-to-speech through at the providers' cost with no markup. LiveKit Cloud either bills them through LiveKit Inference at its own listed model prices, or lets you call the providers with your own keys. Listed model prices can differ between the two, as the Deepgram line above shows, so compare the platform fee first, then price the models you will actually use on each.

The second change is architectural rather than a price move. When this was first written you chained speech-to-text into an LLM into text-to-speech, and the table reflected that. Speech-to-speech models now do all three in a single pass — LiveKit Inference lists OpenAI GPT Realtime 2.1 at $0.0676 a minute — which removes two network hops and the latency they cost. It is not automatically cheaper: a chained pipeline of low-cost models can still cost less per minute.

Compare the platform fee on its own. At 10,000 minutes a month VAPI charges $500 in hosting and LiveKit Cloud $100 in agent session minutes on the Ship plan ($50 including 5,000 minutes, then $0.01 a minute) — a $400 monthly gap before any model usage. Self-hosting removes that fee but adds servers to run and someone to carry the pager, which is why the honest breakeven is not a minute count. It is a question: do you already employ engineers who operate infrastructure? If not, $400 a month buys a great deal of not having to.

VAPI Pricing 2026 at a Glance

  • Pay as you go: $0.05 a minute for Vapi hosting, with $5 of free credits to start, 4 concurrent calls and one Vapi phone number
  • Core package: $29 a month for 10 concurrent calls, 5 phone numbers and zero data retention
  • Pro package: 10% of the hosting fee with a $999 monthly minimum, 30 concurrent calls; Premier is quoted by sales
  • Extra concurrent lines are $10 a month each
  • Speech-to-text, language model and text-to-speech are passed through at provider cost, with no markup
  • HIPAA-eligible data handling with a Business Associate Agreement: $2,000 a month

LiveKit Pricing 2026 at a Glance

  • Build: free - 1,000 agent session minutes, one US local number and 50 inbound minutes
  • Ship: from $50 a month - 5,000 agent session minutes and 100 US inbound minutes
  • Scale: from $500 a month - 50,000 agent session minutes and 1,000 US inbound minutes
  • Past the allowance: $0.01 per agent session minute, $0.01 per US local inbound minute
  • Your own SIP trunk instead: 1,000 minutes included on Build (no paid overage on the free plan); 5,000 on Ship, then $0.004 a minute; 50,000 on Scale, then $0.003 a minute
  • Self-hosting: the agents framework and the media server are open source and free to run yourself

Both lists were read from vapi.ai/pricing and livekit.com/pricing on 17 November 2026; the SIP trunk allowances and Twilio's inbound rate were re-checked on 4 December 2026. Voice pricing moves quickly - check the date on any comparison you read, including this one.

On the platform fee alone, ten thousand minutes a month costs $500 on VAPI against $100 on LiveKit Cloud. Fifty thousand costs $2,500 against $500. What that gap buys on VAPI is the dashboard, managed phone numbers, built-in transfer logic and nobody carrying a pager.

Customisation Depth

VAPI offers a good deal of customisation for a managed platform: server webhooks, context from your own systems and custom tools. But you cannot change the VAD algorithm, the audio codec pipeline, or how RTP is processed. With LiveKit, these are just Python parameters.

PSTN and SIP Integration

VAPI's built-in SIP/PSTN support is its main practical advantage over LiveKit. You configure a Twilio or Telnyx number in the VAPI dashboard and it handles all the SIP bridging. With LiveKit, you use the LiveKit SIP connector — which works well once configured, but requires setting up a SIP trunk, configuring dispatch rules, and running the SIP worker as a separate service.

Function Calling and Tool Use

Both platforms support LLM function calling — letting the agent look up orders, book appointments, or update a CRM mid-call. The difference is where the tool code runs. With VAPI, you define tools in the assistant JSON and VAPI calls your webhook URL when the LLM triggers them; each tool call is a round trip to your server. With LiveKit, tools are plain Python functions running inside your agent process — no webhook round-trip, direct database access, and you can stream partial results back to the conversation.

# LiveKit: tools are local async functions — no webhook hop @function_tool async def lookup_order(ctx: RunContext, order_id: str) -> str: """Look up the status of a customer order.""" order = await db.orders.find_one({"id": order_id}) return f"Order {order_id} is {order['status']}, arriving {order['eta']}"

Outbound Calling: Dialling, AMD and Campaigns

Inbound support agents are the easy case — outbound campaigns are where platform differences bite. You need answering machine detection (AMD), retry logic, concurrency throttling, DNC scrubbing, and local caller ID rotation.

Outbound FeatureVAPILiveKit Agents
Initiate call via APIPOST /call (one line)CreateSIPParticipant API
Answering machine detectionBuilt-in (voicemail detection + hook)Build your own or use Telnyx/Twilio AMD
Voicemail dropBuilt-inCustom implementation
Campaign scheduling / retriesYour code via APIYour code via API
Concurrency controlPlan-based: 4 by default, 10 on Core, extra lines $10 a monthLimited only by your infrastructure
DNC / TCPA complianceYour responsibilityYour responsibility

For a small outbound pilot, VAPI’s built-in voicemail handling saves building your own. At high concurrency the pricing shapes diverge: VAPI includes 4 concurrent calls by default and charges $10 a month for each extra line, while self-hosted LiveKit is limited only by the servers you run.

Scaling and Concurrency Limits

Scaling FactorVAPILiveKit (self-hosted)
Default concurrent calls4 (10 on the $29 Core package)No platform limit
Scaling modelBuy extra lines or a larger packageAdd agent workers horizontally
Platform cost per minute$0.05/min hostingYour server costs
Multi-region deploymentVAPI-managed regionsDeploy SFU + workers anywhere
Cold start on traffic spikeManaged by VAPIPre-warm workers yourself

Migrating from VAPI to LiveKit

A common path is VAPI → LiveKit once monthly volume makes the platform fee hurt. The good news: your prompts, tool definitions, and conversation design transfer directly. The work is in the infrastructure layer.

  1. Port the system prompt and tool schemas — VAPI assistant JSON maps almost 1:1 to a LiveKit AgentSession configuration
  2. Rewrite webhook tools as in-process Python functions (usually simplifies the code)
  3. Set up the LiveKit SIP connector and point your Twilio/Telnyx trunk at it
  4. Replicate turn-detection and interruption settings, and test them on real calls
  5. Rebuild call recording and analytics (LiveKit Egress for recording; your own dashboards for analytics)
  6. Run both platforms in parallel for a week, splitting traffic 90/10, then cut over

Budget engineering time for parallel testing. What pays for it is the platform fee: at 20,000 minutes a month it is $1,000 on VAPI against $200 on LiveKit Cloud’s Ship plan ($50 with 5,000 minutes, then $0.01 a minute), an $800 monthly difference.

How They Compare to Retell AI and Pipecat

VAPI’s closest managed alternative is Retell AI, which bills in a similar way and includes 20 concurrent calls. Pipecat, the open-source framework from Daily, is LiveKit’s closest open-source counterpart: a Python pipeline framework you pair with a transport such as Daily or SIP. We compare seven of these options, with current prices, in Vapi alternatives.

Frequently Asked Questions

Is VAPI open source?

No. VAPI is a proprietary managed platform. LiveKit is open source (Apache 2.0) — both the media server and the Agents SDK — and can be fully self-hosted.

Can VAPI use Claude or other non-OpenAI models?

Yes. VAPI supports OpenAI, Anthropic Claude, Groq, Google Gemini, and custom LLM endpoints via its custom-llm option. LiveKit supports any model you can call from Python or Node.js.

Does LiveKit charge per minute?

On LiveKit Cloud, yes: agent session minutes bill at $0.01 per minute beyond the plan allowance. The tiers run Build (free, 1,000 agent minutes), Ship (from $50 a month, 5,000) and Scale (from $500, 50,000). Self-hosting removes the platform fee entirely — you pay only for your servers and your AI providers — and both the media server and the Agents framework are open source.

Which is better for HIPAA-compliant voice agents?

LiveKit self-hosted is the stronger option for strict compliance — audio never leaves your infrastructure except to your chosen STT/LLM/TTS providers, with whom you can sign BAAs directly. VAPI offers HIPAA-eligible data handling with a Business Associate Agreement as a $2,000-a-month add-on, but you are adding one more vendor to your compliance chain.

Can I use my existing Asterisk or FreeSWITCH PBX with either platform?

Yes, both. VAPI accepts SIP trunks from any PBX via its SIP trunking feature. LiveKit SIP exchanges calls with Asterisk, FreeSWITCH, Kamailio or any standards-compliant SIP server over a SIP trunk; it does not register as an extension.

How long does it take to build a production voice agent?

A VAPI prototype comes together faster, because there is no infrastructure to set up. Getting either to production takes longer than the prototype: the long pole is conversation design, tools and edge-case handling, not the platform.

What does VAPI cost per minute in 2026?

$0.05 a minute for Vapi hosting on pay-as-you-go, with $5 of free credits to start. Speech-to-text, the language model and text-to-speech are passed through at provider cost on top, with no markup; calls on Vapi's own numbers carry no transport fee. Packages from $29 a month add concurrency and support. Figures read from vapi.ai/pricing on 17 November 2026.

Is LiveKit cheaper than VAPI?

On the platform fee, yes: $0.01 per agent session minute against $0.05, and LiveKit Cloud bundles an allowance into each plan. Model costs are billed separately on both and their listed prices can differ, so price the models you plan to use. Self-hosting LiveKit removes the platform fee entirely, but you then run the servers and answer the pager, which is the real trade rather than the per-minute one. What self-hosting a media server actually involves, against the other open-source SFU, is in LiveKit vs Jitsi.

When to Choose VAPI

  • You want the fastest path from idea to production voice agent
  • You are building an MVP or proof-of-concept under time pressure
  • Your volume is low enough that the platform fee costs less than the engineering time to self-host
  • You need built-in call analytics, call recordings, and debugging tools
  • Your team prefers configuring JSON over writing Python agent code

When to Choose LiveKit

  • You want to control latency yourself, down to turn detection and where the agent runs
  • Your volume is high enough that the $0.04-a-minute platform fee difference outweighs the engineering time
  • You need a custom STT, LLM, or TTS provider not supported by VAPI
  • You need recordings and transcripts kept on infrastructure you control
  • You want to run speech-to-speech models inside your own pipeline

VAPI and LiveKit serve different needs. VAPI is the faster start, for prototypes and moderate volume, with managed infrastructure. LiveKit is the choice when you need full control and lower platform cost at scale, and have engineers to run it. Starting on VAPI and moving to LiveKit as volume grows is a reasonable path, and prompts and tool definitions carry across. Our AI voice team can help you choose and implement the right stack.

Share
Let's Talk

Need Help With Your Project?

The same engineers who wrote this article will work on your project. Free consultation.