TL;DR
- Pricing runs $4 to $40 per million characters. Hyperscalers (Google, Polly) price cheapest for standard voices; specialists (ElevenLabs, Cartesia) charge more for latency or voice quality.
- Streaming, character counting, retries and caching decide production stability more than which provider you pick.
- Voice agents need audio starting inside 200ms or callers notice the gap; Cartesia and fast hyperscaler tiers fit that constraint.
- SSML tags count toward your character bill on every provider, and some free tiers (like Polly’s neural tier) expire after 12 months.
- A multi-provider layer (like AceX Voice Agents five-engine stack) lets teams swap Text-to-Speech providers per agent without rebuilding integration code.
Most developers pick a text-to-speech API in an afternoon, based on how a demo voice sounds. Six months later, the bill or the latency breaks the app in production. The whole integration gets rebuilt from scratch.
We’ve watched this happen across dozens of voice agent deployments. Our platform team keeps testing new text-to-speech APIs every week. The demo voice is rarely the problem. The pricing model and the streaming latency usually are.
This guide breaks down how a text-to-speech API actually works. It covers what the five leading providers cost in 2026. And how to pick one without redoing this work later.
Read on!
What Is a Text-to-Speech API?
A text-to-speech API is a cloud service that turns written text into spoken audio through a single API call. You send text, sometimes marked with SSML for pronunciation and timing. The API returns an audio file or a live stream. Every major provider runs on neural networks trained in real human speech.
Text-to-speech has moved a long way past the flat, robotic voices of a decade ago. Older systems stitched together pre-recorded syllables. Current systems use neural models that predict pitch, rhythm, and pauses directly from text.
Most providers follow a similar pipeline under the hood. A text normalizer expands abbreviations and numbers. An acoustic model turns that text into a spectrogram. A vocoder converts the spectrogram into a playable waveform.
Developers use Text-to-Speech APIs across four broad categories:
- Voice agents that answer calls or chat in real time, where latency matters more than voice drama
- Accessibility tools that read screen content aloud
- IVR and notifications where clarity and cost per call matter most
- Narration and content, such as audiobooks and video voiceovers, where emotional range matters most
The category you’re building for decides which provider fits, more than any single quality score does. A beautiful voice that takes 800 milliseconds to respond will frustrate callers faster than a plainer one that responds in 100.
How Do You Integrate a Text-to-Speech API?
Integrating a Text-to-Speech API takes four steps. Get an API key, then choose a voice and model. Send text, plain or SSML-tagged, to the endpoint. Handle the response as a file or a live stream. Most providers ship SDKs in Python, Node, and Java, so you rarely write raw HTTP calls yourself.
The real integration work happens after the first successful call. Four decisions decide whether your voice feature holds up in production.
- Streaming vs. Batch: Voice agents need streaming, where audio starts playing before the full response finishes generating. Narration and notifications can use batch, where you wait for a complete file.
- Character counting: Providers bill by character, and most count SSML tags, spaces, and newlines too. A script heavy on SSML markup costs more than its spoken word count suggests.
- Retries and fallback: Text-to-Speech endpoints occasionally time out under load. Production systems need a retry policy, and ideally a fallback voice, so one failed call doesn’t silence your agent mid-conversation.
- Caching: If phrases repeat often, such as “please hold,” cache the generated audio instead of resynthesizing it every time. This alone can cut Text-to-Speech spend meaningfully on high-repeat call flows.
A minimal integration looks close to this in pseudocode:
The pattern barely changes across providers. What changes is authentication, rate limits, and how each one prices the same character.
How Much Do Text-to-Speech API Cost in 2026?
Pricing for Text-to-Speech APIs runs from $4 to $40 per million characters. The gap comes down to voice quality and latency, not company size. Hyperscalers price cheapest for standard voices. Specialized real-time and creative providers charge far more for lower latency or richer voices. That difference matters most once you scale past a pilot.
Here is what five widely used providers charge as of September 2026, verified against each provider’s own pricing page.
| Provider | Entry-level rate | Premium/neural tier | Free tier | Best for |
| Google Cloud Text-to-Speech | $4/1M chars (Standard/WaveNet) | $16/1M (Neural2), $30/1M (Chirp 3 HD) | 4M chars/month | Multilingual apps on GCP |
| Amazon Polly | $4/1M chars (Standard) | $16/1M (Neural), $30/1M (Generative) | 5M chars/month (12 mo.) | AWS-native IVR, telephony |
| Azure AI Speech | $16/1M chars (Neural) | $22/1M (Neural HD) | 500K chars/month | Enterprise, branded voice |
| ElevenLabs | $50/1M chars (Flash/Turbo) | $100/1M (Multilingual v3) | 10,000 credits/month | Realistic narration, cloning |
| Cartesia | ~$30–39/1M chars (tiered) | — | 20,000 credits/month | Sub-100ms voice agents |
Three costs rarely show up in the headline rate. SSML tags count toward your character total on every provider we checked. Free tiers often reset monthly, but some, like Polly’s neural tier, expire after 12 months entirely. Premium voices such as Chirp 3 HD or ElevenLabs Multilingual cost 4 to 25 times the standard tier for the same character count.
The text-to-speech market itself is growing fast. One estimate puts it near $4.8 billion, though sizing varies by research firm. More vendors enter every quarter, which keeps pushing prices down at the low end.
Which Text-to-Speech API Should You Pick?
Pick by your primary constraint, not by a demo you liked. Building a voice agent, choose Cartesia or a hyperscaler’s fastest tier for latency. Building for scale on a budget, choose Polly or Google Standard voices. Building for narration, choose ElevenLabs for voice quality. Enterprise teams needing compliance and 140+ languages lean toward Azure.
Does latency decide the experience? Voice agents and phone bots need audio starting inside 200 milliseconds, or callers notice the gap and talk over it. Cartesia and the fastest hyperscaler tiers fit here.
Is cost per character the limit? At high volume, a jump from $4 to $40 per million characters changes your unit economics completely. Google Standard and Polly Standard stay cheapest at scale.
Does voice quality carry the product? Audiobooks, ads, and branded narration live or die on how real the voice sounds. ElevenLabs and Azure Neural HD lead here, at a real cost premium.
Do you need one voice everywhere, or several? Teams building across geographies often need Hindi, Tamil, or Arabic alongside English. Google Cloud and Azure cover the most languages of any provider we checked.
Most teams don’t pick one provider forever. Voice agents often use a fast, cheap engine for routine responses. They then switch to a premium voice for a handful of high-stakes moments, like a cancellation call. Building that routing yourself means maintaining two SDKs, two billing dashboards, and two failure modes.
How Global Teams Deploy Text-to-Speech Without Lock-In
Most teams reading this far aren’t choosing a Text-to-Speech API in isolation. They’re wiring one into a voice agent, alongside speech-to-text, an LLM, and telephony, then maintaining that stack as providers update pricing and models.
At Acefone, our AI Voice Agent platform runs a no-code layer over seven Text-to-Speech engines. Teams pick a voice per agent from a dropdown, then swap providers later without touching integration code. Bring-your-own-key support means components billed through your own provider account run at zero extra platform cost.
This matters most for global teams with an India presence. Our infrastructure runs on India-based data residency end to end, under Acefone’s status as a DoT-licensed Virtual Network Operator. A voice agent built for Indian customers can meet DPDPA 2023 data requirements without a separate compliance project, while still using whichever Text-to-Speech engine from this guide fits the job.
For a team evaluating five providers and their SDKs individually, that’s real engineering time reclaimed.
Conclusion
Three things are worth carrying out of this guide.
First, the per-character rate on a pricing page rarely matches your real bill. SSML tags, retries, and premium voice tiers add up faster than the headline number suggests.
Second, latency and voice quality, not brand recognition, decide the right provider. A hyperscaler and a specialist like Cartesia solve different problems, and both can be right for different parts of one product.
Third, you don’t have to own the integration work for all five providers yourself. A platform that already wires in ElevenLabs, Smallest AI, Sarvam AI, Azure, and Cartesia lets your team test and switch without a rebuild.
Whichever engine you pick, model your real character volume before you commit, not just the demo.
Evaluating Text-to-Speech providers for a voice agent? Skip building five separate integrations yourself. Talk to our team. We’ll walk you through how AceX Voice Bot’s multi-provider stack fits your telephony setup, with real latency numbers from our own deployments.
FAQs
A text-to-speech API is a cloud service that converts written text into spoken audio through a single call. You send text, often with SSML markup for pronunciation and pacing, and get back an audio file or stream. Pricing runs from $4 to $160 per million characters, depending on voice quality.
Entry-level rates run $4 to $16 per million characters for hyperscalers like Google Cloud and Amazon Polly. Premium and creative voices, such as ElevenLabs, cost $50 to $100 per million characters. Real-time voice-agent specialists like Cartesia sit in between, at roughly $30 to $39 per million.
Cartesia’s Sonic model targets sub-100 millisecond time-to-first-audio, among the fastest commercially available. Google, Azure, and Polly all support streaming too, but their fastest tiers still trail specialized real-time providers on raw latency. This gap matters most for phone agents, where callers notice any pause past 200 milliseconds.
Not directly, since every provider uses its own SDK and request format. A platform like AceX Voice Bot abstracts that layer, so switching providers means picking a different option from a dropdown, not rewriting integration code. This matters once pricing or quality on your current provider changes.
Rarely, past the prototype stage. Free tiers cap out fast, some expire after 12 months, and none include the retry logic or fallback voice a production agent needs. Treat the free tier as a way to test voice quality, not as your production plan.
Coverage varies widely. Google Cloud and Azure support Hindi and several regional Indian languages natively. ElevenLabs and Cartesia have narrower language lists today, focused on English and a handful of global languages. Check the specific voice list before committing, since coverage changes often.