Context Window
400,000
Tokens
Model Cost Profile
Developer: openai
Pricing updated Mar 11, 2026
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.
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
Standardized evaluation scores for OpenAI: GPT-5.2-Codex.
| Usage Type | Price / 1M Tokens |
|---|---|
| Input (Prompt) | $1.75 |
| Output (Completion) | $14.00 |
Price History
Current Input / 1M
$1.75
Current Output / 1M
$14.00
Estimate monthly spend for OpenAI: GPT-5.2-Codex based on your workload.
Estimated Monthly Cost
$212
25M input + 12M output tokens
Quick links for cost-down decisions before production rollout.
Common pricing and benchmark questions for OpenAI: GPT-5.2-Codex.
OpenAI: GPT-5.2-Codex input pricing is $1.75 per 1M tokens based on the latest synced provider data.
OpenAI: GPT-5.2-Codex output pricing is $14.00 per 1M tokens based on the latest synced provider data.
OpenAI: GPT-5.2-Codex supports a context window of 400,000 tokens.
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.