Model Cost Profile

OpenAI: GPT-5.2-Codex

Developer: openai

Pricing updated Mar 11, 2026

Input rank: #269Output rank: #304

Live Pricing

Input: $1.75

Output: $14.00

Pricing via OpenRouter API ยท Last synced Mar 11, 2026 ยท MMLU score via public benchmark data

OpenAI's GPT-5.2-Codex is designed for advanced coding tasks, enabling teams to automate code generation, debugging, and documentation across various programming languages. With a substantial context window of 400,000 tokens, this model allows for extensive code context, making it ideal for complex projects and large-scale applications. Pricing for using the API is structured at $1.75 per million input tokens and $14.00 per million output tokens, which teams should consider when budgeting for high-volume coding tasks.

๐Ÿ‘ Vision๐Ÿ”ง Tool Calling๐Ÿ“‹ Structured Output๐Ÿง  Reasoning

Context Window

400,000

Tokens

Input Price / 1M

$1.75

Prompt tokens

Output Price / 1M

$14.00

Completion tokens

Intelligence (MMLU)

86.0

Massive Multitask Language Understanding

Benchmark Scores

Standardized evaluation scores for OpenAI: GPT-5.2-Codex.

BenchmarkScoreRankSource
GPQA86.0#5 of 118artificial_analysis
MMLU86.0#9 of 121artificial_analysis

Price History

OpenAI: GPT-5.2-Codex Pricing Trend

Input / 1M tokens0.0%Output / 1M tokens0.0%
Mar 7 โ€” Mar 11
$1.75$7.88$14.00Mar 7Mar 8Mar 9Mar 10Mar 11

Current Input / 1M

$1.75

Current Output / 1M

$14.00

Cheaper Alternatives to Compare

Quick links for cost-down decisions before production rollout.

FAQ

Common pricing and benchmark questions for OpenAI: GPT-5.2-Codex.

How much does OpenAI: GPT-5.2-Codex cost per 1M input tokens?

OpenAI: GPT-5.2-Codex input pricing is $1.75 per 1M tokens based on the latest synced provider data.

How much does OpenAI: GPT-5.2-Codex cost per 1M output tokens?

OpenAI: GPT-5.2-Codex output pricing is $14.00 per 1M tokens based on the latest synced provider data.

What context window does OpenAI: GPT-5.2-Codex support?

OpenAI: GPT-5.2-Codex supports a context window of 400,000 tokens.

How can I compare OpenAI: GPT-5.2-Codex with cheaper alternatives?

Use the comparison links on this page to open direct model-vs-model pricing and benchmark pages, then evaluate monthly spend projections for your workload.