Compare / head-to-head
Gemini 3.1 Pro Previewvs
Grok 4
Gemini 3.1 Pro Preview leads 10 of 10 shared benchmarks. Gemini 3.1 Pro Preview has the larger context window (1.0M tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
10 – 0
Gemini 3.1 Pro Preview leads
Cheaper per token
—
list price, input + output
Larger context
Gemini 3.1 Pro Preview
1.0M tokens
Providers
2 providers
Google · xAI
Gemini 3.1 Pro Preview
Google · released 2026-02-19
textvisionaudio
Grok 4
xAI · released 2025-07-09
textvision
- Context
- 256K
- Max out
- —
- Input /1M
- —
- Output /1M
- —
- Cached /1M
- —
- Scores
- 17 · 8 core
Quality
Benchmark matrix
10 shared · 26 only Gemini 3.1 Pro Preview · 7 only Grok 4| Benchmark | Gemini 3.1 Pro Preview | Grok 4 | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 10 | ||||
| GPQA Diamond | 94.3% ↗ | 87% ↗epoch run | +7.3 pt | Gemini 3.1 Pro Preview |
| LMArena Elo | 1480.1 ↗ | 1410.8 ↗ | +69.3 | Gemini 3.1 Pro Preview |
| ARC-AGI-2 | 77.1% ↗ | 15.9% ↗ | +61.2 pt | Gemini 3.1 Pro Preview |
| BALROG (BALROG) | 57% ↗ | 43.6% ↗ | +13.4 pt | Gemini 3.1 Pro Preview |
| Chess Puzzles (Epoch AI run) | 55% ↗epoch run | 28% ↗epoch run | +27 pt | Gemini 3.1 Pro Preview |
| LMArena Vision (LMArena) | 1279.3 ↗ | 1184.2 ↗ | +95.1 | Gemini 3.1 Pro Preview |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 95.6% ↗epoch run | 84% ↗epoch run | +11.6 pt | Gemini 3.1 Pro Preview |
| SAGE (Vals AI) | 48.7% ↗ | 25.1% ↗ | +23.6 pt | Gemini 3.1 Pro Preview |
| SimpleBench (SimpleBench) | 79.6% ↗ | 60.5% ↗ | +19.1 pt | Gemini 3.1 Pro Preview |
| WeirdML (Håvard Tveit Ihle) | 72.1% ↗ | 45.7% ↗ | +26.4 pt | Gemini 3.1 Pro Preview |
| Only Gemini 3.1 Pro Preview reports · 26 | ||||
| AIME 2026 | 98.3% ↗matharena ⚠ | not reported | — | — |
| APEX-Agents (Mercor) | 35.3% ↗ | not reported | — | — |
| DeepSWE v1.1 (Datacurve) | 11.7% ↗ | not reported | — | — |
| EBR-bench (Epoch AI run) | 14.3% ↗epoch run | not reported | — | — |
| FrontierMath Tier 4 v2 (Epoch AI run) | 26.8% ↗epoch run | not reported | — | — |
| FrontierMath Tiers 1-3 v2 (Epoch AI run) | 59.6% ↗epoch run | not reported | — | — |
| Furniture Assembly (Epoch AI run) | 26.7% ↗epoch run | not reported | — | — |
| GSO Opt@1 (GSO) | 21.6% ↗ | not reported | — | — |
| LiveBench Agentic Coding (LiveBench) | 44.1% ↗ | not reported | — | — |
| LiveBench Coding (LiveBench) | 76.5% ↗ | not reported | — | — |
| LiveBench Data Analysis (LiveBench) | 78.5% ↗ | not reported | — | — |
| LiveBench Instruction Following (LiveBench) | 79.1% ↗ | not reported | — | — |
| LiveBench Language (LiveBench) | 85.4% ↗ | not reported | — | — |
| LiveBench Mathematics (LiveBench) | 91% ↗ | not reported | — | — |
| LiveBench Reasoning (LiveBench) | 84% ↗ | not reported | — | — |
| LMArena Agent (LMArena) | -0.0771 ↗ | not reported | — | — |
| LMArena WebDev (LMArena) | 1446.2 ↗ | not reported | — | — |
| MirrorCode (Epoch AI run) | 8.9% ↗epoch run | not reported | — | — |
| Mystery Game Puzzles (Epoch AI run) | 34% ↗epoch run | not reported | — | — |
| SimpleQA Verified | 73.5% ↗epoch run | not reported | — | — |
| SWE-Bench Pro | 54.2% ↗ | not reported | — | — |
| SWE-bench Verified (Epoch AI run) | 75.6% ↗epoch run | not reported | — | — |
| tau2-bench Banking Knowledge (Sierra) | 26% ↗ | not reported | — | — |
| Terminal-Bench 4.0 (Vals AI) | 2.5% ↗ | not reported | — | — |
| Toolathlon-Verified (HKUST) | 61.1% ↗ | not reported | — | — |
| Vending-Bench 2 (Andon Labs) | 3774.25 ↗ | not reported | — | — |
| Only Grok 4 reports · 7 | ||||
| AIME 2025 | not reported | 91.7% ↗ | — | — |
| Humanity's Last Exam (no tools) | not reported | 25.4% ↗ | — | — |
| GPQA (no tools) | not reported | 87.5% ↗ | — | — |
| HMMT 2025 (no tools) | not reported | 90% ↗ | — | — |
| Humanity's Last Exam (with tools) | not reported | 38.6% ↗ | — | — |
| LiveCodeBench (Jan - May) | not reported | 79% ↗ | — | — |
| USAMO 2025 (no tools) | not reported | 37.5% ↗ | — | — |
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Gemini 3.1 Pro Preview minus Grok 4 in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing
Side by side
Official pricing pages and model cards| Spec | Gemini 3.1 Pro Preview | Grok 4 | Edge |
|---|---|---|---|
| Context window | 1.0M tokens | 256K tokens | Gemini 3.1 Pro Preview |
| Max output | 66K tokens | — | — |
| Input price / 1M | $2 ↗ | — | — |
| Output price / 1M | $12 ↗ | — | — |
| Cached input / 1M | $0.2 ↗ | — | — |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $14 | — | — |
| Modalities | text · vision · audio | text · vision | Gemini 3.1 Pro Preview |
| Released | 2026-02-19 | 2025-07-09 | — |
| Cited benchmark scores | 43 | 17 | — |
Reliability
Provider status
Live from /statusMore matchups
Gemini 3.1 Pro Preview vs …
Models sharing the most benchmarksMore matchups
Grok 4 vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Gemini 3.1 Pro Preview and Grok 4 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.