Home / Models / OpenAI / GPT-5.2-Codex
OpenAI logoOpenAIreasoning

GPT-5.2-Codex pricing

$1.75 per 1M input tokens and $14.00 per 1M output tokens. In real work that is 0.94¢ per chat answer and 3.0¢ to summarize a 20-page PDF.

Input / 1M$1.75
Output / 1M$14.00
Cached input / 1M$0.17
Chat answer0.94¢
Context400K
Quality-

What GPT-5.2-Codex costs per task

Token counts estimated from a measured model of the same lab (GPT-6.1 Sol), rescaled by tokenizer. Reasoning tokens are billed as output.

TaskCostTokens usedPrice rankBasis
Answer a chat question
0.94¢$9.36 / 1,000
45 in · 560 out · 103 reasoning266 of 336estimated
Reply to a customer email
0.22¢$2.22 / 1,000
258 in · 126 out239 of 336estimated
Write a 1,500-word blog post
3.2¢$32.14 / 1,000
59 in · 2,116 out · 172 reasoning275 of 336estimated
Write 10 product descriptions
1.7¢$16.95 / 1,000
283 in · 1,103 out · 72 reasoning258 of 336estimated
Translate 1,000 words
2.1¢$20.99 / 1,000
1,330 in · 1,289 out · 44 reasoning249 of 336estimated
Proofread one page (500 words)
1.1¢$10.52 / 1,000
718 in · 662 out269 of 336estimated
Summarize a 20-page PDF
3.0¢$29.84 / 1,000
12,987 in · 482 out · 26 reasoning255 of 336estimated
Extract data from an invoice
0.70¢$6.95 / 1,000
373 in · 450 out260 of 336estimated
Analyze a 200-row spreadsheet
11¢$113 / 1,000
4,779 in · 919 out · 6,553 reasoning288 of 336estimated
Answer from 5 retrieved documents (RAG)
1.3¢$12.65 / 1,000
3,690 in · 442 out258 of 336estimated
Classify 100 support tickets
0.95¢$9.47 / 1,000
1,261 in · 442 out · 77 reasoning202 of 336estimated
Review 500 lines of code
6.4¢$63.67 / 1,000
4,557 in · 1,135 out · 2,843 reasoning265 of 336estimated
Write a SQL query
0.66¢$6.65 / 1,000
126 in · 312 out · 147 reasoning249 of 336estimated
Run a 50-step coding agent
73¢$730 / 1,000
2,237,500 in · 15,000 out207 of 336modeled

Price at every provider

List prices per 1M tokens (input / output) at each host serving GPT-5.2-Codex through OpenRouter today. Hosts can differ in quantization, context and speed.

ProviderInput / outputCached inputContextUptime
Azure logo
Azureunknown
$1.75 / $14.00$0.17400K100%

Price history

First seen in our price history on Jan 23, 2026 at $1.75 input / $14.00 output. The list price has not changed since.

$0$4.02$8.05$12.07$16.10Jan 2026Mar 2026Jun 2026Aug 2026Oct 2026
Output per 1MInput per 1M

FAQ

How much does GPT-5.2-Codex cost?

GPT-5.2-Codex costs $1.75 per 1 million input tokens and $14.00 per 1 million output tokens, with cached input at $0.17 (list price on Oct 18, 2026). In practice one chat answer costs about 0.94¢ and summarizing a 20-page PDF about 3.0¢.

Where is GPT-5.2-Codex cheapest?

Among 1 providers we track, the lowest list price today is at Azure: $1.75 input and $14.00 output per 1M tokens.

Does GPT-5.2-Codex charge for reasoning tokens?

Yes. Reasoning (thinking) tokens are billed as output tokens. That is why the cost per task can be much higher than the visible answer suggests - our task costs include them.

Is the GPT-5.2-Codex cost per task measured or estimated?

Estimated: GPT-5.2-Codex was not run directly. Tokens come from GPT-6.1 Sol and are rescaled by the tokenizer of OpenAI. Real usage can differ.