GPT-5.2 Codex (Xhigh) API Pricing

OpenAI · released 2025-12-11

Also searched as: GPT-5.2 Codex pricing · GPT 5.2 Codex price · 5.2 Codex cost

GPT-5.2 Codex price

$1.75
input / 1M tokens
0.175¢ / 1K
$14.00
output / 1M tokens
1.40¢ / 1K
$4.813
blended / 1M tokens
0.481¢ / 1K

What it actually costs

WorkloadTokensCost
Short chat reply500 in / 300 out0.507¢
RAG query4,000 in / 500 out$0.0140
Long document summary50,000 in / 1,000 out$0.1015
Code review of a 2k-line file30,000 in / 2,000 out$0.0805
1,000 chat replies/day for 30 days30,000 × (500 in / 300 out)$152.25

Cost = (input tokens ÷ 1,000,000 × $1.75) + (output tokens ÷ 1,000,000 × $14.00).

Benchmarks

28.5
Intelligence
#67 of 547
—
Coding
—
Math
—
Tokens/sec
—
Time to first token

Similar intelligence, lower price

ModelIntelligenceBlended $/1M
MiniMax-M329.2$0.525
Solar Pro 428.2$0.525
Inkling Small25.7$0.525
DeepSeek V4 Pro 0424 (Max)30.4$0.544
MiMo-V2.5-Pro (Reasoning)26.0$0.544

Leaderboard neighbours

ModelIntelligenceBlended $/1M
MiniMax-M329.2$0.525
Claude Opus 4.5 (Reasoning)29.1$10.00
MiMo-V2-Pro28.6—
GPT-5.2 Codex (Xhigh)28.5$4.813
Qwen3.6 Max Preview28.4—
Nex-N2-Pro (Based on Qwen3.5-397B-A17B)28.2—
Solar Pro 428.2$0.525

More from OpenAI

ModelIntelligenceBlended $/1M
GPT-6 Astra (Max)52.7$20.00
GPT-6.1 Sol (Max)51.8$4.00
GPT-6 Sol (Max)47.6$4.00
GPT-5.6 Sol (Max)47.0$8.00
GPT-5.6 Terra (Max)42.1$4.50
GPT-5.4 (Xhigh)39.0$5.625
GPT-5.5 (Xhigh)38.4$11.25
GPT-6 Luna (Max)38.1$0.20

Count tokens & estimate cost for GPT-5.2 Codex (Xhigh) See GPT-5.2 Codex (Xhigh) on the leaderboard

Source: Artificial Analysis · last synced 2026-10-15

FAQ

Who develops GPT-5.2 Codex (Xhigh)?

GPT-5.2 Codex (Xhigh) is developed by OpenAI, released 2025-12-11.

How much does GPT-5.2 Codex (Xhigh) cost per million tokens?

GPT-5.2 Codex (Xhigh) costs $1.75 per 1M input tokens and $14.00 per 1M output tokens ($4.813 blended), per Artificial Analysis's official pricing data.

What is the GPT-5.2 Codex API price?

The GPT-5.2 Codex API price is $1.75 per 1M input tokens and $14.00 per 1M output tokens ($4.813 per 1M blended).

How much does GPT-5.2 Codex cost for a typical request?

A short chat reply (500 in / 300 out tokens) costs about 0.507¢ on GPT-5.2 Codex, at $1.75/1M input and $14.00/1M output.

Is GPT-5.2 Codex free?

GPT-5.2 Codex's official API list price is $1.75 per 1M input tokens and $14.00 per 1M output tokens. This site tracks list prices only, not free tiers or trial credits — check OpenAI's site for those.

How does GPT-5.2 Codex (Xhigh) rank on benchmarks?

GPT-5.2 Codex (Xhigh) scores 28.5 on the Artificial Analysis Intelligence Index, ranking #67 of 547 models we track.

Is there a cheaper model with similar intelligence to GPT-5.2 Codex (Xhigh)?

Yes — MiniMax-M3 scores similar intelligence (29.2) at $0.525/1M blended, versus $4.813/1M for GPT-5.2 Codex (Xhigh).

Where does this data come from?

Pricing and benchmark data for GPT-5.2 Codex (Xhigh) comes from Artificial Analysis (artificialanalysis.ai), synced daily. Last synced 2026-10-15.