
GPT-5.1-Codex: API pricing, context window and capabilities
Prices from official vendor price lists · October 2026
GPT-5.1-Codex costs $1.25 per 1M input tokens and $10 per 1M output tokens, with a 400K context window. Frontier tier: dearer than 81% of this rating, with GPT-5.4 Mini as the nearest cheaper OpenAI option. Recorded for vision, coding, reasoning.
API $/1M (in / out)
$1.25 / $10
Capabilities


Context window
400K tokens
Price / mo
API only