OpenAI GPT-5.1-Codex-Max
OpenAI GPT-5.1-Codex-Max is a programming-specialized foundation model developed by OpenAI. It features a very long context window of 400K, making it suitable for processing large codebases.
Parameters
Undisclosed
Context Window
400K
License
Proprietary
Release Date
2025-11-19
API Pricing
API pricing for this model is not yet available
Strengths
- ・Advanced coding capabilities
- ・Large 400K context window
- ・Optimized by OpenAI
Weaknesses
- ・Restricted by non-open-source license
- ・Limited external access
- ・Closed usage conditions
Use Cases
- ・Analyzing large codebases
- ・Implementing complex programs
- ・Advanced bug fixing
Deep Analysis
Release Date
November 19, 2025
Context Window
Effectively unlimited (compaction)
Input Price
$1.25 / 1M tokens
Output Price
$10.00 / 1M tokens
Cached Input
$0.625 / 1M tokens
SWE-bench Verified
77.9% (xhigh)
Terminal-Bench 2.0
58.1%
SWE-Lancer IC SWE
79.9%
Autonomous Operation
24+ hours continuous
Throughput
58.4 tok/s avg (11-110 range)
Strengths
- ・First model with context compaction — effectively unlimited context through iterative summarization
- ・SWE-bench Verified 77.9% with 30% fewer thinking tokens than predecessor
- ・Autonomous operation for 24+ hours on complex tasks
- ・Native Windows support — first OpenAI coding model to offer this
- ・Configurable reasoning effort (none/medium/high/xhigh) for cost/quality tradeoffs
Weaknesses
- ・High latency (2,060ms avg TTFT) with significant variability (169.3% CV)
- ・Context compaction can 'blur' details over very long sessions
- ・METR evaluation suggests 80% reliability time-horizon is ~2 hours, not 24
- ・Follows instructions very literally — may not recognize obvious typos
- ・Higher code churn compared to Claude Code (30% more reworks)
Competitor Comparison
| Model | Arena | SWE | GPQA | Price |
|---|---|---|---|---|
| Claude Opus 4.5 | ~1450 | 80.9% | ~92% | $15/$75 per 1M tokens |
| Gemini 3 Pro | ~1420 | 76.2% | ~90% | $3.50/$10.50 per 1M tokens |
| GPT-5.1 Codex | ~1400 | 73.7% | ~88% | $1.25/$10 per 1M tokens |
| Cursor (varies) | N/A | Varies | N/A | $20/month subscription |
GPT-5.1-Codex-Max is OpenAI's frontier agentic coding model released November 19, 2025, featuring revolutionary context compaction technology for effectively unlimited context. It achieves SWE-bench Verified 77.9% with 30% fewer thinking tokens than its predecessor and can operate autonomously for over 24 hours. It replaced GPT-5.1-Codex as the default across all Codex surfaces.
Sources
Analysis generated: 2026-05-24