gpt-5.1-codex

Common Name: GPT-5.1 CodeX

OpenAI
Released on Nov 13, 2025 12:00 AMKnowledge Cutoff Sep 30, 2024 12:00 AMSupportedTool InvocationSupportedReasoning
CompareTry in Chat

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

Specifications

Context
400K
Maximum Output
128K
Inputtext, image, audio
Outputtext, image, audio

Performance (7-day Average)

Collecting…
Collecting…
Collecting…

Availability Trend (24h)

Pricing

Standard
Flex
Batch
Input/MTokens
$1.375
$0.6875
$0.6875
Output/MTokens
$11.00
$5.50
$5.50
Cached Input/MTokens
$0.1375
$0.06875
$0.06875

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 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.

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

GPT-5 is our flagship model for coding, reasoning, and agentic tasks across domains.