openai / text-generation API-only released 2026-01-14

GPT-5.2-Codex

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Input / 1M
$1.75
Output / 1M
$14.00
Context
400K
AA Intelligence
28.5
Closed weights — available only as a hosted API text + image → text View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$1.75
input / 1M
$14.00
output / 1M
$0.18
cached input / 1M
$15.75
1M in + 1M out
Context window
400,000 tokens
Max output
128,000 tokens
Providers
1
Cheapest provider
Azure · $1.75 / $14.00
Best throughput
—
AA Intelligence / Coding / Agentic
28.5 / — / —
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✗ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $1.75 input · $14.00 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
28.5
AA Coding Index
—
AA Agentic Index
—
Design Arena
CategoryEloWin %Rank
androidnative 1176 47.5% #20
fullstack 993 37.2% #41
godotgamedev 1142 47.8% #24
mobileapps 1090 46.6% #42
webapps 1051 39.6% #42

Providers

1 provider · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Azure unknown 400K $1.75 $14.00 100% —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2026-01-14
Context window
400,000 tokens
Max output
128,000 tokens
Input
text, image
Output
text
Tokenizer
GPT
Moderated by provider
No
OpenRouter id
openai/gpt-5.2-codex
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.