GPT-5.2 Codex

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

gpt-5.2-codex
STABLEGet StartedView uptime
400,000 context
Released January 14, 2026
Starting at $1.75/M input tokens
Starting at $14.00/M output tokens
Streaming
Vision
Tools
Reasoning
JSON Output
No ratings yetSign in to rate

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
Context: 400k
Input
$1.75
/M tokens
Cache Read
$0.175
/M tokens
Output
$14
/M tokens
+ $0.010 per search
Get Started
Azure
Context: 400k
Input
$1.75
/M tokens
Cache Read
$0.175
/M tokens
Output
$14
/M tokens
Get Started

Frequently asked questions

What is GPT-5.2 Codex?

Upgraded codex model optimized for software engineering and agentic coding workflows with steerable reasoning. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does GPT-5.2 Codex cost?

Pricing for GPT-5.2 Codex on LLM Gateway starts at $1.75 per million input tokens and $14.00 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

What is the context length of GPT-5.2 Codex?

GPT-5.2 Codex supports a context window of up to 400,000 tokens on its largest provider deployment.

Which providers serve GPT-5.2 Codex?

GPT-5.2 Codex is served by OpenAI, Azure through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does GPT-5.2 Codex support tool calling and structured outputs?

Yes. GPT-5.2 Codex supports both tool (function) calling and structured JSON outputs through LLM Gateway.

When was GPT-5.2 Codex released?

GPT-5.2 Codex was released on January 14, 2026.