Back to Models
gpt-audio
openaiopenai/gpt-audio
API guide
Chat completion with audio
Send base64-encoded WAV/MP3 audio in the message content. The model can reply with both text and audio.
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",
"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",
"modalities": ["text", "audio"],
"audio": { "voice": "nova", "format": "wav" },
"stream": true,
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "Tell me a story in 30 seconds." }
]
}
]
}'Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Release date | OpenRouter β | 2026-05-29 | verified |
| Context window | OpenRouter β | 2026-05-29 | to verify |
| Max output tokens | OpenRouter β | 2026-05-29 | to verify |
| Supported modalities | developers.openai.com β | 2026-05-29 | verified |
| License | β | β | verified |
| Audio quality & voice naturalness | OpenRouter β | 2026-05-29 | to verify |
| OpenAI launches gpt-audio β first GA audio model for Chat Completions | OpenRouter β | 2026-05-29 | verified |
| How is gpt-audio different from gpt-4o-audio-preview? | openrouter.ai β | 2026-05-29 | to verify |
| Can I use gpt-audio with the TheRouter API? | api.therouter.ai β | 2026-05-29 | to verify |
| What audio formats does gpt-audio support for input and output? | developers.openai.com β | 2026-05-29 | to verify |
| What is the pricing for gpt-audio on TheRouter? | api.therouter.ai β | 2026-05-29 | to verify |