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
ctx400Kmax128Kavail—tps—

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
ctx400Kmax128Kavail—tps—
InOutCap

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

$1.375/$11.00/M
ctx400Kmax128Kavail—tps—
InOutCap

GPT-5.1 is the OpenAI's best model for coding and agentic tasks across industries.

$0.25/$2.00/M-80%
ctx400Kmax128Kavail—tps—
InOutCap

GPT-5 Codex delivers the flagship GPT-5 experience through the dedicated Codex API surface, supporting the same multimodal capabilities with a specialized routing endpoint.