Update OpenAI · Released
GPT-5.2 Codex
What is GPT-5.2 Codex?
GPT-5.2 Codex is a Update AI model from OpenAI, released on December 18, 2025. It has a 256K tokens context window, costs $1.50 per million input tokens, and scores 95.1% on HumanEval. It is available via the company's API.
Prior-gen Codex variant of GPT-5.2 for agentic coding.
Specialized coding variant of GPT-5.2 focused on software engineering tasks
Key features
- Specialized for software engineering
- Enhanced agentic coding
- Multi-file refactoring
- Advanced debugging capabilities
How much does GPT-5.2 Codex cost?
| Metric | Price |
|---|---|
| input per mtok | $1.50 |
| output per mtok | $12.00 |
Pricing data verified .
What context window does GPT-5.2 Codex have?
- Context window
- 256K tokens
- Max output
- 64K
- Input modalities
- text, image
- Output modalities
- text
How does GPT-5.2 Codex score on benchmarks?
| Benchmark | Score |
|---|---|
| SWE-bench Verified | 78.2% |
| HumanEval | 95.1% |
| LiveCodeBench | 80.4% |
Benchmark scores verified .
How does GPT-5.2 Codex compare to GPT-5.1?
- SWE-bench Verified: 70.1% → 78.2% (+8.1pt)
- Input pricing: $2.25 → $1.50
- Context window: 400K tokens → 256K tokens