Gemma 4 31B IT vs Grok 4.5
Gemma 4 31B IT (Google DeepMind) and Grok 4.5 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.
- Grok 4.5 leads on overall intelligence (ECI 154 vs 142).
- Gemma 4 31B IT is cheaper on input tokens — $0.10 vs $2.00 per 1M.
- Grok 4.5 has a larger context window (500K vs 262K tokens).
- Grok 4.5 ranks higher for coding (91th vs 34th percentile).
| Attribute | Gemma 4 31B IT | Grok 4.5 |
|---|---|---|
| Scores | ||
| Intelligence (ECI) | 142 | 154 |
| Coding | 34 | 91 |
| Math | — | 85 |
| Reasoning & Knowledge | 26 | 70 |
| Agentic & Tools | — | 75 |
| Specifications | ||
| Developer | Google DeepMind | xAI |
| Family | Gemma | Grok |
| Released | Apr 2, 2026 | Jul 8, 2026 |
| Parameters | — | — |
| Availability | Open weights (restricted use) | API access |
| Context window | 262K | 500K |
| Price — $/M input | $0.10 | $2.00 |
| Price — $/M output | $0.35 | $6.00 |
| Inputs | image, text, video | text, image, file |
| Outputs | text | text |
| Benchmarks | ||
| SimpleQA Verified | 10% | 54% |
| WebDev Arena | 1380 | 1551 |
| WeirdML | 52% | 46% |
| AIME 2024/2025 | — | 98% |
| APEX | — | 34% |
| ARC-AGI | — | 87% |
| ARC-AGI-2 | — | 53% |
| GPQA Diamond | — | 93% |
| Humanity's Last Exam | — | 40% |
| SciCode | — | 54% |
| SimpleBench | — | 70% |
Use-case scores are 0–100 percentile composites across each area’s benchmarks, ranked against every model from the past year. Highlighted cells lead each row. Open a model for the full picture.
Frequently asked questions
Is Gemma 4 31B IT better than Grok 4.5?
On Epoch AI's Capabilities Index, Grok 4.5 scores higher (154) than Gemma 4 31B IT (142). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.
Which is cheaper, Gemma 4 31B IT or Grok 4.5?
Gemma 4 31B IT is cheaper on input tokens at $0.10 per million, versus $2.00 (representative OpenRouter pricing).
Which has a larger context window, Gemma 4 31B IT or Grok 4.5?
Grok 4.5 supports up to 500K tokens, compared with 262K for the other.
Which is better for coding, Gemma 4 31B IT or Grok 4.5?
Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.5 ranks higher — 91th vs 34th percentile among the models tracked on Model Beat.
Want a different match-up? Open the compare tool to add or swap models.
More comparisons
Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.