Skip to content

GPT-5.2-Codex: API pricing, context window and capabilities

Prices from official vendor price lists · October 2026

GPT-5.2-Codex costs $1.75 per 1M input tokens and $14 per 1M output tokens, with a 400K context window. Frontier tier: dearer than 88% of this rating, with GPT-5.6 Terra as the nearest cheaper OpenAI option. Recorded for vision, coding, reasoning.

API $/1M (in / out)
$1.75 / $14
Capabilities
Text & chatVisionCoding
Context window
400K tokens
Price / mo
API only

GPT-5.2-Codex reviews and developer ratings