OpenAI GPT-5.1 Codex
OpenAI GPT-5.1 Codex is a programming-specialized foundation model developed by OpenAI. It features an extensive 400K context window.
Parameters
Undisclosed
Context Window
400K
License
Proprietary
Release Date
2025-11-14
API Pricing
API pricing for this model is not yet available
Strengths
- ・Advanced coding capabilities
- ・Long 400K context understanding
- ・Latest design from OpenAI
Weaknesses
- ・Is closed-source
- ・Usage subject to license restrictions
- ・Limited publicly available information
Use Cases
- ・Automatic generation of complex code
- ・Analysis of large repositories
- ・Advanced program modification
Deep Analysis
Release Date
November 19, 2025
Context Window
400K tokens
Max Output
128K tokens
Input Price
$1.25 / 1M tokens
Output Price
$10.00 / 1M tokens
Cache Read
$0.125 / 1M tokens
SWE-bench Verified
73.7%
SWE-Lancer
66.3%
Terminal-Bench 2.0
52.8%
Knowledge Cutoff
September 2024
Strengths
- ・Strong coding benchmarks: SWE-bench Verified 73.7%, SWE-Lancer 66.3%, Terminal-Bench 52.8%
- ・Large 400K context window for processing entire codebases
- ・Supports tool calling, reasoning, structured output, and attachments
- ・Available across 20+ providers with competitive pricing
- ・Good agent score (100/100 on modelcompare.dev) and production-readiness (96/100)
Weaknesses
- ・Superseded by GPT-5.1-Codex-Max (SWE-bench 77.9%) and GPT-5.2-Codex
- ・No temperature control — limited fine-tuning of output randomness
- ・Proprietary/closed-source — only OpenAI and approved partners can serve it
- ・Higher cost than GPT-5.1 Codex Mini ($1.25/$10 vs $0.25/$2)
- ・Knowledge cutoff of September 2024 is older than newer models
Competitor Comparison
| Model | Arena | SWE | GPQA | Price |
|---|---|---|---|---|
| Claude Sonnet 4.5 | ~1420 | ~72% | ~89% | $3/$15 per 1M tokens |
| GPT-5.1-Codex-Max | ~1410 | 77.9% | ~88% | $1.25/$10 per 1M tokens |
| Gemini 3 Pro | ~1420 | 76.2% | ~90% | $3.50/$10.50 per 1M tokens |
| GPT-5-Codex | ~1390 | ~70% | ~85% | $1.25/$10 per 1M tokens |
GPT-5.1 Codex is OpenAI's coding-specialized model released November 19, 2025, achieving SWE-bench Verified 73.7% and Terminal-Bench 2.0 52.8% with a 400K context window. It replaced GPT-5-Codex as the default coding model before being itself superseded by GPT-5.1-Codex-Max just days later. At $1.25/$10 per 1M tokens, it remains available as a mid-tier coding option.
Sources
Analysis generated: 2026-05-24