Last refreshed 2026-05-19. Next refresh: weekly.
Why use GPT-4o mini Realtime Preview (12-17) on OpenAI API?
OpenAI API offers GPT-4o mini Realtime Preview (12-17) with competitive pricing. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced
Setup recipe
Python + curlInstall
pip install openaiAuth
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-realtime-preview-2024-12-17Request example
import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
model="gpt-4o-mini-realtime-preview-2024-12-17",
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.
Capabilities
VisionCode ExecutionAudio
About GPT-4o mini Realtime Preview (12-17)
GPT-4o mini Realtime Preview (12-17) is OpenAI's GPT-4o Realtime model. It is deprecated (originally released 2024-12-17); use it only for reproducing earlier results or evaluating drift over time.
Get Started
Model Specs
Released2024-12-17
Context128k
ArchitectureDecoder Only
Knowledge cutoff2024-06