GPT-5 Codex
JSON →A code-specialized variant of GPT-5, trained extensively on source code for advanced programming tasks.
Specs
context window 272K tokens
max output 128K tokens
input price $1.25 / 1M tokens
output price $10 / 1M tokens
Capabilities
code-generationfunction-callingstreamingjson-modetool-usevisionprompt-cachingreasoning
Dates
releasedAug 2025
knowledge cutoffApr 2025
Resources
API
full doc /v1/models/gpt-5-codex