O4 Mini

by OpenAI

O4 Mini is OpenAI's compact reasoning model, a generation beyond O3 Mini with strong performance for its size and cost. It excels in mathematics and competitive programming, reaching 99.5 percent pass@1 on AIME 2025 when given access to a Python interpreter, and outperforms O3 Mini across STEM and non-STEM tasks including data science work. The model combines efficient reasoning with practical strengths in coding and visual understanding. It accepts text and image input, with a 200,000 token context window and up to 100,000 output tokens, and supports structured outputs, function calling, and streaming. O4 Mini can use tools within its reasoning, including web search, Python execution, image and file analysis, and image generation. It sustains higher usage limits than larger reasoning models, making it a strong choice for high-throughput applications that need reliable reasoning at lower cost.

Key info

Input
Output
Features
Context window
200K
Max output
100K

Benchmarks

Independent benchmark scores: the Intelligence Index and the individual evaluations behind it, grouped by skill.

Global rank#181 of 508 LLMs
TierEfficient
Output speed141 tok/s
Intelligence Index (previous version)16.7
Coding
LiveCodeBench
86%
Agentic & knowledge work
Terminal-Bench Hard
15%
τ²-Bench Telecom
56%
Science & reasoning
Humanity's Last Exam
17%
GPQA Diamond
78%
Long-context reasoning
61%
Knowledge
MMMU-Pro
69%
MMLU-Pro
83%
Math & instruction following
AIME 2025
91%
IFBench
69%

Available routes

No routes currently available — O4 Mini isn't routed through the Opper gateway right now. It may return.

Contact us about this model →

Available models from OpenAI

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation