GPT-5.2 Codex

Upgraded codex model optimized for software engineering and agentic coding workflows with steerable reasoning.

gpt-5.2-codex
STABLE
400,000 context
Starting at $1.75/M input tokens
Starting at $14.00/M output tokens
Streaming
Vision
Tools
Reasoning
JSON Output

Select Provider

All Providers for GPT-5.2 Codex

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

OpenAI

openai/gpt-5.2-codex
Context Size
400k
Stability
STABLE
Pricing
Input
$1.75
/M
Cached
$0.17
/M
Output
$14.00
/M
Capabilities
Streaming
Vision
Tools
Reasoning
JSON Output
Native Web Search
Try in Playground

Azure

UNSTABLE
azure/gpt-5.2-codex
Context Size
400k
Stability
unstable
Pricing
Input
$1.75
/M
Cached
$0.17
/M
Output
$14.00
/M
Capabilities
Streaming
Vision
Tools
Reasoning
JSON Output
Try in Playground