Build advanced reasoning agents with GPT-5-Codex, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $1.25/1M input and $10.00/1M output tokens, native tool calling support. Access GPT-5-Codex via the OpenAI API with up to 128K output tokens.
Tokens
Tokens
Tokens
GPT-5-Codex by OpenAI costs $1.25 per 1M input tokens and $10.00 per 1M output tokens. Cached reads cost $0.13 per 1M tokens.