Key takeaways
- This page is the API list for building a voice agent, split across two layers. For the step-by-step build on top of an existing LLM, see turning an LLM into a voice agent; for telephony specifically, see voice AI APIs for phone-based agents.
- The best API is not one product. It is an orchestration framework plus a voice layer, and most guides conflate the two.
- Gradium TTS starts speaking in ~50 ms (Gradium, December 2, 2026) and records 53 ms P50 time to first audio with 0 ms leading silence on the independent Coval leaderboard (Coval, 30-day window, read November 19, 2026).
- For an agent that reads numbers back, Gradium TTS has 91% of 198 number-heavy English sentences (numbers, dates, currencies, codes) read correctly in Speko's test, up from 83% for the previous model (Speko, December 1, 2026), and it ranks #3 of 19 real-time models on Voice Arena's US English leaderboard, ranked by blind listener votes (Voice Arena, read December 1, 2026).
- LiveKit and Pipecat are the two open-source orchestration frameworks with official Gradium integrations; Vapi and Retell AI are the bundled platforms.
The best API to build an AI voice agent in 2026 is not a single product. It is a combination of two distinct layers that most guides conflate: an orchestration framework that manages the pipeline and audio transport, and a voice layer (Text-to-Speech plus Speech-to-Text) that determines what the agent sounds like and how accurately it understands the user.
This article covers both layers: which platforms handle orchestration, which APIs handle voice, how they combine, and which combination fits your use case.
Two Types of APIs for Voice Agents: What the Distinction Means
Full-Stack Voice Agent Platforms
Full-stack voice agent platforms bundle orchestration, telephony, and sometimes STT, LLM, and TTS into a single product. Vapi, Retell AI, Bland AI, and Synthflow are examples. These platforms reduce time to first working demo significantly because they handle connection management, audio transport, turn-taking, and telephony integration out of the box.
The tradeoff is control. In a bundled platform, the TTS voice is often constrained to the platform's approved providers, the LLM choice may be limited, and swapping any component typically means changing the platform entirely.
Voice Layer APIs: TTS and STT
Voice layer APIs handle the speech components of a voice agent: Text-to-Speech converts the LLM's response to audio, and Speech-to-Text transcribes the user's speech to text the LLM can read. These APIs plug into any orchestration framework or full-stack platform, giving teams control over the voice quality, latency, and accuracy of every turn.
Gradium, ElevenLabs, Cartesia, and Deepgram are voice layer API providers. LiveKit and Pipecat are orchestration frameworks. These categories are not competing, they are complementary: orchestration frameworks and full-stack platforms each support a broad range of voice models, so the voice layer you choose plugs into whichever orchestrator or platform you use. Gradium is the default proposed voice option in Pipecat and integrates natively with LiveKit.
Why the Distinction Matters for Your Architecture
A full-stack platform is the right choice when the primary goal is speed to deployment, telephony features (call routing, warm transfer, PSTN), and a managed operational layer. A composable stack with a voice layer API is the right choice when the LLM choice, voice quality, or production metrics are differentiating factors for the product.
Most production voice agents in 2026 use a composable stack. The orchestration layer (LiveKit, Pipecat) handles audio transport and turn-taking, the LLM handles reasoning, and the voice layer API handles TTS and STT. This is the architecture covered in depth in How to Turn Any LLM into a Voice Agent: Best Stack 2026.
The Best Orchestration Frameworks and Platforms in 2026
The two open-source orchestration frameworks, Pipecat and LiveKit, rank highest. They are flexible, fully open source, and backed by active companies, and they let you choose any voice layer, any LLM, and any orchestration behavior rather than working within a fixed vendor menu. The bundled platforms, Vapi and Retell AI, rank below them: they are faster to a first phone demo but more closed, so they suit teams that want a turnkey phone deployment over component-level control.
#1 Pipecat: Most Flexible, Python-First and Open Source
Pipecat is an open-source Python framework for building real-time voice and multimodal agents, maintained by Daily with a large and active contributor community. It abstracts the pipeline coordination (STT, LLM, TTS, audio transport) into a composable event loop, with installable extras for dozens of TTS and STT providers, and Gradium is the default proposed voice option (pipecat-ai[gradium]). It handles details like interruption logic, filler words, and reconnection automatically, and because it is open source there is no vendor lock-in on the orchestration layer.
Pipecat is the most flexible starting point for a production voice agent: any provider at any layer can be swapped without changing the pipeline structure, the framework is free and self-hostable, and its commercial backing keeps the integration ecosystem current.
Best for: developers building voice agents in Python who want maximum flexibility, an open-source foundation with no lock-in, and the ability to swap providers without rewriting the pipeline.
For a step-by-step build with Pipecat, see Gradium and Pipecat: Native TTS Integration for Voice Agents.
#2 LiveKit: Open-Source, Maximum Control, WebRTC
LiveKit is an open-source real-time communication infrastructure built on WebRTC, backed by LiveKit Inc. and used to power large-scale realtime AI deployments. Its Agents framework provides an SDK for assembling voice agent pipelines from independent components: you choose the STT, LLM, and TTS providers and wire them together in code. Gradium ships as a native plugin for LiveKit (livekit-agents[gradium]).
Like Pipecat, LiveKit is fully open source and company-backed, so it offers the same freedom from vendor lock-in with an additional strength in transport: its WebRTC foundation and telephony path make it a strong choice when the agent has to scale across many concurrent sessions or run over a phone line.
Best for: teams that want full control over every component of the voice agent pipeline, need on-premise or private cloud deployment, or want a WebRTC-native transport layer with a clear telephony path.
For a complete walkthrough of wiring Gradium into LiveKit, see How to Build a Voice AI Agent with Gradium and LiveKit.
#3 Vapi: Fastest to Market for Phone Agents
Vapi is a managed voice agent platform built specifically for phone calls. It handles SIP trunking, call routing, real-time audio streaming, interruption management, and warm transfers out of the box. Developers connect an LLM, choose a TTS and STT provider (including ElevenLabs, Deepgram, and Cartesia), and deploy a functioning phone agent without managing any of the underlying telephony infrastructure.
Best for: teams that need a working phone agent in days rather than weeks, without managing telephony infrastructure themselves.
Limitation: as a bundled platform, the voice, LLM, and orchestration choices are bounded by the options Vapi exposes, and changing the underlying stack later can mean migrating platforms. Vapi is a more closed setup than the open-source LiveKit and Pipecat frameworks.
#4 Retell AI: Production Phone Automation
Retell AI focuses on production-scale phone call automation. It includes built-in telephony (PSTN, SIP trunking), post-call analytics, AI quality assurance, batch calling, and appointment booking workflows. It pairs with Deepgram for STT and offers multiple TTS provider options.
Best for: outbound call automation, customer support phone agents, appointment scheduling at volume.
Limitation: as a bundled platform, Retell keeps the voice layer within the options it exposes, so component-level swapping is more constrained than in a composable stack. Like Vapi, Retell is a more closed setup than the open-source LiveKit and Pipecat frameworks.
The Best Voice Layer APIs in 2026
Gradium: TTS and STT from One Credit Pool
Gradium supplies both halves of the voice layer from one credit pool, which is what makes it a single-vendor option rather than two integrations. Its Text-to-Speech figures, each from the source that measured it:
- Speed. ~50 ms time to first audio for Gradium's current Text-to-Speech model (Gradium, December 2, 2026). On the independent boards: 53 ms P50 time to first audio on the independent Coval TTS leaderboard (Coval, 30-day window, read November 19, 2026), and 74 ms average time to first audio on Artificial Analysis, first of the 21 TTS models it measures (Artificial Analysis, 7-day window, read November 19, 2026).
- Leading silence. 0 ms leading silence before the first audible sound, on the independent Coval TTS leaderboard (Coval, 30-day window, read November 19, 2026), so every millisecond of its time to first audio is sound the listener hears. Board-wide, 25% of time to first audio is leading silence, across the Coval TTS leaderboard (Coval, 30-day window, read November 19, 2026).
- Accuracy. 1.7% average word error rate on the independent Coval TTS leaderboard (Coval, 30-day window, read November 19, 2026).
- Naturalness. #3 of 19 real-time models on Voice Arena's US English leaderboard, ranked by blind listener votes (Voice Arena, read December 1, 2026), and top 3 for naturalness among real-time models on Voice Arena's English, French, Spanish and Portuguese leaderboards (Voice Arena, read December 1, 2026).
The number that separates it for agent work is pronunciation on structured content. Gradium TTS has 91% of 198 number-heavy English sentences (numbers, dates, currencies, codes) read correctly in Speko's test, up from 83% for the previous model (Speko, December 1, 2026), and is tied #1 on naturalness (predicted by UTMOS) among the 30 voices of Cekura's Text-to-Speech benchmark, and tied first on medical terms and on words read from context (Cekura, November 21, 2026). Full detail in TTS latency benchmark 2026 and TTS WER benchmark 2026.
Speech-to-Text with semantic voice activity detection draws on the same credit pool at 2 credits per second. Semantic voice activity detection decides end of turn from the meaning of what the user said rather than a silence threshold, which is what stops the agent interrupting a user mid-thought. See semantic VAD configuration.
Voice cloning (Instant, from 10 seconds of audio) is available from the free tier, with 3 custom voices restricted to non-commercial use and from 10 custom voices on XS to 1,000 on L.
Covers English, French, German, Spanish and Portuguese. Pricing from $0 (free tier, 20,000 credits per month, no credit card) to $36.4 per 1M characters effective on the L plan. Concurrency runs 2, 5, 10, 15 and 20 on Text-to-Speech from Free through L. Session limit 3,000 seconds. Integrates natively with LiveKit (plugin and LiveKit Inference, model id gradium/default), Pipecat, Vapi, AWS Marketplace and SageMaker, and Baseten. Deployment: cloud, dedicated instances, self-hosted, on-premise and on-device (Phonon).
Cartesia: Broad Language Coverage, Top of the US English Preference Board
Cartesia shipped Sonic 3.6 on August 27, 2026. On the Artificial Analysis read of November 19, 2026 it averaged 282 ms time to first audio, against 74 ms for Gradium TTS on the same read (Artificial Analysis, 7-day window, read November 19, 2026). Cartesia's published "sub-90 ms" figure is model inference time excluding network, a different measurement from the end-to-end ones the boards report.
Where it leads is voice preference: on Voice Arena's US English board read December 1, 2026, Sonic-3.6 is first of the real-time models at 1,062 Elo, with Gradium TTS third at 1,051 (Voice Arena, read December 1, 2026). It also covers a substantially longer language list than Gradium's five, which is the deciding factor when an agent serves a market outside them.
Full comparison at Cartesia Alternative: Why Developers Choose Gradium.
ElevenLabs: Broadest Language Coverage, Content-Oriented
ElevenLabs Flash v2.5 and Eleven v3 Conversational are its real-time options in the table below. Both list at $50 per 1M characters against Gradium's $36.40 to $50.00 by plan. ElevenLabs has no latency data on Artificial Analysis, so the cross-vendor speed comparison in this guide does not cover it. On Voice Arena's US English board read December 1, 2026, Eleven v4 Turbo sits just below Gradium TTS among real-time models, at 1,047 Elo against 1,051 (Voice Arena, read December 1, 2026).
The ElevenLabs advantages are language coverage and the largest catalogue of ready-made voices on the market.
Full comparison at ElevenLabs Alternative: Why Developers Choose Gradium.
Deepgram: STT Leader on Speed
Deepgram is the price leader on the Speech-to-Text side: Nova-3 lists at $0.0043 per minute, about $0.26 per hour, against roughly $0.26 to $0.36 per hour on Gradium depending on plan, a gap that closes on Gradium's L plan. Speech-to-Text concurrency runs to 45 on pay-as-you-go and 60 on Growth.
On the Text-to-Speech side, Deepgram Aura-2 lists at $30 per 1M characters.
Full comparison at Deepgram Alternative: Why Developers Choose Gradium.
The Complete Comparison Table
The table compares what each option is and costs. For speed, one board measures most of them on the same day: on the Artificial Analysis read of November 19, 2026, average time to first audio was 74 ms for Gradium TTS (Artificial Analysis, 7-day window, read November 19, 2026), 86 ms for Inworld Realtime TTS-2 Flash, 265 ms for Fish Audio S2.1 Pro and 282 ms for Cartesia Sonic 3.6; ElevenLabs has no latency data there.
Sources: vendor pricing pages, September 8, 2026.
| Provider | Category | Price / 1M chars | Best for |
|---|---|---|---|
| Gradium | Voice layer (Text-to-Speech and Speech-to-Text) | $36.40 to $50.00 by plan | Structured content, one credit pool, on-premise |
| ElevenLabs Flash v2.5 | Voice layer (Text-to-Speech) | $50 | Voice catalogue |
| ElevenLabs Eleven v3 Conversational | Voice layer (Text-to-Speech) | $50 | Language breadth, expressive audio tags |
| Cartesia Sonic 3.5 | Voice layer (Text-to-Speech) | credit-priced | Language coverage |
| Cartesia Sonic 3.6 | Voice layer (Text-to-Speech) | credit-priced | Listener preference, language coverage |
| Deepgram Aura-2 | Voice layer (Text-to-Speech) | $30 | Cheapest Speech-to-Text alongside |
| Inworld Realtime TTS-2 | Voice layer (Text-to-Speech) | $25 down to $5 | Low latency at volume |
| Pipecat | Orchestration | Open source | Most flexible, any provider |
| LiveKit | Orchestration | Open source | WebRTC, full control, any LLM |
| Vapi | Full-stack platform | Subscription | Phone agents, fast deploy |
| Retell AI | Full-stack platform | Subscription | Phone automation at scale |
The Recommended Stack by Use Case
Production voice agent with maximum latency and accuracy
Voice layer: Gradium (Text-to-Speech and Speech-to-Text with semantic voice activity detection). Orchestration: LiveKit or Pipecat. LLM: your choice, including self-hosted. This is the composable stack when the agent reads structured content back to callers: 91% of number-heavy sentences read correctly in Speko's test (Speko, December 1, 2026), 53 ms P50 time to first audio with 0 ms leading silence on Coval (Coval, 30-day window, read November 19, 2026), and both halves of the voice layer on one credit pool. Start with How to Build a Voice AI Agent with Gradium and LiveKit.
Phone-based voice agent with telephony integration
Voice layer: Gradium (TTS + STT). Orchestration: LiveKit with Twilio SIP or Telnyx. LLM: your choice. LiveKit handles the bridge from the phone network to the voice agent pipeline. Gradium's 16-bit PCM output at configurable sample rates (48, 24, or 16 kHz) fits telephony pipeline requirements without a resampling step. See Best Voice AI API for Phone-Based Voice Agents in 2026.
Fastest time to deployment, phone first
Full-stack platform: Vapi or Retell AI. These platforms handle telephony, call routing, and pipeline management out of the box. Voice quality is bounded by the platform's provider options, so consider migrating to a composable stack as volume and quality requirements grow.
Multilingual voice agent (beyond 5 languages)
Voice layer: Cartesia or ElevenLabs Flash v2.5, both of which cover substantially longer language lists than Gradium's five. Orchestration: LiveKit or Pipecat, which both integrate natively with either. Within English, French, German, Spanish and Portuguese, compare on the speed, accuracy and naturalness figures above rather than on language count.
Fast prototype or hackathon
Gradbot: Gradium's open-source framework that wires STT, LLM, and TTS in under 50 lines of Python with any OpenAI-compatible LLM. Handles VAD, turn-taking, fillers, and interruptions automatically. Not intended for production at scale, but the fastest path to a working voice agent demo. Available at gradium.ai/gradbot.
How to Get Started with Gradium in a Voice Agent Stack
The Gradium free tier is available at gradium.ai with no credit card required: 20,000 credits per month covering both TTS and STT, and 3 Instant Voice Clones. The streaming TTS and STT WebSocket APIs are available immediately.
For a complete production setup with LiveKit:
pip install "livekit-agents[gradium]~=1.3"
For Pipecat:
uv add "pipecat-ai[gradium]"
Both integrations are documented with working examples. The LiveKit guide covers environment setup, semantic VAD configuration, and deployment to LiveKit Cloud. The Pipecat guide covers service configuration, voice selection, and runtime voice switching.
Seed-funded startups can apply to the Startup Program for $2,000 or more in free credits and 6 months of full M-plan access.
Glossary
Cascade Architecture
A voice agent design connecting three independent models in sequence: Speech-to-Text, an LLM, and Text-to-Speech. The dominant production architecture in 2026. Each component is independently replaceable. Gradium provides the STT and TTS layers; any LLM can be used for the reasoning layer.
Time to First Audio (TTFA)
The elapsed time between sending text to a Text-to-Speech API and the first audible sample reaching the listener. Since June 3, 2026 the Coval leaderboard reports it as perceived time to first audio, adding the leading silence inside the stream to the round trip. Gradium TTS records 53 ms P50 there (Coval, 30-day window, read November 19, 2026).
Latency IQR
The gap between the 25th and 75th percentile of time to first audio, also called the interquartile range. Measures consistency, which the median cannot show. A wide spread is what makes an agent feel unreliable on some turns.
Semantic VAD
Voice Activity Detection that uses utterance meaning to determine end-of-turn rather than silence duration. Native to Gradium's STT. Prevents the agent from interrupting a user who paused mid-sentence to think or recall information.
Orchestration Framework
The software layer that coordinates STT, LLM, and TTS in a real-time pipeline and manages audio transport. LiveKit and Pipecat are the two frameworks with official Gradium integrations.
Full-Stack Voice Agent Platform
A managed product that bundles orchestration, telephony, and often STT and TTS into a single API surface. Examples include Vapi, Retell AI, Bland AI, and Synthflow. Reduces time to deployment but limits control over individual components including voice layer choice.
WebSocket Multiplexing
A single persistent WebSocket connection handling multiple Text-to-Speech sessions at once, so no turn pays the handshake cost.
References
- Coval TTS leaderboard: benchmarks.coval.ai/tts
- Coval and Gradium, "How a benchmark change produced a faster TTS model", September 9, 2026: gradium.ai/blog/coval-perceived-ttfa-benchmark
- Gradium, "Time to First Audio", March 24, 2026: gradium.ai/blog/time-to-first-audio
- Artificial Analysis, Text to Speech models: artificialanalysis.ai/text-to-speech/models
- Voice Arena, US English leaderboard: voicearena.com/tts-leaderboard/us-english
- Cekura, Text-to-Speech voices benchmark: benchmarks.cekura.ai/text-to-speech
Related guides
This page is the hub of the voice-agent cluster: the API list across both layers. Its siblings:
- How to turn an LLM into a voice agent: the step-by-step build on top of an LLM you already run.
- Voice AI APIs for phone-based agents: the telephony constraints, sample rates and codecs.
- Building a voice AI agent with Gradium and LiveKit: the LiveKit walkthrough.
- Gradium and Pipecat native integration: the Pipecat walkthrough.
- Cascaded voice agents vs speech-to-speech: whether to use three models or one.
- Turn-taking and VAD in voice agents: the stage that decides when the pipeline runs.
- Adding Text-to-Speech to an app or website: the first integration.
- Best Text-to-Speech API for voice agents: the voice-layer comparison in depth.
Beyond this topic
The stack decision leads straight into three others: TTS latency benchmark 2026 for how the latency numbers above are produced, how to compare TTS pricing across providers for what the stack costs per conversation, and connecting Text-to-Speech to an LLM pipeline for the plumbing between the layers.
Gradium's free tier includes 20,000 credits per month with no credit card. API reference and quickstarts are at docs.gradium.ai. For enterprise evaluations, use our contact form.

