Voice AI infrastructure

Open-Source Voice AI: LiveKit Agents, Pipecat, Dograh and the Real Cost of Self-Hosting

Open source can take a voice agent from ₹8 to ₹12 a minute down to about ₹2 to ₹3. The catch: you become the platform. Here is what that means in practice.

By Shreyas Raj, founder of RapidXAI · Updated 29 November 2026 · 12 sources

The short answer

The three main open-source options are LiveKit Agents (Apache-2.0 framework on LiveKit's real-time media stack), Pipecat (BSD-2 Python framework maintained by Daily, with the widest provider list) and Dograh (BSD-2 self-hostable platform with a Vapi-style visual builder). Self-hosted with Indian telephony and speech models, a call can cost around ₹2 to ₹3 a minute versus roughly ₹8 to ₹12 on managed platforms. In exchange you own uptime, security, upgrades and debugging.

Frameworks vs a platform, in one table

LiveKit Agents and Pipecat are frameworks. Dograh is a platform.

A framework hands you building blocks and expects you to write Python. A platform hands you a dashboard. Pick based on who will run it day to day.

LiveKit AgentsPipecatDograh
What it isFramework for real-time voice agents [1]Python framework for voice and multimodal agents [3]Self-hostable alternative to Vapi and Retell [5]
LicenceApache-2.0 (turn detector under LiveKit Model License) [1]BSD-2-Clause [3]BSD-2-Clause [5]
GitHub stars (Nov 2026)15.4k [1]17.5k [3]6.3k [5]
Maintained byLiveKitDaily and the community [3]Dograh team and community
InterfaceCode (Python, plus a Node version) [1]Code (Python) [3]Visual workflow builder and dashboard [5]
Phone supportLiveKit SIP telephony [1]Twilio, Telnyx, Plivo, Exotel, Vonage, Genesys, Daily [3]Twilio, Vonage, Telnyx, Plivo, Vobiz, Cloudonix, Asterisk [5]
Managed optionLiveKit Cloud [2]Pipecat Cloud [4]app.dograh.com [5]
Best forProduction apps on solid media infraMaximum choice of AI providersTeams that want a Vapi-like UI they own

LiveKit Agents: the infrastructure-first choice

LiveKit started as open-source WebRTC media infrastructure. Agents is the layer that turns it into a voice AI framework [1].

  • Turn detection: a transformer model estimates when the caller has actually finished speaking, to cut down on interruptions [1].
  • Phone calls: agents make and receive calls through LiveKit's SIP stack [1].
  • Plugins: mix speech-to-text, LLM, text-to-speech and realtime speech models from different providers [1].
  • Extras: MCP support, job scheduling and a built-in test framework [1].

One licence detail people miss: the framework is Apache-2.0, but the turn detection models ship under the separate LiveKit Model License [1]. Read it before you build a product on top (lawyers love this sort of thing).

LiveKit Cloud prices, if you do not want to host media yourself

The free Build plan includes 1,000 agent session minutes and 5 concurrent sessions. Ship is $50/month with 5,000 minutes, then $0.01 a minute. Scale starts at $500 [2]. LiveKit's own example phone call works out to $0.0479 a minute all-in, US telephony included [2].

Pipecat: the everything-plugs-in choice

Pipecat, maintained by Daily, is a Python framework built around composable pipelines and swappable services [3].

Its README is basically a catalogue. By our count it lists about 25 speech-to-text services, 26 LLMs and 34 text-to-speech engines [3]. (If a provider exists, someone has probably written the Pipecat plugin.)

  • Transports: 8, including Daily and LiveKit WebRTC, WebSockets and even WhatsApp [3].
  • Telephony: serializers for Twilio, Telnyx, Plivo, Exotel, Vonage and Genesys [3]. Exotel support matters for Indian deployments.
  • Multi-agent: handoffs and parallel work are supported [3].

Pipecat Cloud hosts your agent from $0.01 per active minute on a 0.5 vCPU, 1 GB instance, with unlimited concurrency listed [4].

Dograh: the open-source Vapi alternative

Dograh describes itself as 'the open-source, self-hostable alternative to Vapi & Retell' [5]. It is open source under BSD-2, not a closed product with a free tier.

  • Visual workflow builder: start nodes, agent nodes, global instructions, tools, transitions and end-call outcomes [5].
  • Test panel: talk to your agent in the browser, or use text chat for faster prompt iteration [5].
  • Telephony built in: including Vobiz, an Indian provider, plus human handoff by call transfer [5].
  • Bring your own models: any LLM, STT and TTS provider. Recordings go to bundled MinIO or any S3-compatible store [5].
  • Developer hooks: MCP server plus Python and Node SDKs for creating agents and placing outbound calls [5].

Setup is one script that pulls a Docker Compose file. First start takes about 2 to 3 minutes, then the UI is on port 3010 [5].

Vapi Made Me Broke. This Made It Free. · Shreyas Raj on YouTube

Shreyas sets up Dograh locally and builds agents with tool calls, showing its own auth, database and recording storage.

What self-hosting costs per minute in India

Here is a realistic Indian stack, priced from public rate cards as of November 2026. Our estimate, with every assumption shown.

LayerChoicePricePer call minute
TelephonyVobiz Indian numberVoice from ₹0.42/min, numbers from $5/month [7]₹0.42
Speech-to-textSarvam (Indian languages)₹0.49/min pay-as-you-go [8]₹0.49
Text-to-speechSarvam Bulbul v3₹3 per 1,000 characters [8]About ₹1.10 (agent speaks ~360 characters per call minute)
LLMSarvam 105B₹10 input, ₹25 output per million tokens, introductory pricing [8]About ₹0.10
ServerOne VPS, or Pipecat/LiveKit Cloud$0.01/min hosted [2][4]₹0 to ₹0.95
TotalAbout ₹2.10 to ₹3.05

Swap Sarvam's speech-to-text for Deepgram Nova-3 multilingual at $0.0058 a minute and the number barely moves [9]. Deepgram also gives $200 of free credit to start [9].

For comparison, Vapi estimates $82 to $129 per 1,000 minutes before telephony [10]. That is roughly ₹7.70 to ₹12.15 a minute at about ₹94 to the dollar.

So when does it pay?

The saving is about ₹5 to ₹9 a minute. At 2,000 minutes a month, that is ₹10,000 to ₹18,000. Nice, but less than a week of an engineer's time.

At 50,000 minutes a month, it is ₹2.5 lakh to ₹4.5 lakh. Now you can pay a senior engineer and still come out ahead.

Our take

Below about 10,000 minutes a month, self-host to learn or to control data, not to save money. Above about 30,000 minutes, the platform fee is the biggest line on your bill and open source wins on cost.

The work nobody puts in the README

A famous 2015 Google paper, 'Hidden Technical Debt in Machine Learning Systems', warned that real-world ML systems pile up 'massive ongoing maintenance costs' [11]. Voice agents are no exception (hey, Google engineers checked).

When you self-host, these jobs become yours:

  • Uptime. If your server dies at 2am, calls fail at 2am. Plan monitoring and alerts on day one.
  • Scaling. Ten concurrent calls on one VPS is easy. A thousand needs load balancing and capacity tests.
  • Upgrades. These projects ship fast. Pin versions, read changelogs, test before you update.
  • Provider drift. STT, TTS and LLM vendors change prices and models. Someone has to notice.
  • Latency tuning. Host near your callers. For Indian calls, an Indian region beats a US one.

Security checklist before your first real call

  1. Close public signup. Dograh's quickstart leaves signup enabled. Set ENABLE_SIGNUP=false and restart [5].
  2. Replace the quick tunnel. The quickstart opens a public Cloudflare quick tunnel for webhooks [5]. Put a proper domain with HTTPS in front for production.
  3. Decide on telemetry. Dograh sends anonymous usage data unless you set ENABLE_TELEMETRY=false [5][6].
  4. Lock down recordings. Private bucket, encryption, a retention period. India's DPDP Act expects reasonable security safeguards and breach reporting [12].
  5. Keep secrets out of code. API keys in environment variables or a secrets manager, never in the repository.
  6. Back up the database. Agents, prompts and call logs live there.
How I Deploy AI Voice Agents to Replace Vapi (10 Min) · Shreyas Raj on YouTube

Deploying Dograh to a cloud server, including picking a Bangalore region for lower latency on Indian calls.

Which one should you pick?

Your situationPickWhy
Engineers on staff, building a productLiveKit AgentsStrong media layer, SIP, turn detection, cloud fallback [1][2]
You want to try many STT, TTS and LLM vendorsPipecatWidest provider catalogue, Exotel support [3]
Ops team or agency that wants a dashboardDograhVisual builder, test panel, Indian telephony built in [5]
No engineers, under 5,000 minutes a monthA managed platformSee Vapi vs Retell vs Bland

How we do it at RapidXAI: our builds run on LiveKit and Dograh, with Vobiz telephony, Sarvam for Indian languages and Gemini Live where a speech-native model fits. Same open pieces as above, no secret sauce (sorry to disappoint).

For the full decision, including hiring an agency, read build vs buy for voice AI. For the pipeline basics, see how AI voice agents work.

Questions people ask

Is Dograh really open source?

Yes. The Dograh repository is published under the BSD 2-Clause licence and can be self-hosted with Docker [5]. A managed cloud version also exists at app.dograh.com for teams that do not want to host it.

LiveKit Agents or Pipecat: which is better?

Neither is better across the board. LiveKit Agents pairs a framework with LiveKit's own media and SIP infrastructure [1]. Pipecat focuses on composable pipelines and the widest choice of AI providers and telephony serializers [3]. Prototype the same agent in both if you can.

How much does a self-hosted voice agent cost per minute in India?

Our estimate is about ₹2 to ₹3 a minute using Vobiz telephony and Sarvam speech and language models, based on their November 2026 rate cards [7][8], plus server costs. Managed platforms run roughly ₹8 to ₹12 a minute at Vapi's published estimate [10].

Do I need a GPU to self-host a voice agent?

Not if you call hosted APIs for speech and language models, which is the common setup. The agent server itself runs on ordinary CPU instances. Pipecat Cloud's smallest instance is 0.5 vCPU and 1 GB of memory [4]. You need GPUs only if you run the models yourself.

Can I connect Indian phone numbers to these frameworks?

Yes. Dograh has Vobiz built in [5], Pipecat ships an Exotel serializer [3], and LiveKit connects to SIP trunks from any provider [1].

What is the biggest risk of self-hosting?

Operations, not code. Uptime, security, upgrades and monitoring become your job. Budget engineering time every month, not just for the initial build [11].

Keep reading

Sources

  1. [1] livekit/agents: a framework for building realtime voice AI agents, GitHub, 2026
  2. [2] LiveKit Cloud pricing, LiveKit, 2026
  3. [3] pipecat-ai/pipecat, GitHub, 2026
  4. [4] Pipecat Cloud pricing, Daily, 2026
  5. [5] dograh-hq/dograh, GitHub, 2026
  6. [6] Dograh documentation, Dograh, 2026
  7. [7] Vobiz pricing, Vobiz, 2026
  8. [8] API pricing, Sarvam AI, 2026
  9. [9] Deepgram pricing, Deepgram, 2026
  10. [10] Vapi pricing, Vapi, 2026
  11. [11] Hidden Technical Debt in Machine Learning Systems (Sculley et al.), NeurIPS 2015, 2015
  12. [12] The Digital Personal Data Protection Bill, 2023, PRS Legislative Research, 2023
About the author

Shreyas Raj founded RapidXAI in Pune and builds AI voice agents, automation and AI search work for clients. He teaches the same stack in public on his YouTube channel (356 videos and 41.6K subscribers as of November 2026) and through EducateX AI.

Book a 30 minute call with the founder

Chat on WhatsApp