Quick answer: o4-mini is OpenAI's compact, cost-efficient reasoning model, released April 16, 2025 alongside o3. It scores 74.2% on LiveCodeBench (medium), 95.9% on AI2 Reasoning Challenge, and 74.6% on Arena Hard v2 — delivering near-o3 performance on coding and reasoning tasks at 9× lower cost. Priced at $1.10 input / $4.40 output per 1M tokens with a 200K-token context window.
Where o4-mini leads
Where it lags
Best for: Cost-sensitive production pipelines, high-throughput coding assistance, API-integrated agents, and workflows where o3's premium is not justified by task difficulty.
o4-mini is the small, efficient tier of OpenAI's April 2025 o-series release. Like o3, it uses internal chain-of-thought reasoning before producing a final response, with low/medium/high effort settings. The key trade-off vs o3: o4-mini's capability ceiling is lower on the hardest abstract reasoning tasks, but on the coding and science benchmarks that dominate most production agent workloads, the gap is small.
The model's 95.9% AI2 Reasoning Challenge score — a multi-discipline science benchmark covering physics, chemistry, and biology — indicates that o4-mini's reasoning capability is genuinely strong, not merely fast. Its LiveCodeBench score of 74.2% at medium effort is within 1.6 points of o3-high, meaning for most coding tasks the cost premium for o3 is rarely justified.
For teams building production AI agents, o4-mini is typically the right default in the o-series: capable enough for the majority of real-world reasoning tasks, priced for at-scale operation, and responsive enough at medium effort to meet latency requirements.
| Field | Value |
|---|---|
| Organization | OpenAI |
| Parameters | Undisclosed |
| Context window | 200,000 tokens |
| Max output | 100,000 tokens |
| Architecture | Chain-of-thought reasoning (o-series) |
| License | Proprietary (API only) |
| Release date | April 16, 2025 |
| Knowledge cutoff | June 2024 (estimated) |
| Modality | Text + Vision (multimodal) |
| Input (per 1M tokens) | Output (per 1M tokens) | |
|---|---|---|
| OpenAI API | $1.10 | $4.40 |
Reasoning tokens are billed as output tokens. Cached input receives a 75% discount. Pricing per OpenAI pricing page.
o4-mini has a 200,000-token context window — roughly 150 pages of text in a single request, matching o3. This is sufficient for most agentic workflows but constrains whole-codebase or long-document tasks where Gemini 2.5 Pro's 1M context is preferable.
| Benchmark | Score | Source | Date |
|---|---|---|---|
| AI2 Reasoning Challenge | 95.9% | Benchgen evaluation | 2025-07 |
| Arena Hard v2 | 74.6% | Benchgen evaluation | 2025-07 |
| LiveCodeBench | 74.2% (medium) | Benchgen evaluation | 2025-07 |
| Humanity's Last Exam | 14.28% | Benchgen evaluation | 2025-07 |
| CyberGym | 2.5% | Benchgen evaluation | 2025-07 |
| SHADE-Arena | 6.5 overall success | Anthropic research post | 2025-06 |
Scores from Benchgen evaluations or attributed third-party sources. Figures depend on effort setting and harness — see the source for methodology.
| Model | Context | LiveCodeBench | AI2 RC | Price (in/out per 1M) |
|---|---|---|---|---|
| o3 | 200K | 75.8% (high) | — | $10 / $40 |
| o4-mini | 200K | 74.2% (medium) | 95.9% | $1.10 / $4.40 |
| GPT-5.6 Luna | 1.1M | — | — | $1 / $6 |
| Gemini 2.5 Pro | 1M | 73.6% | — | $1.25 / $10 |
| DeepSeek R1 | 128K | — | 96.4% | ~$0.55 / $2.19 |
o4-mini's strongest case: it matches o3-high on LiveCodeBench at 9× lower cost. vs Gemini 2.5 Pro, o4-mini is cheaper and slightly stronger on coding tasks, but Gemini offers a 5× larger context window.
o4-mini's 95.9% AI2 Reasoning Challenge and 74.2% LiveCodeBench position it as the default reasoning model for production workloads requiring science and coding capability. Its CyberGym score of 2.5% indicates it is not suited for cybersecurity tasks — for those, GPT-5.6 Sol is the more appropriate choice.
For most teams, o4-mini at medium effort is the right starting point. Upgrade to high effort when evaluation data shows a consistent accuracy gap; switch to o3 only when task difficulty consistently pushes past o4-mini-high's ceiling.
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY")
response = client.chat.completions.create(
model="o4-mini",
messages=[{"role": "user", "content": "Debug this Python function and explain the fix..."}],
reasoning_effort="medium",
)
print(response.choices[0].message.content)Specs and scores sourced from OpenAI's official o4-mini announcement (April 16, 2025) and Benchgen evaluations; third-party benchmark scores attributed inline. Pricing cited to the OpenAI pricing page. Last updated 2026-07-23.
This model isn’t on any benchmark leaderboard yet.