What is the cheapest text to speech API?
The cheapest text to speech is free: browser speechSynthesis, the macOS say command, or open models like Piper running on your own machine. Hosted APIs mostly bill per character, which favours short text; ours bills $0.03 per clip of up to 1,000 characters, which favours longer clips. Work out the cost at your typical text length before you choose.
Try it free Text to Speech API — natural English voices as MP3 · $0.03 / call
Free options first
| Option | Cost | Catch |
|---|---|---|
| speechSynthesis (Web Speech API) | Free | Plays in the browser, voices depend on the device, no MP3 file |
| macOS say command | Free | Mac only; say -o out.aiff "text" saves AIFF, not MP3 |
| espeak-ng | Free, open source | Robotic sound |
| Piper and other open models | Free, open source | You run and maintain it; quality varies by voice |
Per character vs per clip
Google Cloud Text-to-Speech, Amazon Polly and Azure AI Speech bill by the number of characters, with free allowances on some plans. A 40-character notification costs almost nothing there.
We charge per clip. That makes short clips relatively expensive and full clips relatively cheap:
- 100-character clip: $0.03, which works out to $300 per million characters.
- 500-character clip: $0.03, or $60 per million characters.
- 1,000-character clip: $0.03, or $30 per million characters.
Fill each clip to cut costs
If your text is long, pack sentences into chunks close to 1,000 characters instead of one call per sentence. Here is a simple packer in Python:
import re
def chunks(text, limit=1000):
parts, cur = [], ""
for s in re.split(r"(?<=[.!?])\s+", text.strip()):
if cur and len(cur) + len(s) + 1 > limit:
parts.append(cur)
cur = s
else:
cur = f"{cur} {s}".strip()
if cur:
parts.append(cur)
return parts # one $0.03 call per part
When per clip is the cheaper deal
- You generate occasional clips and don't want a monthly plan or cloud account.
- Your clips are paragraphs, not single words.
- An AI agent needs to pay per use with no API key: x402 in USDC on Base, charged only when the clip is made.
The product
Questions
Is there a free text to speech API?
Hosted ones usually have free allowances or trials rather than free unlimited use. Our listing page gives 5 free tries a day. For unlimited free use, run an open model yourself.
Can I pay by card?
Not for Text to Speech. It's paid per call with x402 in USDC on Base and isn't on RapidAPI.
Is cheap TTS lower quality?
Not necessarily. Ours uses Deepgram's Aura-1 voices. Listen to a sample with your own text before deciding.
Related
Updated 2026-12-01
