LLM Reference
OpenAI API

GPT-4o Mini TTS on OpenAI API

OpenAI Text-to-Speech · OpenAI

Serverless

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.

Input / 1M
$0.60
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export OPENAI_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
Model ID
gpt-4o-mini-tts

Request 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

TypePrice (per 1M)
Input tokens$0.60

Capabilities

MultimodalAudio

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.

Get Started

Model Specs

Released2025-03-20
Context2k
ArchitectureDecoder Only
Knowledge cutoff2024-09

Related Models on OpenAI API