import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "openai/gpt-audio-mini", "messages": [ { "role": "user", "content": "Hello!" } ] }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "openai/gpt-audio-mini", "messages": [ { "role": "user", "content": "Hello!" } ] }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"openai/gpt-audio-mini","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
Chat GPT mini audio has a 128,000 tokens context window.
Chat GPT mini audio takes audio, text as input and returns audio, text.
Use openai/gpt-audio-mini as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Chat GPT mini audio became available on November 11, 2025.
Chat GPT mini audio is priced at input $0.78 / 1M tokens, output $3.12 / 1M tokens.
Yes, Chat GPT mini audio can stream responses as they are generated.
Chat GPT mini audio was built by OpenAI.
It is available via the endpoint https://api.aimlapi.com/v1/chat/completions using the model id openai/gpt-audio-mini.
It supports audio and file input, streaming, parallel tool calls, and function calling.