GPT-5.2 Codex (xhigh) API Pricing

OpenAI · released 2025-12-11

Pricing

$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
#55 of 533
Coding
Math
Tokens/sec
Time to first token

Similar intelligence, lower price

ModelIntelligenceBlended $/1M
DeepSeek V4 Flash 0420 (Reasoning, High Effort)26.0$0.168
MiniMax-M329.2$0.525
Solar Pro 428.2$0.525
Inkling Small27.8$0.525
DeepSeek V4 Pro 0424 (Reasoning, Max Effort)30.4$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$2.925
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-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-5.6 Luna (max)37.3$0.45
GPT-5.3 Codex (xhigh)32.5$4.813
GPT-5.2 (xhigh)30.4$4.813

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-09-22

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.

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 #55 of 533 models we track.

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

Yes — DeepSeek V4 Flash 0420 (Reasoning, High Effort) scores similar intelligence (26.0) at $0.168/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-09-22.