Back to Models
gpt-audio-mini
openaiopenai/gpt-audio-mini
API guide
Chat completion with audio
Send base64-encoded WAV/MP3 audio in the message content. The model replies with text and/or audio β identical API pattern to gpt-audio, just at a lower price tier.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-audio-mini",
"modalities": ["text", "audio"],
"audio": { "voice": "alloy", "format": "wav" },
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "What does this audio say?" },
{ "type": "input_audio", "input_audio": { "data": "<BASE64_AUDIO>", "format": "wav" } }
]
}
]
}'Streaming audio chat
Stream text transcript tokens in real-time while receiving the full audio in the final message.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-audio-mini",
"modalities": ["text", "audio"],
"audio": { "voice": "nova", "format": "wav" },
"stream": true,
"messages": [
{ "role": "user", "content": "Tell me a story in 30 seconds." }
]
}'Tool/function calling
gpt-audio-mini supports tool calling with audio context β usable in the same way as text-only models.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-audio-mini",
"messages": [
{
"role": "user",
"content": [
{ "type": "input_audio", "input_audio": { "data": "<BASE64_AUDIO>", "format": "wav" } },
{ "type": "text", "text": "Extract the booking reference and the date mentioned in this audio." }
]
}
],
"tools": [
{
"type": "function",
"function": {
"name": "extract_booking",
"description": "Extract booking reference and date",
"parameters": {
"type": "object",
"properties": {
"reference": { "type": "string" },
"date": { "type": "string" }
},
"required": ["reference", "date"]
}
}
}
],
"tool_choice": "auto"
}'Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Release date | Design for Online / OpenRouter β | 2026-05-29 | verified |
| Context window | OpenRouter β | 2026-05-29 | verified |
| Max output tokens | OpenRouter β | 2026-05-29 | verified |
| Supported modalities | developers.openai.com β | 2026-05-29 | verified |
| Supported capabilities | platform.openai.com β | 2026-05-29 | verified |
| License | β | β | verified |
| Audio quality (upgraded decoder) | Design for Online β | 2026-05-29 | to verify |
| OpenAI launches gpt-audio and gpt-audio-mini | Design for Online / OpenRouter β | 2026-05-29 | verified |