GPT-4o Mini Realtime Preview API Pricing
gpt-4o-mini-realtime-preview-2024-12-17- Input / output
- $0.60 / $2.40 per 1M tokens
- Cache read
- $0.30 / 1M
- Context
- 128K tokens
- Max output
- 4K tokens
As of November 24, 2026, GPT-4o Mini Realtime Preview costs $0.60 per 1M input tokens and $2.40 per 1M output tokens on OpenAI, with cache reads at $0.30 per 1M tokens. Across 2 providers on LiteLLM, the input price ranges from $0.60 to $0.66. It has a 128,000-token context window and returns up to 4,096 tokens per response.
gpt-4o-mini-realtime-preview-2024-12-17.GPT-4o Mini Realtime Preview pricing by provider
4 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| OpenAIsnapshot 2024-12-17 | gpt-4o-mini-realtime-preview-2024-12-17 | $0.60 | $2.40 | $0.30 | 128K |
| Azure OpenAIsnapshot 2024-12-17 | azure/gpt-4o-mini-realtime-preview-2024-12-17 | $0.60 | $2.40 | $0.30 | 128K |
| Azure OpenAIeu, snapshot 2024-12-17 | azure/eu/gpt-4o-mini-realtime-preview-2024-12-17 | $0.66 | $2.64 | $0.33 | 128K |
| Azure OpenAIus, snapshot 2024-12-17 | azure/us/gpt-4o-mini-realtime-preview-2024-12-17 | $0.66 | $2.64 | $0.33 | 128K |
Other GPT-4o Mini Realtime Preview prices on OpenAI
| Audio input | $10.00 per 1M tokens |
| Audio output | $20.00 per 1M tokens |
What GPT-4o Mini Realtime Preview costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| OpenAI | $2.40 |
| Azure OpenAI | $2.40 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| OpenAI | $6.48 |
| Azure OpenAI | $6.48 |
GPT-4o Mini Realtime Preview cost calculator
At OpenAI's price ($0.60 input, $2.40 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $18.00 a day, about $540 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0018
- Per day
- $18.00
- Per month (30 days)
- $540
GPT-4o Mini Realtime Preview features
Input: audio. Output: audio.
- Function calling
- Parallel tool calls
- Audio input
- Audio output
Use GPT-4o Mini Realtime Preview with LiteLLM
Connect to /v1/realtime over WebSocket from your server. Voice setup guide
Set the provider variables in the config below and choose a LITELLM_MASTER_KEY that starts with sk-. Start the proxy with litellm --config config.yaml. For the example, set LITELLM_API_KEY to that key or to a virtual key with access to this model.
model_list:
- model_name: gpt-4o-mini-realtime-preview
litellm_params:
model: openai/gpt-4o-mini-realtime-preview-2024-12-17
api_key: os.environ/OPENAI_API_KEY
general_settings:
master_key: os.environ/LITELLM_MASTER_KEY# pip install "websockets>=14"
import asyncio
import json
import os
import websockets
async def main():
headers = {"Authorization": f"Bearer {os.environ['LITELLM_API_KEY']}"}
async with websockets.connect("ws://localhost:4000/v1/realtime?model=gpt-4o-mini-realtime-preview", additional_headers=headers) as ws:
await ws.send(json.dumps({
"type": "response.create",
"response": {
"output_modalities": ["text"],
"instructions": "Say hello in one sentence.",
},
}))
async for message in ws:
event = json.loads(message)
if event["type"] == "response.output_text.delta":
print(event["delta"], end="", flush=True)
if event["type"] == "error":
raise RuntimeError(event)
if event["type"] == "response.done":
print()
break
asyncio.run(main())GPT-4o Mini Realtime Preview FAQ
How much does GPT-4o Mini Realtime Preview cost?
GPT-4o Mini Realtime Preview costs $0.60 per 1M input tokens and $2.40 per 1M output tokens on OpenAI, with cache reads at $0.30 per 1M tokens. Across 2 providers on LiteLLM, the input price ranges from $0.60 to $0.66.
What is the context window of GPT-4o Mini Realtime Preview?
GPT-4o Mini Realtime Preview has a 128,000-token context window and returns up to 4,096 tokens per response.
Which providers offer GPT-4o Mini Realtime Preview?
GPT-4o Mini Realtime Preview is available from 2 providers through LiteLLM: OpenAI and Azure OpenAI. The lowest price is on OpenAI.
How do I use GPT-4o Mini Realtime Preview with LiteLLM?
Add the model to your LiteLLM proxy, then connect over WebSocket to /v1/realtime. See the setup guide at https://docs.litellm.ai/docs/realtime.
What features does GPT-4o Mini Realtime Preview support?
GPT-4o Mini Realtime Preview supports function calling, parallel tool calls, audio input and audio output.
When did LiteLLM add GPT-4o Mini Realtime Preview?
GPT-4o Mini Realtime Preview was added to LiteLLM's model price file in December 2024.
Is GPT-4o Mini Realtime Preview being deprecated?
OpenAI lists a deprecation date of January 20, 2027 for gpt-4o-mini-realtime-preview-2024-12-17.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.
LiteLLM docs: OpenAI, Azure OpenAI.
Provider pages: OpenAI, Azure OpenAI.