GPT 4o Mini Tts · aihubmix
OpenAI’s latest TTS model, gpt-4o-mini-tts, uses the same API endpoint (/v1/audio/speech) as tts-1. However, OpenAI introduced a new pricing method without providing billing details via API, causing discrepancies between official pricing and aihubmix’s charges—some requests may cost more, others less. Avoid using this model if precise billing accuracy is essential.
Input, $/1M $0.60
Output, $/1M $12.00
Price alerts
API
OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.
| API base URL | |
|---|---|
| Endpoint | |
| Model id | |
curl
curl https://aihubmix.com/api/v1/audio/speech \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4o-mini-tts", "input": "Hello!", "voice": "alloy"}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/audio/speech",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "gpt-4o-mini-tts",
"input": "Hello!",
"voice": "alloy"
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/audio/speech", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "gpt-4o-mini-tts",
"input": "Hello!",
"voice": "alloy"
}),
});
console.log(await r.blob());Request (JSON)
{
"model": "gpt-4o-mini-tts",
"input": "Hello!",
"voice": "alloy"
}Response (JSON)
audio bytes (audio/mpeg)The address is taken from the provider's model list; check it against the provider's documentation.
Source: AI Rate Card, https://airatecard.com/en/c/offer%3Aaihubmix%7Cgpt-4o-mini-tts, prices checked 2026-11-04; seller's page: https://aihubmix.com
Technical details
ID: offer:aihubmix|gpt-4o-mini-tts