text model comparison
Gemma 4 31B vs Grok 4.20
Gemma 4 31B and Grok 4.20 are both current text models, from Google and xAI. On Arena Text, Gemma 4 31B scores 1443 Elo and Grok 4.20 1451 Elo (Arena, measured November 22, 2026), too close to call within their published rating ranges. On the Epoch Capabilities Index, which combines more than 50 benchmarks, Grok 4.20 scores 152.3 and Gemma 4 31B 144.1, a gap wider than their 90% credible intervals. Grok 4.20 has the larger context window, 1,000,000 vs 262,144 tokens.
- Arena Text
- Too close to call1443 Elo and 1451 Elo, ranges overlap
- Longer context window
- Grok 4.201M tokens against 262K tokens
- Newer release
- Gemma 4 31BApr 2026 against Mar 2026
Data verified November 23, 2026 · Dataset 2026-11-23
Side by side
Gemma 4 31B and Grok 4.20, line by line
Prices in effect today, compared at the same tier wherever both list one. The better value in each row is highlighted.
| Fact | Gemma 4 31B | Grok 4.20 |
|---|---|---|
| Price | ||
| Price per 1M input tokens | Not listed | $1.25 |
| Price per 1M output tokens | Not listed | $2.50 |
| Independent benchmarks | ||
| Arena TextToo close to call | 1443 Elo (#31 of 57)Range 1435 to 1450 | 1451 Elo (#24 of 57)Range 1448 to 1455 |
| Arena WebDevToo close to call | 1371 Elo (#50 of 53)Range 1365 to 1377 | 1376 Elo (#49 of 53)Range 1370 to 1382 |
| Epoch Capabilities Index | 144.1 points (#42 of 46)Range 141.7 to 146.6 | 152.3 points (#36 of 46) (better)Range 150.5 to 154.1 |
| GPQA Diamond | 75.8% (#40 of 44) | 89.3% (#35 of 44) (better) |
| SimpleQA Verified | 10.4% (#39 of 40) | 30.2% (#35 of 40) (better) |
| FrontierMath Tiers 1-3 (v2) | Not measured | 44.9% (#37 of 42) |
| Specs | ||
| Provider | xAI | |
| Release date | April 2, 2026 | March 10, 2026 |
| Access | open weights | API only |
| Context window | 262,144 tokens | 1,000,000 tokens |
| Max output | Not reported | Not reported |
| Input | text, image | text, image |
| Output | text | text |
Ranges under the scores are the publishers' own: published rating ranges from Arena and 90% credible intervals from Epoch AI. Where two ranges overlap, the gap is inside the measurement's own uncertainty, so the row says too close to call and neither score is highlighted or counted as a lead.
Charts
Against every current text model
Where Gemma 4 31B and Grok 4.20 land among the current models of their task, on every independent benchmark, on price and on context.
Where each stands
On Arena Text, Gemma 4 31B ranks #31 and Grok 4.20 #24 of 57 current models. Each bar is the share of current models it beats: on score, price and context.
Independent benchmarks
Arena Text
Gemma 4 31B:#31of 57
1,443 Elo · ahead of 46%
Published rating range 1,435 to 1,450
Grok 4.20:#24of 57
1,451 Elo · ahead of 59%
Published rating range 1,448 to 1,455
Arena WebDev
Gemma 4 31B:#50of 53
1,371 Elo · ahead of 6%
Published rating range 1,365 to 1,377
Grok 4.20:#49of 53
1,376 Elo · ahead of 8%
Published rating range 1,370 to 1,382
Epoch Capabilities Index
Gemma 4 31B:#42of 46
144.1 · ahead of 9%
90% credible interval 141.7 to 146.6
Grok 4.20:#36of 46
152.3 · ahead of 20%
90% credible interval 150.5 to 154.1
GPQA Diamond
Gemma 4 31B:#40of 44
75.8% · ahead of 9%
Grok 4.20:#35of 44
89.3% · ahead of 21%
FrontierMath Tiers 1-3 (v2)
Gemma 4 31B: Not scored
Grok 4.20:#37of 42
44.9% · ahead of 12%
Price and context
Price per 1M input tokens
Gemma 4 31B: Not listed
Grok 4.20:#31of 66
$1.25 · cheaper than 51%
Price per 1M output tokens
Gemma 4 31B: Not listed
Grok 4.20:#23of 66
$2.50 · cheaper than 62%
Context window
Gemma 4 31B:#69of 80
262K tokens · longer than 10%
Grok 4.20:#39of 80
1M tokens · longer than 22%
Quality against price
Grok 4.20 scores 1,451 at $1.56 (blended price per 1M tokens). The line joins the current models no other beats on both price and Arena Text score; hover any point to name it.
Quality against price: the data
| Model | Provider | Blended price per 1M tokens | Arena Text (Elo) |
|---|---|---|---|
| Gemini 4 Carbon | $4 | 1,539 | |
| Gemini 4 Argon | $4 | 1,528 | |
| Gemini 4 Neon | $6 | 1,523 | |
| Claude Opus 5.5 | Anthropic | $8 | 1,514 |
| Muse Wonder | Meta | $8 | 1,504 |
| Gemini 4 Hydrogen | $3 | 1,502 | |
| Gemini 3.8 Flash | $1.50 | 1,501 | |
| Muse Spark 1.3 | Meta | $2 | 1,493 |
| MiMo-V2.6-Pro | Xiaomi MiMo | $0.54 | 1,493 |
| Qwen3.8-Max | Alibaba Qwen | $3 | 1,485 |
| Gemini 3.6 Flash | $3 | 1,479 | |
| Claude Fable 5.2 | Anthropic | $16 | 1,477 |
| Kimi K3 | Moonshot Kimi | $6 | 1,475 |
| GLM-5.3 | Z.ai | $2.15 | 1,475 |
| GLM-5.3-Flash | Z.ai | $0.24 | 1,472 |
| GPT-5.5 | OpenAI | $11 | 1,471 |
| GPT-5.4 | OpenAI | $5.63 | 1,469 |
| Claude Sonnet 5.5 | Anthropic | $4 | 1,469 |
| Gemini 3 Flash Preview | $1.13 | 1,466 | |
| DeepSeek-V4.1-Flash | DeepSeek | $0.52 | 1,463 |
| Kimi K3.1 Pro | Moonshot Kimi | $4 | 1,459 |
| GPT-5.6 Sol | OpenAI | $8 | 1,457 |
| Grok 4.20 | xAI | $1.56 | 1,451 |
| MiMo-V2.6-Flash | Xiaomi MiMo | $0.18 | 1,450 |
| GPT-5.6 Terra | OpenAI | $4.50 | 1,449 |
| Grok 4.5 | xAI | $3 | 1,448 |
| GPT-6.1 Sol | OpenAI | $4 | 1,446 |
| DeepSeek-V4-Pro | DeepSeek | $1.98 | 1,445 |
| Step 5 Preview | StepFun | $1.43 | 1,444 |
| GPT-6 Astra | OpenAI | $20 | 1,441 |
| Gemini 3.5 Flash-Lite | $0.85 | 1,435 | |
| GPT-5.6 Luna | OpenAI | $0.45 | 1,431 |
| Grok 4.6 | xAI | $3 | 1,430 |
| Mistral Large 4 | Mistral AI | $1.05 | 1,414 |
| GPT-6.2 Sol | OpenAI | $4 | 1,414 |
| GPT-6.2 Astra | OpenAI | $16 | 1,413 |
| Inkling 2 Small | Thinking Machines Lab | $0.47 | 1,403 |
| Grok 4.7 | xAI | $3 | 1,401 |
| Claude Haiku 5.5 | Anthropic | $0.20 | 1,398 |
| GPT-6 Sol | OpenAI | $4 | 1,398 |
| Grok 4.3 | xAI | $1.56 | 1,397 |
| GPT-6 Luna | OpenAI | $0.20 | 1,391 |
| Solar Pro 4 | Upstage | $0.52 | 1,388 |
| GPT-4.1 | OpenAI | $3.50 | 1,383 |
| Inkling 2 Mini | Thinking Machines Lab | $0.24 | 1,344 |
| GPT-4.1 mini | OpenAI | $0.70 | 1,340 |
| GPT-4.1 nano | OpenAI | $0.18 | 1,285 |
Cost
What each costs
Example workloads at each provider's listed rates, then every other rate either one lists. The cheaper figure in each row is highlighted.
| Workload or rate | Gemma 4 31B | Grok 4.20 |
|---|---|---|
| Other listed rates | ||
| 1M input tokens, cached | Not listed | $0.20 |
Your own bill will differ. These figures use list prices and example workloads. The AI Model Cost Audit reviews your real usage, shortlists models that score as well for each task for less, and estimates the savings.
Launch price $100, regular price $150
Verdict
When to choose each
Gemma 4 31B
Where it leads
- Open weights you can run yourself
Best for
- Self-hosted chat and reasoning on one GPU
- Fine-tuning an Apache 2.0 dense base
Watch out for
- Self-hosted only here: no first-party per-token price is recorded
- No audio input (the smaller Gemma 4 models have it), and the context is 256K tokens
- Epoch AI ran it only at minimal reasoning: 75.8% on GPQA Diamond, against Google's 84.3%, and 10.4% on SimpleQA Verified; Arena places it well below Qwen3.8-27B on WebDev (1371 against 1590)
Grok 4.20
Where it leads
- Higher Epoch Capabilities Index score, 152.3 points vs 144.1 points
- Higher GPQA Diamond score, 89.3% vs 75.8%
- Higher SimpleQA Verified score, 30.2% vs 10.4%
- Larger context window 1,000,000 vs 262,144 tokens
- A cached-input rate, $0.20 per 1M tokens
Best for
- Comparing single-agent and multi-agent reasoning on long-context workloads
Watch out for
- The published base rates double when requests reach the provider's 200,000-token long-context threshold
From benchmark to production
Building on Gemma 4 31B or Grok 4.20?
Public scores rarely hold on your own data. We test both models on your real tasks, then build the agent or pipeline around the one that wins.
AI Model Cost AuditLaunch price $100, regular price $150
FAQ
Gemma 4 31B vs Grok 4.20 FAQ
Do Gemma 4 31B and Grok 4.20 discount cached input?
Grok 4.20 lists a cached-input rate of $0.20 per 1M tokens, 84% below its standard input rate. No cached-input rate is listed for Gemma 4 31B.
Which scores higher on independent benchmarks, Gemma 4 31B or Grok 4.20?
Gemma 4 31B and Grok 4.20 are level on Arena Text, 1443 Elo and 1451 Elo, inside overlapping published rating ranges (1435 to 1450 and 1448 to 1455); the two are level on Arena WebDev, 1371 Elo and 1376 Elo, inside overlapping published rating ranges (1365 to 1377 and 1370 to 1382); Grok 4.20 leads on the Epoch Capabilities Index, 152.3 points to 144.1 points. Scores are independent evaluations, not either vendor's launch figures.
Which has the larger context window, Gemma 4 31B or Grok 4.20?
Grok 4.20 has the larger context window, 1,000,000 vs 262,144 tokens.
Can I run Gemma 4 31B or Grok 4.20 myself?
Gemma 4 31B is released as open weights you can run yourself; Grok 4.20 is available through its provider's API only.
AI Model Brief
The AI models worth knowing, once a week
What shipped, how it scores on independent benchmarks, what it costs per million tokens and what was deprecated, from the data behind our AI model benchmarks.
We use your address only to send the brief. See our privacy policy.
See this week’s briefFurther reading
More on Gemma 4 31B and Grok 4.20
Articles on Gemma 4 31B and Grok 4.20
- Inkling 2 Mini vs Qwen3.8-27B vs Gemma 4 31BNovember 23, 2026
Related comparisons
- Gemini 3.1 Pro Preview vs Gemma 4 31B
- Claude Haiku 5.5 vs Grok 4.20
- Gemma 4 31B vs GPT-5.4
- Grok 4.20 vs Grok 4.7
- Gemma 4 31B vs GPT-5.5
- DeepSeek-V4.1-Flash vs Grok 4.20
- Gemma 4 31B vs Inkling 2 Mini
- Gemini 3.8 Flash vs Grok 4.20
- Gemma 4 31B vs Qwen3.8-27B
- GLM-5.3 vs Grok 4.20
- Gemini 3.1 Flash-Lite vs Gemma 4 31B
- DeepSeek-V4-Pro vs Grok 4.20
Production evaluation
Choosing between Gemma 4 31B and Grok 4.20?
Public benchmarks narrow the shortlist. We run both on your own tasks, data and cost limits, then build the routing and review controls to run the winner in production.
- A head-to-head evaluation on your real workload
- Routing between models by cost and difficulty
