Side-by-side comparison of AI model specs, benchmarks, and pricing.
| Spec | Gemini 3.1 Pro Google | Grok 4 xAI |
|---|---|---|
| Tier | frontier | frontier |
| Release Date | 2026-02-19 | 2025-07-09 |
| Context Window | 1049K | 256K |
| Max Output | 66K | 8K |
| Input Price (/1M) | $2 | $3 |
| Output Price (/1M) | $12 | $15 |
| Arena Elo | 1,500 | 1,410 |
| MMLU | 92.6% | 87.5% |
| GPQA | 94.3% | 87.5% |
| MATH | 96.8% | 91.7% |
| HumanEval | 94.6% | 90% |
| SWE-bench | 80.6% | 48% |
| AIME | 91.2% | 72% |
| SimpleQA | 79.6% | 34.2% |
| Capabilities | vision, tool-use, code, reasoning, agentic, audio | vision, tool-use, code, reasoning |