GPT-5.2-Codex

OpenAIReleasedDec 11, 2025KnowledgeAug 2025
Context
272K
Max output
128K
Serving providers
1
Cheapest input
$1.75 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Benchmarks

independent evaluations · source: Artificial Analysis
Speed & latency
Output speed
134 t/s
tokens / second
Time to first token
16.18s
latency
Headline indices
Individual benchmarks · click a row for effort variants
BenchmarkBest scoreEffortCost / task
CritPt9%default
GPQA Diamond90%default
Humanity's Last Exam33%default
IFBench78%default
Long-Context Reasoning76%default
MMMU-Pro76%default
Omniscience-2.5default
SciCode55%default
TerminalBench Hard37%default
τ²-bench92%default

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
OpenRouterCheapest$1.75$14.001
ComponentUnitStandardBatchCached
Text cached in/1M tok$0.1750
Text input/1M tok$1.75
Text output/1M tok$14.00

Price history

input + output $/1M since we started tracking
Input Output
$0.000$5.00$10.00$15.00Jan 14Jan 16Jun 22$14.00$1.75

Cost calculator

estimate your monthly spend on this model
$1,470
estimated / month

Model IDs

copy the exact identifier for your platform
openrouter/openai/gpt-5.2-codex

Frequently asked questions

GPT-5.2-Codex pricing, context and availability

How much does GPT-5.2-Codex cost?

GPT-5.2-Codex costs $1.75 per 1M input tokens and $14.00 per 1M output tokens at its cheapest provider via OpenRouter.

What is the context window of GPT-5.2-Codex?

GPT-5.2-Codex accepts up to 272K tokens of context and can return up to 128K output tokens.

What can GPT-5.2-Codex do?

GPT-5.2-Codex supports tool use and reasoning.

Other OpenAI models

compare pricing across the OpenAI lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI