Side-by-side comparison of AI model specs, benchmarks, and pricing.
| Spec | GPT-4.1 mini 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) | $0.4 | $3 |
| Output Price (/1M) | $1.6 | $15 |
| Arena Elo | 1,280 | 1,410 |
| MMLU | 80.5% | 87.5% |
| GPQA | 52.1% | 87.5% |
| MATH | — | 91.7% |
| HumanEval | 89.5% | 90% |
| SWE-bench | — | 48% |
| Capabilities | vision, tool-use, code | vision, tool-use, code, reasoning |