Skip to content
NINJA

GPT-5.2-Codex

Released by OpenAI on 14 Jan 2026.

API id openai/gpt-5.2-codex

Input price
$1.75 / 1M tokens
Output price
$14 / 1M tokens
Context window
400K tokens
Longest reply
128K tokens

About this model

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Description from the model’s public catalogue listing.

Capabilities

Reads
Text, Image
Writes
Text
Reasoning mode
Yes
Tool calling
Yes
Open weights
No
Cached input
$0.17 / 1M tokens

What it would cost

At list price, without caching or batch discounts.

1,000 chat replies2K tokens in, 500 out each
$10.50
Summarise 100 long reports50K tokens in, 1K out each
$10.15
A coding agent’s working day20M tokens in, 1M out
$49.00
Price your own workload on every model

Price history

No change since we started tracking prices on 30 Sept 2026.

Alternatives at a similar price

From other labs, priced within about 40% of GPT-5.2-Codex, with a comparable context window.

More from OpenAI

See all