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