token.app โบ Compare โบ Gemma 4 31B vs Grok 4.5
Gemma 4 31B vs Grok 4.5
Grok 4.5 leads on 3 of 3 shared benchmarks. Gemma 4 31B is 19ร cheaper per token on a blended 3:1 basis. Grok 4.5 accepts the larger context window (500K).
Head to head
Blended price uses a 3:1 input:output mix
| Gemma 4 31B | Grok 4.5 | |
|---|---|---|
| Provider | xAI | |
| Input $/1M | $0.100 | $2.00 |
| Output $/1M | $0.340 | $6.00 |
| Blended $/1M | $0.160 | $3.00 |
| Context window | 262K | 500K |
| Max output | 262K | โ |
| Released | Apr 2026 | Jul 2026 |
| Licence | Open weights | Proprietary |
| GPQA Diamond | 75.8% | 93.4% |
| SimpleQA Verified | 9.6% | 53.5% |
| OTIS Mock AIME | 73.3% | 97.8% |
Benchmark scores independently run and published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0. Only benchmarks with a score for BOTH models are compared.
Choose Gemma 4 31B ifโฆ
- Costs less per token โ $0.160 vs $3.00 blended
- Open weights โ self-hostable
Choose Grok 4.5 ifโฆ
- Higher GPQA Diamond (93.4% vs 75.8%)
- Higher SimpleQA Verified (53.5% vs 9.6%)
- Higher OTIS Mock AIME (97.8% vs 73.3%)
- Larger context window (500K)
- Newer model (released Jul 2026)
FAQ
Which is better, Gemma 4 31B or Grok 4.5?
Across the 3 benchmarks both models have independently-run scores for, Gemma 4 31B leads on 0 and Grok 4.5 leads on 3. Benchmarks are one input โ price and context window are on this page too.
Is Gemma 4 31B cheaper than Grok 4.5?
Gemma 4 31B is cheaper: $0.160 versus $3.00 per million tokens blended at 3:1 input:output. Input alone: $0.100 vs $2.00. Output alone: $0.340 vs $6.00.
What context windows do Gemma 4 31B and Grok 4.5 have?
Gemma 4 31B: 262,144 tokens. Grok 4.5: 500,000 tokens.
Who makes Gemma 4 31B and Grok 4.5?
Gemma 4 31B is made by Google. Grok 4.5 is made by xAI.