gpt-5.2-codex

Common Name: GPT-5.2-Codex

OpenAI
Released on Dec 11, 2025 12:00 AMKnowledge Cutoff Aug 31, 2025 12:00 AMSupportedTool InvocationSupportedReasoning
CompareTry in Chat

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.

Specifications

Context
400K
Maximum Output
128K
Inputtext, image
Outputtext

Performance (7-day Average)

Collecting…
Collecting…
Collecting…

Availability Trend (24h)

Pricing

Standard
Flex
Batch
Input/MTokens
$1.925
$0.9625
$0.9625
Output/MTokens
$15.40
$7.70
$7.70
Cached Input/MTokens
$0.1925
$0.09625
$0.09625

Performance Metrics (24h)

Similar Models

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

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

$1.375/$11.00/M
ctx400Kmax128Kavailtps
InOutCap

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