OpenAI pricing
o4-mini Cost Calculator
o4-mini is OpenAI's latest reasoning model with sharper STEM/coding/math chains. Drop-in upgrade from o3-mini at lower cost.
Input
$0.90
per 1M tokens
Output
$3.60
per 1M tokens
Context window
200K
tokens
Released
2026-01
Cutoff 2025-10
✓ Exact tokenizer·$0.90 in·$3.60 out (per 1M)
Quick start with a use case
Total cost per call$0.002700
Input$0.000900
Output$0.001800
Cost comparison
Standard
$0.002700
With Caching
$0.002475
Save 8% ↓
With Batch
$0.001350
Save 50% ↓
Detailed pricing
o4-mini pricing breakdown
All pricing dimensions including caching and batch discounts.
| Type | Price (per 1M tokens) |
|---|---|
| Input | $0.9000 |
| Output | $3.6000 |
| Cached input | $0.4500 |
| Batch input | $0.4500 |
| Batch output | $1.8000 |
Last verified 2026-05-01 · OpenAI official pricing
How it compares
o4-mini vs alternatives
Single-call cost (1000 input + 500 output tokens) ranked from cheapest.
| Model | Per call |
|---|---|
o4-mini OpenAI · this page | $0.002700 |
| GPT-5 mini OpenAI | $0.000600 |
| DeepSeek V4 DeepSeek | $0.000900 |
| Gemini 3.0 Flash Google | $0.001250 |
| Claude Haiku 4.5 Anthropic | $0.003500 |
| Mistral Large 3 Mistral | $0.006250 |
Recommended use
When to choose o4-mini
o4-mini shines for complex multi-step reasoning, code generation and review, mathematical problem-solving, and scientific research and analysis. Token counts on this page are exact via the official tokenizer.
✓Context window of 200K tokens handles long conversations and large documents.
✓Prompt caching available — significant savings for repeated system prompts.
✓Batch API support for non-realtime workloads at ~50% discount.
✓Tool / function calling supported.
FAQ
Frequently asked questions
o4-mini costs $0.90 per 1M input tokens and $3.60 per 1M output tokens. A typical chat call (1000 input + 500 output tokens) costs approximately $0.0027. Use the calculator above to estimate your specific use case.
Related
Other models you might consider
OpenAI
GPT-5 mini
OpenAI's affordable everyday workhorse
$0.20 in$0.80 out
DeepSeek
DeepSeek V4
DeepSeek's open MoE flagship — top open-weight performer
$0.30 in$1.20 out
Google
Gemini 3.0 Flash
Google's high-throughput multimodal model
$0.25 in$2.00 out
Anthropic
Claude Haiku 4.5
Anthropic's fast affordable workhorse
$1.00 in$5.00 out
Mistral
Mistral Large 3
Mistral's flagship multilingual open-weight model
$2.50 in$7.50 out