The TTS market exploded in 2025. A dozen serious providers. Pricing that varies more than 30x. Latency that varies more than 10x. And a decision most developers get wrong, not because they chose badly, but because they did not know what to measure.
I run Gathos, a unified content API used by AI agent builders. Over the last year we integrated, benchmarked, and shipped traffic through every major TTS provider on this list. The right choice depends on what you are building, and the wrong choice is usually invisible until you scale. This post walks through the trade-offs honestly, including when not to use Gathos.
What is a text-to-speech API?
A text-to-speech API converts written text into spoken audio over HTTP. You send text plus configuration including voice ID, language, audio format, and speaking rate. You receive either a complete audio file or a real-time audio stream. Modern TTS APIs use neural networks trained on thousands of hours of human speech, producing voices increasingly indistinguishable from real ones.
Developers use TTS APIs for accessibility tools, audiobook generation, IVR systems, podcast automation, navigation apps, language learning, and the fastest-growing category in 2026: real-time voice AI agents that hold spoken conversations with users.
How a text-to-speech API works
Every modern TTS pipeline runs through four stages before you hear a word:
The differences between providers come down to which models they ship, how aggressively they have optimized for latency, and how much voice variety they offer. Everyone is solving the same problem. The engineering trade-offs are what you are paying for.
The 6 best text-to-speech APIs in 2026
Each provider gets the same treatment: what they are best at, real pricing, what breaks at scale, and who should use them.
| Provider | Best for | Latency (TTFB) | Starting price | Languages |
|---|---|---|---|---|
| Gathos | Agent builders, unified API | Routed (provider-best) | $18/mo unlimited | 600+ |
| ElevenLabs | Narration and audio quality | 400ms (Turbo v2.5) | $0.06 / 1K chars | 32+ |
| OpenAI TTS | OpenAI-stack simplicity | 500ms | $15 / 1M chars | 57+ |
| Cartesia Sonic | Real-time voice agents | 40 to 90ms | $50 / 1M chars (HD) | 15+ |
| Google Cloud TTS | Multilingual scale | 200 to 500ms | $16 / 1M chars (Neural2) | 75+ |
| Amazon Polly | AWS-native stacks | 200ms | $16 / 1M chars (Neural) | 40+ |
Gathos is a unified content API for AI agent workflows. Instead of integrating ElevenLabs, OpenAI, Cartesia, and others separately, you call one Gathos endpoint and the platform routes to the right provider based on latency, cost, language, and quality requirements.
A single REST API aggregates 3,000+ voices across 600+ languages with automatic failover built in. If one provider goes down or hits rate limits, requests move transparently to the next best fit. Zero-shot voice cloning is included on every plan.
- Flat-rate unlimited pricing. $18/month for unlimited TTS vs per-character billing that punishes scale.
- Provider-agnostic SDK. Switch from ElevenLabs to Cartesia by changing one parameter, not your whole stack.
- Multi-modal in one API. The same Gathos key covers TTS, image generation, and other agent-native content workflows.
Weaknesses: If you need a single specific provider's exact custom-cloned voice, going direct may be simpler.
The breakout TTS company of 2024 to 2026. ElevenLabs is the quality leader for English narration. Their voices crossed the uncanny valley before most competitors got close. Instant voice cloning from 30 seconds of audio is a genuine differentiator.
- Hyper-realistic voices with subtle emotional inflection including sarcasm, hesitation, and warmth
- 32+ languages with Turbo v2.5 model targeting conversational AI at around 400ms TTFB
- Professional voice clones that are difficult to distinguish from the original speaker
Weaknesses: Expensive at scale, roughly 20x more per character than Google or AWS. Rate limits on lower tiers bite quickly. SSML support is partial.
Launched as part of the Audio API in late 2023, OpenAI TTS has been a quiet hit. If you are already using GPT-4 or Whisper in the same app, adding TTS is literally two lines of code.
- 6 preset voices including alloy, echo, fable, onyx, nova, and shimmer across 57+ languages
- gpt-4o-mini-tts accepts natural-language style prompts. No SSML needed. "Speak in a hushed whisper" works.
- tts-1 (fast) and tts-1-hd (higher quality) model options
Weaknesses: Only 6 voices. No cloning. No SSML. Around 500ms TTFB makes it a poor fit for hard real-time voice agents.
Cartesia uses state-space model architecture, fundamentally different from the transformer-based approaches every other provider uses. The result is dramatically lower latency without obvious quality loss. If your product lives or dies on voice agent response time, this is your API.
- Sonic model delivers 40 to 90ms TTFB, the only sub-100ms option on this list
- Expressive emotional delivery including laughter with Sonic 2 handling long-form context
- Voice cloning competitive with ElevenLabs across 15+ languages and growing
Weaknesses: Smaller voice library. Fewer languages than Google or Polly. Pricing opaque at around $50 per 1M HD characters. Documentation lags the hyperscalers.
Google's enterprise TTS service, built on DeepMind's WaveNet and Neural2 research. Mature, reliable, and deeply integrated with the rest of GCP. If your app needs Hindi, Tamil, Arabic, and Mandarin in the same workflow, Google has the deepest language coverage of any provider here.
- 380+ voices across 75+ languages including Standard, WaveNet, Neural2, Studio, Chirp 3: HD, and Gemini-TTS
- Full SSML support with audio profile tuning for headphones, car speakers, and phones
- Custom Voice training for enterprise branded voice personas
Weaknesses: Expressive range lags ElevenLabs and Cartesia. GCP onboarding requires project setup, billing, and IAM before your first request.
AWS's TTS service around since 2016. If your IVR runs on Amazon Connect, your storage is in S3, and your auth is in IAM, Polly is the path of least resistance. Speech Marks, which are word and phoneme timestamps, are genuinely underrated for lip-sync animations and accessibility apps.
- 100+ voices across 40+ languages with four engines: Standard, Neural, Long-Form, and Generative
- Speech Marks with real-time word and phoneme timestamps for karaoke-style text highlighting
- Tight integration with IAM, CloudWatch, S3, Lambda, and Amazon Connect
Weaknesses: Voices feel a generation behind ElevenLabs and Cartesia. Free tier bonus expires after 12 months. Some voices are region-locked.
How to choose the right text-to-speech API
Three trade-offs determine your best pick: voice quality, latency, and cost at scale. Here is the decision matrix:
Is there a free text-to-speech API in 2026?
Every major provider offers some form of free tier, but free means very different things at each one:
- Google Cloud TTS: 1M Neural2 chars per month, permanent. The most generous free tier among hyperscalers.
- AWS Polly: 5M chars per month, first 12 months only on new AWS accounts. Expires, then full price.
- ElevenLabs: 10,000 chars per month permanent. Enough to test, not enough to ship.
- OpenAI TTS: No free tier at all. Pay $15 per 1M from request one.
- Cartesia: Time-limited free credits to evaluate.
- Gathos: Generous free tier across all routed providers, then $18 per month flat.
A successful prototype on AWS Polly's free tier becomes a $200 to $1,000 per month bill faster than most teams expect. Model your costs at expected production volume before you pick a provider, not after.
Common pitfalls when integrating a TTS API
SSML is not portable between providers
The SSML standard is theoretically cross-provider. In practice, it is not. Google and AWS implement most of the spec faithfully. ElevenLabs supports a subset. OpenAI ignores SSML entirely and uses natural-language style prompts instead. If you hand-write SSML for one provider and want to switch later, plan on a translation layer or use a unified API that abstracts it away.
Rate limits break production before pricing does
Per-character pricing is the headline number, but rate limits are what actually fail in production. A traffic spike you would happily pay $50 to serve can silently fail because you are capped at 10 concurrent requests. Test rate limits explicitly before you ship.
Audio format choice has real latency and cost implications
- MP3: Universal default, but lossy.
- Opus: Lowest latency and best quality for real-time voice agents.
- PCM or WAV: Best for audiobooks you will re-encode later.
- mu-law at 8kHz: Standard for telephony and IVR.
Plan for provider outages before they happen
Every major TTS provider had multi-hour outages in 2024 and 2025. If TTS is on your critical path, you need a fallback. Either a secondary provider you can switch to in code, or a unified API like Gathos that handles failover automatically. We built this into Gathos because we got tired of waking up to ElevenLabs is down Slack messages.
Build a multi-provider TTS layer, or use Gathos?
Once you have integrated two TTS providers you have already started building the thing Gathos is. Most teams reach that point and realize they have accidentally signed up to maintain provider integrations forever.
| Approach | Initial effort | Ongoing cost | Failover | Model upgrades |
|---|---|---|---|---|
| Build it yourself | 2 weeks engineering | Each provider's bill plus rate limits | You build it | You maintain it |
| Gathos | One API key, under 5 min | $18/mo flat | Automatic | Handled on our side |
I am obviously biased. I built Gathos because I got tired of this exact problem. If you are a solo developer or a small team shipping a voice agent, the math is straightforward. If you need full provider control for compliance or branding reasons, go direct and skip the unified layer.
The practical build pattern
Here is how a Gathos TTS call looks. Same endpoint regardless of which underlying provider gets routed:
curl -X POST https://api.gathos.com/api/v1/tts \
-H "Authorization: Bearer $GATHOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello, this is your AI voice agent.",
"voice": "auto",
"quality": "realtime",
"format": "opus"
}'
# Switch to ElevenLabs narration quality by changing one param:
# "quality": "narration"
# Lock to a specific provider when you need it:
# "provider": "elevenlabs", "voice": "your-cloned-voice-id"
One endpoint. Every provider. Automatic failover.
Gathos routes your TTS requests to the best available provider for your quality, latency, and language requirements with $18 per month flat billing across all of them. No per-character surprises at scale.
Start freeThe bottom line
The text-to-speech API landscape in 2026 is genuinely competitive. There is no universal best, only the best for what you are building. ElevenLabs leads on voice quality. Cartesia leads on latency. Google leads on language coverage. OpenAI leads on integration simplicity. AWS Polly leads for AWS-native depth. Gathos leads when you want all of them under one predictable bill.
Weight your choice against the metric you actually care about, whether that is quality, latency, cost at scale, or language coverage, and accept the trade-offs in the other three. Or do not pick at all. Gathos handles the routing for you.
Frequently asked questions
What is a text-to-speech API?
A text-to-speech API is a cloud service that converts written text into spoken audio over HTTP. You send text and voice configuration and receive an audio file or real-time audio stream. Modern TTS APIs use neural networks trained on human speech to produce voices increasingly indistinguishable from real ones.
Is there a free text-to-speech API?
Yes. Google Cloud TTS offers 1M Neural2 characters per month free permanently, the most generous ongoing free tier. AWS Polly gives 5M Standard characters per month free but only for the first 12 months on new accounts. ElevenLabs has a permanent 10,000-character free tier. OpenAI TTS has no free tier. Gathos has a generous free tier before upgrading to $18 per month flat.
Which is the best text-to-speech API for developers?
For real-time voice agents: Cartesia at sub-100ms TTFB. For narration quality: ElevenLabs. For OpenAI-stack simplicity: OpenAI TTS. For multilingual coverage: Google Cloud or Azure. For teams who want one API across all providers without managing integrations: Gathos.
What is the cheapest text-to-speech API in 2026?
At low volume, Google Cloud TTS free up to 1M Neural2 chars per month and AWS Polly free for 12 months cost the least. At scale, roughly 10M+ characters per month, flat-rate beats per-character. Gathos at $18 per month unlimited wins on unit economics above that threshold.
How do I integrate a text-to-speech API in Python?
For Gathos: run pip install gathos, then call gathos.tts.generate with text and voice auto. For ElevenLabs: use their official elevenlabs Python client. For OpenAI: use openai.audio.speech.create with model tts-1, voice alloy, and your input text. All three return audio bytes you can write directly to a file or stream.
What is the difference between SSML and plain text TTS?
Plain text TTS converts your input using the provider's default prosody. SSML, or Speech Synthesis Markup Language, lets you control pronunciation, pauses, emphasis, and speaking rate via XML-like markup. Google and AWS support full SSML. ElevenLabs supports a subset. OpenAI uses natural-language style prompts instead, which is more developer-friendly for most use cases.
Can I clone my own voice with a text-to-speech API?
Yes. ElevenLabs offers instant voice cloning from around 30 seconds of audio and is widely considered the quality leader. Cartesia also supports competitive voice cloning. Gathos includes zero-shot voice cloning on every plan, routing to whichever provider delivers the best clone for your audio sample.
Which text-to-speech API is best for real-time voice agents?
Cartesia is the strongest option with sub-100ms TTFB on the Sonic model, the only state-space architecture purpose-built for conversational AI. For less latency-critical agents, ElevenLabs Turbo v2.5 at around 400ms is acceptable. Whichever provider you use, always use streaming endpoints, not batch synthesis. That single change is the biggest latency improvement most teams miss.
Try Gathos for 7 days, free.
Image, TTS, and Creator video APIs in one agent-friendly stack. No credit card to start.