Chat GPT 4o mini audio preview API

openai/gpt-audio-mini
GPT Mini Audio adds speech-to-text and text-to-speech abilities to the efficient GPT Mini model, optimized for voice interfaces in smaller applications.
Context
128K tokens
Input
$0.78 / 1M tokens
Output
$3.12 / 1M tokens
Released
Nov 11, 2025

How to use Chat GPT 4o mini audio preview API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to openai/gpt-audio-mini.
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.

Chat GPT 4o mini audio preview API Pricing

TypePrice
Input
$0.78 / 1M tokens
Output
$3.12 / 1M tokens

Chat GPT 4o mini audio preview vs other models

ModelInputOutputContextBest for
$0.78 / 1M tokens
$3.12 / 1M tokens
128K tokens
Coding + agents
$6.5 / 1M tokens
$39 / 1M tokens
1.05M tokens
Reasoning + agents
$2.6 / 1M tokens
$13 / 1M tokens
1M tokens
Balanced coding + agents
$3.9 / 1M tokens
$19.5 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$0.65 / 1M tokens
$3.9 / 1M tokens
1.05M tokens
Reasoning + agents

Frequently asked questions

Chat GPT 4o mini audio preview has a 128,000 tokens context window.

Chat GPT 4o mini audio preview 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 4o mini audio preview became available on November 11, 2025.

Chat GPT 4o mini audio preview is priced at input $0.78 / 1M tokens, output $3.12 / 1M tokens.

Yes, Chat GPT 4o mini audio preview can stream responses as they are generated.

Chat GPT 4o mini audio preview was built by OpenAI.

It is optimized for voice interfaces in smaller applications, adding speech-to-text and text-to-speech to the GPT Mini model.

Start building with Chat GPT 4o mini audio preview

Get API Key
1000+ models, one API.