Side-by-side comparison of AI model specs, benchmarks, and pricing.
| Spec | GPT-4.1 OpenAI | Grok 4 xAI |
|---|---|---|
| Tier | mid | frontier |
| Release Date | 2025-04-14 | 2025-07-09 |
| Context Window | 1048K | 256K |
| Max Output | 33K | 8K |
| Input Price (/1M) | $2 | $3 |
| Output Price (/1M) | $8 | $15 |
| Arena Elo | 1,413 | 1,410 |
| MMLU | 86% | 87.5% |
| GPQA | 66.3% | 87.5% |
| MATH | 73.8% | 91.7% |
| HumanEval | 92.4% | 90% |
| SWE-bench | 54.6% | 48% |
| Capabilities | vision, tool-use, code | vision, tool-use, code, reasoning |