Back to Models
GPT-4o Mini TTS
openaiopenai/gpt-4o-mini-tts
Text-to-speech model powered by GPT-4o mini.
Context Length
--
Max Output
--
Request Priceper 1M tokens
$0.018/ request
Input Priceper 1M tokens
$0.720/ 1M tokens
Modalities
textβaudio
Pricing Breakdown
| Type | Rate |
|---|---|
| Request | $0.018 / request |
| Input | $0.720 / 1M tokens |
| Output | $14.40 / 1M tokens |
| Audio output | $14.40 / 1M tokens |
| Estimated | $0.018 / minute |
request is estimated price per minute
Supported Parameters
inputvoiceresponse_formatinstructions
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
cURL
curl https://api.therouter.ai/v1/audio/speech -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "openai/gpt-4o-mini-tts",
"input": "Welcome to TheRouter.",
"voice": "alloy"
}'