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.
Вход, $/1M $0.60
Выход, $/1M $12.00
Уведомления о ценах
API
API, совместимый с OpenAI: подходят официальные SDK OpenAI с этим адресом. YOUR_API_KEY замените на свой ключ от провайдера.
| Адрес API | |
|---|---|
| Эндпоинт | |
| Модель (id в API) | |
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());Запрос (JSON)
{
"model": "gpt-4o-mini-tts",
"input": "Hello!",
"voice": "alloy"
}Ответ (JSON)
audio bytes (audio/mpeg)Адрес взят из списка моделей провайдера - сверьте с его документацией.
Source: AI Rate Card, https://airatecard.com/ru/c/offer%3Aaihubmix%7Cgpt-4o-mini-tts, prices checked 2026-11-04; seller's page: https://aihubmix.com
Технические данные
ID: offer:aihubmix|gpt-4o-mini-tts