Last refreshed 2026-06-07. Next refresh: weekly.
Why use GPT-4o Mini TTS on OpenAI API?
OpenAI API offers GPT-4o Mini TTS with pay-as-you-go pricing at $0.60/1M input tokens. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.
Setup recipe
Python + curlpip install openaiexport OPENAI_API_KEY=...import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(gpt-4o-mini-ttsRequest example
import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
model="gpt-4o-mini-tts",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
- The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.60 |
Capabilities
About GPT-4o Mini TTS
GPT-4o Mini TTS is OpenAI's instructable text-to-speech model built on GPT-4o mini, released March 20, 2025. Supports natural language instructions to control tone, style, pacing, and emotion (instructable TTS) — the model follows conversational prompts to adjust delivery rather than relying on static voice presets. OpenAI's recommended cost-efficient TTS for production. Input: text tokens + instructions at $0.60/1M tokens. Output: audio tokens at $12.00/1M tokens. Accepts up to 2,000 input tokens. API ID: gpt-4o-mini-tts.
FAQ
What is the context window for GPT-4o Mini TTS on OpenAI API?
GPT-4o Mini TTS supports a 2k token context window on OpenAI API.
What API model ID do I use for GPT-4o Mini TTS on OpenAI API?
Use the model ID gpt-4o-mini-tts when calling OpenAI API's API.
Who created GPT-4o Mini TTS?
GPT-4o Mini TTS was created by OpenAI as part of the OpenAI Text-to-Speech model family.
Is GPT-4o Mini TTS open source?
GPT-4o Mini TTS is not open source; the seed data lists it as proprietary.