OpenAI
GPT-5.2 Codex
Code-specialist GPT for repository edits, reviews, and long-running software agents
Model facts
- Context window
- 4K tokens
- Maximum output
- 128K tokens
- Cheapest paid input
- $0.14 per 1M tokens
- Cheapest paid output
- $1.14 per 1M tokens
- Open weights
- no
- Providers
- 24
Capabilities and modalities
reasoning, tool calling, structured output, attachments, temperature control, text, image, pdf.
Artificial Analysis benchmarks
Compare this model on the full LLM benchmark leaderboard.
| Configuration | AAI | Coding | Math | Output tokens/s |
|---|---|---|---|---|
| xhigh | 41.2 | not measured | not measured | not measured |
Observed price history
- 2026-08-24: $0.14 input / $1.14 output per 1M tokens
API providers
- GitLab Duo (Agentic Chat) — model id duo-chat-gpt-5-2-codex; free input / free output per 1M tokens; provider documentation
- QiHang — model id gpt-5.2-codex; $0.14 input / $1.14 output per 1M tokens; provider documentation
- Poe — model id openai/gpt-5.2-codex; $1.6 input / $13 output per 1M tokens; provider documentation
- AIHubMix — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Abacus — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Azure — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Azure Cognitive Services — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- DevPass (LLM Gateway) — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Eden AI — model id azure/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- GitHub Copilot — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Impossibl — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Jiekou.AI — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Kilo Gateway — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- LLM Gateway (Azure) — model id azure/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- NanoGPT — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Ofox — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- OpenCode Zen — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- OpenRouter — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- OrcaRouter — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Vercel AI Gateway — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Vivgrid — model id gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- ZenMux — model id openai/gpt-5.2-codex; $1.75 input / $14 output per 1M tokens; provider documentation
- Venice AI — model id openai-gpt-52-codex; $2.19 input / $17.5 output per 1M tokens; provider documentation
- Arena — model id gpt-5.2-codex; not published input / not published output per 1M tokens; provider documentation