GPT-5-Codex
by OpenAI · Sep 15, 2025
GPT-5-Codex is a proprietary reasoning llm from OpenAI, released Sep 15, 2025. It has a 400K-token context window and accepts text, image, pdf input. API pricing starts at $1.07 per million input tokens and $8.50 per million output tokens. It is available from 10 API providers.
- Provider
- OpenAI
- Released
- Sep 15, 2025
- Type
- Reasoning LLM
- Parameters
- Undisclosed
- Context window
- 400,000 tokens
- Max output
- 128,000 tokens
- Input
- text, image, pdf
- Output
- text
- Weights
- Closed
- License
- Proprietary
- Knowledge cutoff
- Sep 30, 2024
- Status
- Available via API
About GPT-5-Codex
Coding-optimized GPT model for repository edits, reviews, and agentic software work
GPT-5-Codex benchmarks
All benchmarks →- Terminal-Bench44.3%
Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
Where to run GPT-5-Codex — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| Poe(deprecated) | $1.10 | $9 | — | 400K |
| Helicone | $1.25 | $10 | $0.125 | 400K |
| Vercel AI Gateway | $1.25 | $10 | $0.13 | 400K |
| GitLab Duo(deprecated) | Free | Free | — | 400K |
| OpenCode | $1.07 | $8.50 | $0.107 | 400K |
| Jiekou.AI | $1.19 | $9.50 | $0.119 | 400K |
| Abacus(deprecated) | $1.25 | $10 | $0.125 | 400K |
| ZenMux | $1.25 | $10 | $0.125 | 400K |
| Impossibl | $1.25 | $10 | $0.125 | 400K |
| Kilo Gateway | $1.25 | $10 | $0.13 | 400K |
GPT-5-Codex vs alternatives
- GPT-5-Codex vs Claude Haiku 4.5 (latest)
- GPT-5-Codex vs Qwen3 Max
- GPT-5-Codex vs Google Gemini 3 Pro Preview
- GPT-5-Codex vs Gemini 3 Flash Preview
- GPT-5-Codex vs Claude Sonnet 4.5 (latest)
- GPT-5-Codex vs Aion-2.0
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Claude Haiku 4.5 (latest) | Anthropic | Oct 2025 | — | 200K | $1 | $5 | 142.7 |
| Qwen3 Max | Alibaba (Qwen) | Sep 2025 | — | 256K | $1.20 | $6 | 142.4 |
| Google Gemini 3 Pro Preview | Google DeepMind | Nov 2025 | — | 1M | $0.57 | $3.43 | 153.0 |
| Gemini 3 Flash Preview | Google DeepMind | Dec 2025 | — | 1M | $0.5 | $3 | 152.3 |
| Claude Sonnet 4.5 (latest) | Anthropic | Sep 2025 | — | 200K | $3 | $15 | 147.6 |
| Aion-2.0 | AionLabs | Dec 2025 | — | 128K | $0.8 | $1.60 | — |
| o4-mini | OpenAI | Apr 2025 | — | 200K | $1.10 | $4.40 | 145.2 |
| Muse Spark 1.1 | Meta | Apr 2026 | — | 1M | $1.25 | $4.25 | 154.9 |
More models from OpenAI
All OpenAI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| GPT OSS 120Bopen | Aug 2025 | 117B | 128K | $0.09 | $0.36 |
| GPT-6 Astra | Sep 2026 | — | 1.1M | $10 | $50 |
| GPT-6.1 Sol | Sep 2026 | — | 1.1M | $2 | $10 |
| GPT OSS 20Bopen | Aug 2025 | 21B | 128K | $0.075 | $0.3 |
| GPT-5.6 Sol | Jul 2026 | — | 1.1M | $4 | $20 |
| GPT-6.2 Astra | Nov 2026 | — | 1.1M | $8 | $40 |
| GPT-6 Sol | Sep 2026 | — | 1.1M | $2 | $10 |
| GPT-5.6 Terra | Jul 2026 | — | 1.1M | $2 | $12 |
Frequently asked questions
Who made GPT-5-Codex?
GPT-5-Codex was developed by OpenAI (United States of America). It was released on Sep 15, 2025.
What is the context window of GPT-5-Codex?
GPT-5-Codex supports a context window of 400,000 tokens (400K) and can generate up to 128,000 output tokens per response.
How much does GPT-5-Codex cost?
GPT-5-Codex costs $1.07 per 1M input tokens and $8.50 per 1M output tokens, with cached input at $0.107 per 1M. Prices vary across the 10 providers that serve it.
Is GPT-5-Codex open source?
No. GPT-5-Codex is a proprietary model available only through its provider's API and apps.
How does GPT-5-Codex perform on benchmarks?
GPT-5-Codex scores 44.3% on Terminal-Bench.
Where can I use GPT-5-Codex?
GPT-5-Codex is available via 10 API providers.
Sources: epoch, models.dev · paper. Last updated 2026-11-22.