Model comparison
Gemini 3.1 Pro Preview vs Gemma 4 31B IT
Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 30× less per token, which makes it the better buy when Gemini 3.1 Pro Preview's lead doesn't matter for your workload.
Last verified . 33 shared benchmarks.
Summary
- They share 33 benchmarks with published results for both. Gemini 3.1 Pro Preview scores higher in 8 categories and Gemma 4 31B IT in 1 category; 8 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Gemini 3.1 Pro Preview leads 71.7 to 27.2.
- The biggest single-benchmark swing is SimpleQA Verified: 73.5% for Gemini 3.1 Pro Preview and 10.4% for Gemma 4 31B IT.
- Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $2 / $12 for Gemini 3.1 Pro Preview.
- Gemini 3.1 Pro Preview accepts more context: 1.05M tokens versus 262K.
- Gemma 4 31B IT has downloadable open weights; the other is API-only.
Side by side
| Gemini 3.1 Pro Preview | Gemma 4 31B IT | |
|---|---|---|
| Provider | ||
| Noometry Index | 56.7 | 43.5 |
| Released | 2026-02-19 | 2026-04-02 |
| Weights | Proprietary | Open |
| Context window | 1.05M | 262K |
| Max output | 66K | 33K |
| Input $ / M tokens | $2 | $0.09 |
| Output $ / M tokens | $12 | $0.34 |
| Results tracked | 71 | 35 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Too close to call
Gemini 3.1 Pro Preview: 42.5 (#99), Gemma 4 31B IT: 42.3 (#108)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| LMArena WebDev | 1447 | 1366 |
| SciCode | 58.9% | 43.4% |
| WeirdML | 72.1% | 52.3% |
| LMArena Coding | 1484 | 1459 |
| ALE-Bench | 1,161 | 925.5 |
| SWE-bench Verified | 75.6% | — |
| DeepSWE | 11.7% | — |
| GSO | 22.6% | — |
| MirrorCode | 8.9% | — |
| AlgoTune | 2.02 | — |
Agentic & Tool Use Not comparable
Gemini 3.1 Pro Preview: 37.7 (#34), Gemma 4 31B IT: —
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| Terminal-Bench | 80.2% | — |
| APEX-Agents | 35.3% | — |
| τ²-bench Banking | 26% | — |
| DeepResearch Bench | 47.8% | — |
| PostTrainBench | 22% | — |
| BALROG | 57% | — |
| ExploitBench | 26.1% | — |
| GBAEval | 0.8% | — |
| GDP.pdf | 17% | — |
| LMArena Search | 1211 | — |
| METR Time Horizons | 77% | — |
| Vending-Bench 2 | 3,774 | — |
Reasoning Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 71.7 (#12), Gemma 4 31B IT: 27.2 (#122)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| NYT Connections (extended) | 97.4% | 70.6% |
| CritPt | 17.7% | 1.4% |
| Chess Puzzles | 55% | 5% |
| Thematic Generalization | 79.4% | 53% |
| LMArena Hard Prompts | 1485 | 1448 |
| DTBench | 97.1% | 82.7% |
| LMCA | 53.8% | 39.3% |
| Epoch Capabilities Index | 154.77 | 142.74 |
| ARC-AGI-2 | 77.1% | — |
| SimpleBench | 79.6% | — |
| Kagi LLM Benchmark | — | 63.5% |
| ARC-AGI-1 | 98% | — |
| EnigmaEval | 36.8% | — |
| EBR-Bench | 14.3% | — |
| Mystery Game Puzzles | 34% | — |
| Surface Evolver Bench | — | 30.6% |
| ForecastBench | 59 | — |
Math Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 62.1 (#34), Gemma 4 31B IT: 43.2 (#81)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 95.6% | 73.3% |
| LMArena Math | 1485 | 1465 |
| FrontierMath (Tiers 1-3) | 59.6% | — |
| FrontierMath Tier 4 | 26.8% | — |
| MathArena Final-Answer Competitions | 86.5% | — |
| ProofBench | 26% | — |
| FrontierMath (Feb 2025 set) | 36.9% | — |
| FrontierMath Tier 4 (v1) | 16.7% | — |
Knowledge Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 71.8 (#3), Gemma 4 31B IT: 37.9 (#151)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| GPQA Diamond | 94.4% | 75.8% |
| SimpleQA Verified | 73.5% | 10.4% |
| Vectara Hallucination Rate | 10.4% | 7.4% |
| LMArena Expert | 1485 | 1465 |
| Humanity's Last Exam | 46.4% | — |
Multimodal Gemma 4 31B IT leads
Gemini 3.1 Pro Preview: 37.9 (#69), Gemma 4 31B IT: 41.6 (#34)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| LMArena Vision | 1296 | 1277 |
| LMArena Document | 1444 | 1425 |
| Blueprint-Bench 2 | 26.5% | — |
| Furniture Assembly | 26.7% | — |
Multilingual Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 57.0 (#12), Gemma 4 31B IT: 53.8 (#57)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| LMArena Non-English | 1477 | 1431 |
| LMArena Chinese | 1529 | 1476 |
| LMArena French | 1487 | 1435 |
| LMArena Russian | 1498 | 1460 |
| LMArena Spanish | 1479 | 1444 |
| LMArena German | 1491 | — |
| LMArena Japanese | 1493 | — |
| LMArena Korean | 1455 | — |
Instruction Following Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 77.0 (#32), Gemma 4 31B IT: 75.5 (#61)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| LMArena Instruction Following | 1466 | 1433 |
Long Context Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 47.4 (#18), Gemma 4 31B IT: 44.2 (#71)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| LMArena Longer Query | 1483 | 1446 |
| CL-bench | 20.8% | — |
| CL-bench Life | 16.9% | — |
Writing & Preference Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 66.1 (#37), Gemma 4 31B IT: 60.5 (#96)
| Benchmark | Gemini 3.1 Pro Preview | Gemma 4 31B IT |
|---|---|---|
| LMArena Text | 1481 | 1443 |
| LMArena Creative Writing | 1482 | 1415 |
| EQ-Bench Creative Writing | 1491 | 1368 |
| EQ-Bench 4 | 1142 | 1120 |
| LMArena Multi-Turn | 1488 | 1452 |
Frequently asked questions
Is Gemini 3.1 Pro Preview better than Gemma 4 31B IT?
Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 30× less per token, which makes it the better buy when Gemini 3.1 Pro Preview's lead doesn't matter for your workload.
Which is cheaper, Gemini 3.1 Pro Preview or Gemma 4 31B IT?
Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; Gemini 3.1 Pro Preview lists at $2 and $12.
Is Gemini 3.1 Pro Preview or Gemma 4 31B IT better for coding?
They score almost the same on coding (42.5 vs 42.3); test both on your own repository before choosing.
Which has the bigger context window?
Gemini 3.1 Pro Preview does, with 1.05M tokens against 262K.
How many benchmarks do Gemini 3.1 Pro Preview and Gemma 4 31B IT share?
33 benchmarks have published results for both models. Gemini 3.1 Pro Preview has 71 scored results on Noometry and Gemma 4 31B IT has 35.