o4-mini

OpenAI
Released on Apr 17, 2025 12:00 AMKnowledge Cutoff May 1, 2024 12:00 AMSupportedTool InvocationSupportedReasoning
CompareTry in Chat

A smaller model optimized for fast, cost-efficient reasoning. Achieves remarkable performance for its size, particularly in math, coding, and visual tasks.

Specifications

Context
200K
Maximum Output
100K
Inputtext, image
Outputtext

Performance (7-day Average)

Collecting…
Collecting…
Collecting…

Availability Trend (24h)

Pricing

Standard
Flex
Batch
Input/MTokens
$1.21
$0.605
$0.605
Output/MTokens
$4.84
$2.42
$2.42
Cached Input/MTokens
$0.3025
$0.1518

Performance Metrics (24h)

Similar Models

$1.925/$15.40/M
ctx400Kmax128Kavailtps

GPT-5.2-Codex is an upgraded version of GPT-5.2 optimized for long-horizon, agentic coding tasks in Codex or similar environments. It's available in the Responses API only and supports low, medium, high, and xhigh reasoning effort settings.

$1.375/$11.00/M
ctx400Kmax128Kavailtps
InOutCap

GPT-5 Chat points to the GPT-5 snapshot currently used in ChatGPT. GPT-5 is our next-generation, high-intelligence flagship model. It accepts both text and image inputs, and produces text outputs.

$1.375/$11.00/M
ctx400Kmax128Kavailtps

GPT-5.1-Codex is a version of GPT-5 optimized for agentic coding tasks in Codex or similar environments. It's available in the Responses API only and the underlying model snapshot will be regularly updated. If you want to learn more about prompting GPT-5-Codex, refer to our dedicated guide

$0.25/$2.00/M-80%
ctx400Kmax128Kavailtps
InOutCap

GPT-5.1-Codex-Max is a version of GPT-5.1-Codex with enhanced capabilities for agentic coding tasks.