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
0.175¢ / 1K
1.40¢ / 1K
0.481¢ / 1K
What it actually costs
| Workload | Tokens | Cost |
|---|---|---|
| Short chat reply | 500 in / 300 out | 0.507¢ |
| RAG query | 4,000 in / 500 out | $0.0140 |
| Long document summary | 50,000 in / 1,000 out | $0.1015 |
| Code review of a 2k-line file | 30,000 in / 2,000 out | $0.0805 |
| 1,000 chat replies/day for 30 days | 30,000 × (500 in / 300 out) | $152.25 |
Cost = (input tokens ÷ 1,000,000 × $1.75) + (output tokens ÷ 1,000,000 × $14.00).
Benchmarks
#67 of 547
Similar intelligence, lower price
| Model | Intelligence | Blended $/1M |
|---|---|---|
| MiniMax-M3 | 29.2 | $0.525 |
| Solar Pro 4 | 28.2 | $0.525 |
| Inkling Small | 25.7 | $0.525 |
| DeepSeek V4 Pro 0424 (Max) | 30.4 | $0.544 |
| MiMo-V2.5-Pro (Reasoning) | 26.0 | $0.544 |
Leaderboard neighbours
| Model | Intelligence | Blended $/1M |
|---|---|---|
| MiniMax-M3 | 29.2 | $0.525 |
| Claude Opus 4.5 (Reasoning) | 29.1 | $10.00 |
| MiMo-V2-Pro | 28.6 | — |
| GPT-5.2 Codex (Xhigh) | 28.5 | $4.813 |
| Qwen3.6 Max Preview | 28.4 | — |
| Nex-N2-Pro (Based on Qwen3.5-397B-A17B) | 28.2 | — |
| Solar Pro 4 | 28.2 | $0.525 |
More from OpenAI
| Model | Intelligence | Blended $/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.