AvailableOpenAIText to SpeechSyncCache 100% off
gpt-4o-mini-tts

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

API Code Example

Pricing

TokenLab Price

$0.75

Per Token

Discount: 70%

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.

ttsTokenLab 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

See real response quality, latency, and price before this becomes your production default.

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$2.25

FAQ

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

On TokenLab, gpt-4o-mini-tts costs $0.7500 per 1M input tokens and $3.0000 per 1M output tokens. Cache and per-request prices show in the pricing table when they apply.

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 tts. Pick an operation in the API workbench above to see the matching endpoint and code sample.

Related Models