Table of Contents
A compliance audit or a multi-region latency requirement can force a move off an all-in-one voice agent platform. A mandate to bring your own model can do the same, and those events are the practical reasons to unbundle. General dissatisfaction alone rarely justifies the move.
After unbundling, the voice agent orchestration layer routes audio between text-to-speech providers and the rest of the speech-to-model stack while managing turn-taking and session state.
Bundled platforms tend to hit ceilings on pricing and compliance when provider choice or data-plane control matters. The decision path has two branches: self-host an open-source framework, or build a thin custom layer on modular speech APIs.
Key takeaways
Audit deadlines, regional latency requirements, provider mandates, pricing risk, and engineering capacity drive the decision.
- Audit deadlines and regional latency requirements are the clearest unbundling triggers; required providers and models can force the same decision.
- The control plane routes audio between STT and downstream model and voice providers, then owns turn-taking and session state.
- Retell prompt-length billing can multiply billed duration.
- Deepgram's Voice Agent API supports BYO LLM and BYO TTS options.
- Self-host Pipecat docs or LiveKit Agents docs only with dedicated engineers.
Provider comparison at a glance
No single provider wins on every axis: Deepgram and Retell trade self-hosting for managed convenience, while Pipecat and LiveKit Agents trade convenience for full control over deployment and compliance.
Comparison methodology
Cells below come from official documentation and pricing pages.
| Decision Point | Deepgram Voice Agent API | Retell AI | Pipecat | LiveKit Agents |
|---|---|---|---|---|
| Deployment model | Managed WebSocket API | Managed cloud platform | Self-hosted or Pipecat Cloud (managed) | Self-hosted containers or LiveKit Cloud |
| Flagship model | Flux for conversational STT, with Aura-2 TTS | Configurable LLM and voice catalog | Open-source orchestration framework | Open-source orchestration framework |
| Streaming protocol | WebSocket | Managed APIs; custom LLM over WebSocket | WebRTC, SIP, and WebSocket transports | WebRTC and SIP through LiveKit |
| Concurrency limits | Varies by plan | 20 free, then paid per-slot tiers | Set by your infrastructure | Set by your infrastructure or cloud plan |
| BYO LLM | Yes, discounted Custom tiers | Yes, via a custom LLM WebSocket you host | Yes, swappable per pipeline | Yes, plugins or custom endpoints |
| BYO TTS | Yes, discounted BYO TTS tiers | Platform voice catalog with paid add-ons | Yes, modular services | Yes, plugins or custom endpoints |
| Pricing model | Bundled per minute of WebSocket connection | Stacked components: voice infra, LLM, TTS, telephony | Free framework; you pay providers directly | Per-minute agent session fee plus provider costs |
| Self-hosted deployment | Managed Voice Agent API; Deepgram also offers self-hosted speech deployment options | No | Yes | Yes, or LiveKit Cloud |
| Security and data residency | SOC 2 Type 1 and 2, data residency options | SOC 2 Type 1 and 2, no EU operations | Inherits your infrastructure's controls | SOC 2 Type II on LiveKit Cloud; inherits your controls if self-hosted |
| HIPAA | HIPAA-aligned deployments; BAAs handled via sales and enterprise agreements | HIPAA with signed BAA before PHI | Inherits your HIPAA controls | HIPAA included on LiveKit Cloud's Scale tier and above; inherits your controls if self-hosted |
| Best fit | Managed speech stack with provider choice | Fast deployment on US-centric workloads | Full pipeline control for Python teams | Multi-region, WebRTC-heavy deployments |
Reading the best-fit row
Match each recommendation to infrastructure you already run. If you already run Kubernetes and WebRTC, you'll read the self-hosted columns differently than a product team without platform engineers.
Why the all-in-one platform model breaks down as call volume grows
One bundled contract is convenient. That convenience fades when scale or compliance outgrows the vendor's defaults, and cost can force the same review.
The bundled pricing ceiling
Headline per-minute rates rarely describe production spend. Retell scales billed duration by this formula once a prompt passes 3,500 tokens, per its billing docs: Scaling Factor = Prompt LLM Tokens ÷ 3,500.
Detailed system prompts for tool definitions and guardrails can multiply the bill, and the rule is buried on the billing-exceptions page rather than in the headline rate, the kind of surprise nobody wants to explain in a monthly invoice review.
Vendor lock-in on speech providers
You'd expect changing engines to be a configuration edit. A platform can wire provider choice into the product instead. Synthflow documents ElevenLabs as a named voice-cloning and TTS integration for building more natural-sounding agents, one of several third-party integrations it supports.
When a platform ships integrations as a fixed list rather than an open provider slot, adding a new engine means waiting on the vendor's roadmap instead of editing a config file. Once prompt assets and call data live inside one vendor, its roadmap decisions become your constraints.
Compliance requirements the platform wasn't built for
When your customers include hospitals or banks, the platform's compliance posture becomes your compliance posture. Retell compliance docs require a signed BAA before you transmit any PHI. The same page states Retell doesn't operate services within the EU. For a B2B2B platform selling into European healthcare, that rules the platform out.
What the voice agent orchestration layer actually does
When you unbundle, you own the control plane between caller audio and the model's reply.
Routing between speech and language providers
When audio arrives as a stream, you first choose which speech-to-text engine transcribes it. Then you set language and region, plus any vocabulary configuration. Partial transcripts flow to the LLM before the caller finishes. The LLM's tokens stream to text-to-speech before the sentence completes, which keeps response times conversational.
Provider abstraction sits on top. Swap the STT engine for one region, route healthcare calls to a model with medical vocabulary, or drop to a cheaper LLM for simple flows, all without rewriting the pipeline.
Turn-taking, interruptions, and session state
Knowing when a caller has finished speaking is harder than transcribing them. Voice activity detection tells you when audio stops. End-of-turn detection tells you whether the caller is done or just pausing.
The agent talks over people if it decides too early, and leaves dead air if it decides too late. It's the kind of awkward gap you've probably heard on a support call and never want to ship. When the caller barges in, the control plane has to cancel TTS output mid-stream. Then it routes the new audio.
Session state, conversation history, tool results, and pending handoffs have to survive a provider failover. Managed platforms hold that state for you today.
Where Deepgram's Voice Agent API fits underneath it
You can keep orchestration decisions in your own code and still consume the speech stack through a single connection. Deepgram's Voice Agent API combines STT, LLM orchestration, and TTS over one WebSocket. It's billed per minute of connection time. Deepgram pricing names Custom BYO LLM and BYO TTS tiers.
Its FAQ notes that with a bring-your-own LLM, you pay Deepgram only for audio components and orchestration, which can lower total cost. For real-time agent audio, Flux is Deepgram's conversational STT model designed for voice-agent conversations. Concurrency limits vary by plan.
The triggers that push enterprises toward unbundling
Spot the blocking event early and you can plan the move. Wait too long and you get migration work stacked on top of an audit deadline, a rough calendar invite for whoever owns the project.
Multi-region latency requirements
Disconnected vendor APIs add audible delay. A managed platform fixes where those hops happen. Deepgram's self-hosted documentation names AI voicebots as a latency-sensitive use case. It points to colocating voice AI services with your other services as the answer.
Telnyx took that path. It embedded Deepgram Flux on managed GPUs at its global points of presence. Telnyx reports sub-second latency across the full pipeline, with stable performance during regional call spikes.
Custom model or BYO speech provider needs
If the platform picks your STT and TTS engines, specialized vocabulary and regional accents become someone else's roadmap problem. Synthflow's fixed integration list, covered earlier, is one version of this. A closed provider list creates the same constraint in a milder form.
The case for leaving gets strong when a customer contract names a required model or your accuracy targets need an engine the platform doesn't offer. Deepgram's BYO LLM and BYO TTS tiers address that boundary by keeping model choice in your hands.
Audit and data residency demands
Security reviewers first ask where the audio itself lives. A certification list alone doesn't answer that. Deepgram compliance documentation lists SOC 2 Type II certification and data residency options for regulated industries. It also describes the platform as GDPR ready.
Deepgram maintains HIPAA-aligned deployments. BAA terms are handled through sales and enterprise agreements. For stricter boundaries, Deepgram offers self-hosted and private deployment options.
Building or buying the voice agent orchestration layer
If you have dedicated voice engineers, you can self-host an open-source framework and control the full pipeline. Without that staffing, a thin custom layer on modular APIs gives you similar control and less to maintain.
Self-hosted frameworks
Pipecat and LiveKit Agents anchor the open-source path, with swappable pipeline services and provider abstraction respectively. Pipecat is an open-source Python framework you can self-host or run on Pipecat Cloud, its managed hosting option. Self-hosted, you run a bot process and session-start service, plus a media transport layer such as WebRTC or SIP.
LiveKit Agents runs agent code as containers that register with a LiveKit server, an open-source WebRTC SFU. It documents fallback providers for the speech stack and LLM. Both frameworks list Deepgram among their supported speech providers, so an unbundled stack can keep the same STT and TTS engines it used before.
Custom-built orchestration on modular APIs
Keep business logic, prompts, and tool definitions in your own codebase. Let one managed connection run the speech stack. Deepgram's Voice Agent API supports that split. Run it with the bundled stack to start. Then switch to a BYO LLM tier when a model mandate arrives. The tiers are options on the same API rather than separate products.
How much engineering you can commit
Count the heads you can commit before picking a path. Self-hosting means owning deployments and incident response for a real-time media system, plus the on-call pages that come with it. You also own scaling decisions. If your team's mandate is shipping product features, a managed speech stack underneath your own business logic splits the difference.
You keep provider choice and prompt ownership while someone else runs the media layer. If voice is a core differentiator and you already run production Kubernetes for high-volume services, self-hosting Pipecat or LiveKit Agents fits your operations.
Deciding when to unbundle
Treat one blocking event as the start of this migration, usually an audit or latency requirement, though a BYO model mandate can force the same move.
A simple decision checklist
Use these four questions before committing either way:
- Has a security review or compliance audit required data-plane control or residency boundaries your platform can't provide?
- Does a latency budget require colocating speech inference with your own infrastructure in specific regions?
- Has a customer contract or internal mandate named a specific LLM or speech provider your platform doesn't support?
- Are billing multipliers or add-on fees making per-minute costs unpredictable at your volume?
Treat two or more yes answers as enough to justify a migration plan. Zero usually means the bundled platform is still doing its job.
Getting started with modular speech infrastructure
Benchmark the unbundled speech stack against your current platform's real calls before committing to any migration. Start for free and test the speech stack against your own call samples.
FAQ
What is a voice agent orchestration layer?
It owns correlation IDs, provider timeouts, retry policy, and replayable event logs. A useful log shows the audio chunk, transcript candidate, LLM request, TTS cancel event, tool result, and handoff state for each turn.
Why do enterprises move away from all-in-one voice agent platforms?
The push usually starts when procurement asks for artifacts the bundled platform can't produce. That might mean data-flow maps, residency evidence, model approval records, or proof that a regional failover path won't cross a prohibited boundary.
Is unbundling a voice agent stack more expensive than an all-in-one platform?
Cost depends on speech minutes, LLM tokens, telephony, and engineering time. Then add failure-mode costs, such as fallback providers, replay testing, and incident response.
Can you unbundle gradually instead of rebuilding the whole stack at once?
Yes. Mirror live audio into the new pipeline without sending responses to callers. Compare transcript diffs, first-token latency, tool-call timing, and interruption handling before moving one low-risk flow.
What compliance requirements typically force an orchestration layer decision?
HIPAA business associate agreements usually drive the review when GDPR transfer rules or country-specific residency laws also apply. Prepare an evidence packet showing where each provider stores audio, transcripts, logs, and tool outputs.









