OpenAI: GPT-5 Codex
OpenAI Mid-tier
Model ID: gpt-5-codex
Pricing
Input $1.25 / 1M tokens
Output $10.00 / 1M tokens
Cache Read $0.13 / 1M tokens
Specifications
Context Window 400K tokens
Max Output 128K tokens
Family gpt-5
Mode chat
Capabilities
StreamingSystem PromptsVisionFunction CallingReasoningJSON Mode