OpenAI

GPT-5.2-Codex API pricing

Made by OpenAI

1 provider route, checked 27 Nov 2026. For a sample chat workload, the cheapest is Azure at $2,257.50 a month.

Input from
$1.75
Output from
$14.00
Context up to
400K tokens
Batch rates
None listed

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
AzureOpenRouter$1.75$14.00$0.175——400K$2,257.50

Other GPT-5.2-Codex models