Logo
Back to all models

o4-mini - In-Depth Overview

OpenAI · o-series

Current
Latest in family

Model ID: o4-mini

Get all the details on o4-mini, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as multimodal_input, long_context, function_calling, available API code samples, and performance strengths.

Key Metrics

Input Limit

200K tokens

Output Limit

100K tokens

Input Cost

$1.10/1M

Output Cost

$4.40/1M

Sample API Code

from openai import OpenAI;client = OpenAI();response = client.chat.completions.create(model="o4-mini",messages=[{"role": "system", "content": "You are a helpful assistant."},{"role": "user", "content": "What is the capital of France?"}],max_tokens=100);print(response.choices[0].message.content)

Required Libraries

openai
openai

Benchmarks

BenchmarkScoreSourceNotes
1345
LM Arena LeaderboardScore for o4-mini-2025-04-16 snapshot.
1095
LM Arena LeaderboardScore for o4-mini-2025-04-16 snapshot.
1270
LM Arena LeaderboardScore for o4-mini-2025-04-16 snapshot.
81.4%
Vellum LLM LeaderboardGPQA Diamond benchmark.
93.4%
Vellum LLM LeaderboardHigh School Math (AIME 2024) benchmark.
68.1%
Vellum LLM LeaderboardAgentic Coding (SWE Bench) benchmark.
14.28
Vellum LLM LeaderboardBest Overall (Humanity's Last Exam) benchmark.
50%
Vellum LLM LeaderboardAdaptive Reasoning (GRIND) benchmark.
68.9%
Vellum LLM LeaderboardAlder Polyglot benchmark.
78.72
LiveBench LeaderboardScore for o4-Mini High.
88.11
LiveBench LeaderboardScore for o4-Mini High.
79.98
LiveBench LeaderboardScore for o4-Mini High.
84.90
LiveBench LeaderboardScore for o4-Mini High.
68.33
LiveBench LeaderboardScore for o4-Mini High.
66.05
LiveBench LeaderboardScore for o4-Mini High.
84.96
LiveBench LeaderboardScore for o4-Mini High.

Notes

o4-mini is OpenAI's latest small o-series model, optimized for fast, effective reasoning with exceptionally efficient performance in coding and visual tasks. It supports a 200,000 context window and 100,000 max output tokens. It also supports reasoning tokens.

Supported Data Types

Input Types

text
image

Output Types

text

Strengths & Weaknesses

Exceptional at

reasoning
coding
visual tasks

Additional Information

Latest Update

Apr 16, 2025

Knowledge Cutoff

Jun 1, 2024