gpt-5-codex

Common Name: GPT-5 Codex

OpenAI
-80%On SaleReleased on Sep 15, 2025 12:00 AMKnowledge Cutoff Sep 30, 2024 12:00 AMSupportedTool InvocationSupportedReasoning
Compare

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.

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
$0.25
$0.125
$0.125
Output/MTokens
$2.00
$1.00
$1.00
Cached Input/MTokens
$0.025
$0.0125
$0.0125

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.

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

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