o4 Mini API Pricing
- Input / output
- $1.10 / $4.40 per 1M tokens
- Cache read
- $0.275 / 1M
- Context
- 200K tokens
- Max output
- 100K tokens
As of November 24, 2026, o4 Mini costs $1.10 per 1M input tokens and $4.40 per 1M output tokens on OpenAI, with cache reads at $0.275 per 1M tokens. Across 4 providers on LiteLLM, the input price ranges from $1.00 to $1.21. It has a 200,000-token context window and returns up to 100,000 tokens per response.
o4-mini.o4 Mini pricing by provider
11 listings across 4 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 | Cache write | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|
| OpenAI | o4-mini | $1.10 | $4.40 | $0.275 | – | $0.55 | $2.20 | 200K |
| OpenAIsnapshot 2025-04-16 | o4-mini-2025-04-16 | $1.10 | $4.40 | $0.275 | – | $0.55 | $2.20 | 200K |
| OpenAIfine-tuned, snapshot 2025-04-16 | ft:o4-mini-2025-04-16 | $4.00 | $16.00 | $1.00 | – | $2.00 | $8.00 | 200K |
| Azure OpenAI | azure/o4-mini | $1.10 | $4.40 | $0.275 | – | $0.55 | $2.20 | 200K |
| Azure OpenAIsnapshot 2025-04-16 | azure/o4-mini-2025-04-16 | $1.10 | $4.40 | $0.275 | – | $0.55 | $2.20 | 200K |
| Replicate | replicate/openai/o4-mini | $1.00 | $4.00 | – | – | – | – | – |
| Vercel AI Gateway | vercel_ai_gateway/openai/o4-mini | $1.10 | $4.40 | $0.275 | $0 | – | – | 200K |
| Azure OpenAIeu | azure/eu/o4-mini | $1.21 | $4.84 | $0.303 | – | $0.605 | $2.42 | 200K |
| Azure OpenAIeu, snapshot 2025-04-16 | azure/eu/o4-mini-2025-04-16 | $1.21 | $4.84 | $0.303 | – | $0.605 | $2.42 | 200K |
| Azure OpenAIus | azure/us/o4-mini | $1.21 | $4.84 | $0.303 | – | $0.605 | $2.42 | 200K |
| Azure OpenAIus, snapshot 2025-04-16 | azure/us/o4-mini-2025-04-16 | $1.21 | $4.84 | $0.303 | – | $0.605 | $2.42 | 200K |
Other o4 Mini prices on OpenAI
| Priority input | $2.00 per 1M tokens |
| Priority output | $8.00 per 1M tokens |
| Flex input | $0.55 per 1M tokens |
| Flex output | $2.20 per 1M tokens |
| Web search | $10.00 per 1K searches |
What o4 Mini costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| OpenAI | $4.40 |
| Replicate | $4.00 |
| Azure OpenAI | $4.40 |
| Vercel AI Gateway | $4.40 |
| OpenAI batch | $2.20 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| OpenAI | $11.88 |
| Replicate | $10.80 |
| Azure OpenAI | $11.88 |
| Vercel AI Gateway | $11.88 |
o4 Mini cost calculator
At OpenAI's price ($1.10 input, $4.40 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $33.00 a day, about $990 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0033
- Per day
- $33.00
- Per month (30 days)
- $990
o4 Mini features
Input: text, image, pdf. Output: text.
- Function calling
- Parallel tool calls
- Structured output
- Image input
- PDF input
- Reasoning
- Prompt caching
- Web search
Use o4 Mini with LiteLLM
Call o4 Mini through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="o4-mini",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: o4-mini
litellm_params:
model: o4-mini
api_key: os.environ/OPENAI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "o4-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}'o4 Mini FAQ
How much does o4 Mini cost?
o4 Mini costs $1.10 per 1M input tokens and $4.40 per 1M output tokens on OpenAI, with cache reads at $0.275 per 1M tokens. Batch requests cost $0.55 per 1M input tokens and $2.20 per 1M output tokens. Across 4 providers on LiteLLM, the input price ranges from $1.00 to $1.21.
What is the context window of o4 Mini?
o4 Mini has a 200,000-token context window and returns up to 100,000 tokens per response.
Which providers offer o4 Mini?
o4 Mini is available from 4 providers through LiteLLM: OpenAI, Azure OpenAI, Replicate and Vercel AI Gateway. The lowest price is on Replicate.
How do I call o4 Mini with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="o4-mini", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does o4 Mini support?
o4 Mini supports function calling, structured output, image input, PDF input, reasoning, prompt caching and web search. It does not support parallel tool calls.
When did LiteLLM add o4 Mini?
o4 Mini was added to LiteLLM's model price file in April 2025.
Is o4 Mini being deprecated?
OpenAI deprecated o4-mini on October 23, 2026.
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. Provider pricing pages:
- developers.openai.com/api/docs/pricing
- azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
- prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'
LiteLLM docs: OpenAI, Azure OpenAI, Replicate, Vercel AI Gateway.
Provider pages: OpenAI, Azure OpenAI, Replicate, Vercel AI Gateway.