AvailableOpenAIText to SpeechSync
gpt-4o-mini-tts

Build next-gen apps with gpt-4o-mini-tts

API Code Example

Pricing

Text to Speech

Per 1M Tokens
Official Price
Input $0.60 / Output $12.00
TokenLab Price
Input $0.60 / Output $12.00
Discount
-

One-click test

Sign in once and Web Agent keeps this model, prompt, and request preset for you.

Test gpt-4o-mini-tts in Web Agent. Run a minimal audio request at /v1/audio/speech, then show request body, response, and integration notes.

API workbench

The default route for production. The code sample below uses this endpoint with the format you pick.

Text to SpeechTokenLab endpoint
POST/v1/audio/speech
curl -X POST "https://api.tokenlab.sh/v1/audio/speech" \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "tts",
  "voice": "alloy",
  "model": "gpt-4o-mini-tts",
  "input": "Hello from TokenLab."
}'

Use cases

01

Voice UX

Generate narration, onboarding audio, and spoken UI responses.

02

Side-by-side test

Compare real response quality, latency, and price for production defaults.

Prompt examples

Generate calm onboarding narration for a developer tool.

Send the smallest possible request and walk me through every response field.

Compare this model with a cheaper one in the same category — when is each worth it?

Cost Calculator

1M
0.5M
Estimated Monthly Cost$6.60

FAQ

How much does gpt-4o-mini-tts cost?

On TokenLab, gpt-4o-mini-tts costs Input $0.60 / Output $12.00 Per 1M Tokens. The pricing table above shows the full breakdown.

What is gpt-4o-mini-tts best for?

gpt-4o-mini-tts is a strong fit for Text to Speech. You can call it through TokenLab with one API key.

How do I call the gpt-4o-mini-tts API?

Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/audio/speech. The API workbench above has a recommended endpoint and copy-ready code.

Which endpoint should gpt-4o-mini-tts use?

Use https://api.tokenlab.sh/v1/audio/speech as the default for gpt-4o-mini-tts. If a provider-native format is supported, the API workbench shows that endpoint too.

Can I test gpt-4o-mini-tts before integrating it?

Yes. Try in Web Agent opens a ready test for gpt-4o-mini-tts and keeps your prompt after sign-in, so you don’t lose context.

Which operations does gpt-4o-mini-tts support?

gpt-4o-mini-tts supports Text to Speech. Pick an operation in the API workbench above to see the matching endpoint and code sample.

Related Models