GPT-5.2-Codex vs Grok-4 Heavy
OpenAI vs xAI — benchmarks, pricing, and capabilities side by side.
- •GPT-5.2-Codex has the higher intelligence index (89.9 vs 89.3)
| GPT-5.2-Codex | Grok-4 Heavy | |
|---|---|---|
| Intelligence index | 89.9 | 89.3 |
| Developer | OpenAI | xAI |
| Type | Multimodal | Multimodal |
| Access | API only | API only |
| Context window | 400,000 tokens | — |
| Input price | $1.75 / 1M | — |
| Output price | $14.00 / 1M | — |
| Speed | 106 tok/s | — |
| Released | January 14, 2026 | July 9, 2025 |
| Parameters | — | — |
| Input modalities | Text, Image | — |
| Output modalities | Text | — |
Shared benchmarks
GPT-5.2-Codex
Grok-4 Heavy
GPQA Diamond
89.9
88.4
Humanity’s Last Exam
33.5
50.7