Context Window
400,000
Input tokens
Full-context input β $0.70
Model Cost Profile
Developer: openaiΒ· Tokenizer: GPT Β· Quantization: unknown
Canonical ID: openai/gpt-5.2-codex-20260114
Pricing updated Apr 23, 2026
Live Pricing
Input: $1.75
Output: $14.00
Last synced Apr 23, 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.
Provider Compliance
Context Window
400,000
Input tokens
Full-context input β $0.70
Max Output
128,000
Completion tokens
Input Price / 1M
$1.75
Prompt tokens
Output Price / 1M
$14.00
Completion tokens
Top Benchmark
86.0
MMLU score β highest of MMLU, GPQA, MATH, HumanEval
Evaluation scores for OpenAI: GPT-5.2-Codex. The βTop Benchmarkβ shown above is the highest score across MMLU, GPQA, MATH & HumanEval.
Price History
Current Input / 1M
$1.75
Current Output / 1M
$14.00
Performance History
Current TPS
0.00
Current Latency
0ms
Uptime
100.0%
| Usage Type | Price / 1M Tokens |
|---|---|
| Input (Prompt) | $1.75 |
| Output (Completion) | $14.00 |
| Cache Read | $0.1750 |
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.