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 Price
$0.018/ request
Input Price
$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
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"
}'