OpenAI TTS API Pricing vs a Per-Token Text API
Searching for openai tts api pricing usually means you want to know what a voice project costs. This API does not synthesize audio, so the numbers below cover the script-writing half only, billed per token with worked examples.
Updated

Key points
- Price: $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit.
- An 800-token prompt with a 1,500-token script costs $0.00087.
- Failed or refused requests are not charged, and credit never expires.
- Speech synthesis is billed separately by whichever engine you use; check their current pricing.
What you pay for here, and what you do not
Speech APIs usually bill by characters of input text. This one bills by tokens, because it is a text generator. You pay $0.15 per 1M input tokens and $0.50 per 1M output tokens. Input is what you send: system prompt, instructions, source material. Output is what the model writes back.
There is no audio output on this service, so there is no per-character speech fee. If your pipeline ends in sound, you will have a second bill from your speech engine. We cannot quote that cost, so check their current pricing. What we can do is make the first half of the bill exact. The pricing page lists the same rates.
The formula
Cost of one request = input tokens x $0.15 / 1,000,000 + output tokens x $0.50 / 1,000,000.
Output tokens cost a little over three times as much as input tokens, so the length of what the model writes drives the bill more than the length of your prompt. There is no minimum per request, no subscription and no seat fee. Failed or refused requests are not charged.
Tokens are not words. A common rule of thumb for English is that a word is a bit more than one token, but the exact count depends on the text. The response includes a usage object with the real numbers, and streamed responses report usage at the end.
Worked examples
One narration script
An 800-token prompt (style rules plus a brief) and a 1,500-token script:
- Input: 800 x $0.15 / 1,000,000 = $0.00012
- Output: 1,500 x $0.50 / 1,000,000 = $0.00075
- Total: $0.00087
A batch of 500 scripts
Same sizes, 500 times: 400,000 input tokens and 750,000 output tokens.
- Input: 0.4 x $0.15 = $0.06
- Output: 0.75 x $0.50 = $0.375
- Total: $0.435
A short dialogue with a big source document
You paste a 60,000-token manuscript and ask for a 3,000-token dialogue summary. Input: 60,000 x $0.15 / 1,000,000 = $0.009. Output: 3,000 x $0.50 / 1,000,000 = $0.0015. Total: $0.0105, about one cent.
The 100,000-token context window covers prompt plus completion, so that manuscript fits with room to spare.
What a top-up buys
Top-ups are any whole amount from $20 to $500. Bonuses: +5% from $50, +10% from $100, +15% from $200.
| You pay | Credit you get | Scripts at $0.00087 each |
|---|---|---|
| $20 | $20.00 | about 23,000 |
| $50 | $52.50 | about 60,300 |
| $100 | $110.00 | about 126,400 |
| $200 | $230.00 | about 264,400 |
The trial is smaller: $0.50 of credit, claimed with one click on the key page, valid for 7 days, no card. At $0.00087 per script that is roughly 570 scripts, enough to test your prompts properly. Credit bought later never expires. Payment is by crypto (USDT on TRC20, USDC on Base).
Measure your real cost per script
Estimates are fine for planning, but your prompts decide the real figure. This snippet reads the usage object and prices a single call:
from openai import OpenAI
client = OpenAI(base_url="https://api.f5tts.cc/v1", api_key="YOUR_KEY")
PRICE_IN, PRICE_OUT = 0.15, 0.50 # USD per 1M tokens
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Write a 60-second narration about tide pools."}],
)
u = r.usage
cost = u.prompt_tokens * PRICE_IN / 1e6 + u.completion_tokens * PRICE_OUT / 1e6
print(u.prompt_tokens, u.completion_tokens, f"${cost:.6f}")Run it on five typical jobs and average. Also watch the X-Balance-USD response header, which shows what is left after each call. If your average output is longer than expected, a tighter system prompt ("under 200 words") or a max_tokens cap brings the cost down. The quickstart shows the full request format.
Trial credit as a cost test
Before you commit money, use the $0.50 trial to measure your own numbers. Claim it with one click on the key page after sign-up; it needs no card and expires after 7 days. Run your real prompts, record the usage object from each response, and multiply out to your expected volume.
A quick planning example: you voice 40 episodes a month, each needing a 2,000-token prompt and a 4,000-token script. Per episode, input is 2,000 x $0.15 / 1,000,000 = $0.0003 and output is 4,000 x $0.50 / 1,000,000 = $0.002, so $0.0023. For 40 episodes that is $0.092, under ten cents. Your speech engine will almost certainly cost more than the writing step, which is why measuring both matters.
Trial keys are capped at 2 concurrent requests and 60 per minute, so keep test loops small. When you move to a funded account the limits rise to 8 and 300.
Ways to keep costs low in a voice pipeline
- Reuse short system prompts. A 300-token style guide sent 10,000 times is 3M input tokens, or $0.45. Shorten it once and it pays off every call.
- Ask for one thing per call. A single script plus a rewrite plus a summary produces output you may not use.
- Stay inside the limits. A full key allows 8 concurrent requests and 300 per minute. Retries after a 429 with
rate_limitedorconcurrencyadd load; back off instead of hammering. - Cache approved scripts. If a line is voiced more than once, store the text rather than regenerating it.
For how the text step connects to speech synthesis, see the voice generation text layer.
More guides
Questions and answers
Does this API charge per character like a speech API?
No. It charges per token: $0.15 per 1M input tokens and $0.50 per 1M output tokens. It produces text only, so there is no audio fee.
Is there a monthly fee?
No. It is pay as you go from prepaid credit, with no subscription, and credit never expires.
Are failed requests billed?
No. Failed or refused requests are not charged.
What is the smallest top-up?
$20. You can add any whole amount up to $500, with bonuses of 5%, 10% or 15% from $50, $100 and $200.
How do I compare this with OpenAI's speech pricing?
They measure different things, so compare the whole pipeline: this text cost plus your speech engine cost. Check each provider's current pricing page for the audio side.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.