Side-by-side comparison of AI model specs, benchmarks, and pricing.
| Spec | Claude Sonnet 4.6 Anthropic | Grok 4 xAI |
|---|---|---|
| Tier | frontier | frontier |
| Release Date | 2026-02-17 | 2025-07-09 |
| Context Window | 200K | 256K |
| Max Output | 64K | 8K |
| Input Price (/1M) | $3 | $3 |
| Output Price (/1M) | $15 | $15 |
| Arena Elo | 1,470 | 1,410 |
| MMLU | 91% | 87.5% |
| GPQA | 88% | 87.5% |
| MATH | 97.8% | 91.7% |
| HumanEval | 96% | 90% |
| SWE-bench | 70.3% | 48% |
| Capabilities | vision, tool-use, code, extended-thinking | vision, tool-use, code, reasoning |