Model comparison
Gemma 4 31B IT vs GLM-5.1
GLM-5.1 is the stronger model overall, scoring 47.8 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 14× less per token, which makes it the better buy when GLM-5.1's lead doesn't matter for your workload.
Last verified . 27 shared benchmarks.
Summary
- They share 27 benchmarks with published results for both. Gemma 4 31B IT scores higher in 0 categories and GLM-5.1 in 8 categories; 6 gaps are clear of the uncertainty.
- The widest gap is in knowledge, where GLM-5.1 leads 54.9 to 37.9.
- The biggest single-benchmark swing is SimpleQA Verified: 10.4% for Gemma 4 31B IT and 34% for GLM-5.1.
- Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $1.40 / $4.40 for GLM-5.1.
- Gemma 4 31B IT accepts more context: 262K tokens versus 200K.
Side by side
| Gemma 4 31B IT | GLM-5.1 | |
|---|---|---|
| Provider | Z.ai (Zhipu) | |
| Noometry Index | 43.5 | 47.8 |
| Released | 2026-04-02 | 2026-04-07 |
| Weights | Open | Open |
| Context window | 262K | 200K |
| Max output | 33K | 131K |
| Input $ / M tokens | $0.09 | $1.40 |
| Output $ / M tokens | $0.34 | $4.40 |
| Results tracked | 35 | 41 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding GLM-5.1 leads
Gemma 4 31B IT: 42.3 (#108), GLM-5.1: 48.7 (#55)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| LMArena WebDev | 1366 | 1508 |
| SciCode | 43.4% | 43.8% |
| WeirdML | 52.3% | 57.1% |
| LMArena Coding | 1459 | 1485 |
| ALE-Bench | 925.5 | 887.1 |
| SWE-bench Verified | — | 74.2% |
Agentic & Tool Use Not comparable
Gemma 4 31B IT: —, GLM-5.1: 24.9 (#113)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| APEX-Agents | — | 40.9% |
| ExploitBench | — | 18.1% |
| GBAEval | — | 0% |
| Vending-Bench 2 | — | 5,634 |
Reasoning GLM-5.1 leads
Gemma 4 31B IT: 27.2 (#122), GLM-5.1: 39.1 (#60)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| NYT Connections (extended) | 70.6% | 77.7% |
| CritPt | 1.4% | 4.6% |
| Chess Puzzles | 5% | 19% |
| Thematic Generalization | 53% | 69.8% |
| LMArena Hard Prompts | 1448 | 1472 |
| Epoch Capabilities Index | 142.74 | 149.84 |
| SimpleBench | — | 55.1% |
| Kagi LLM Benchmark | 63.5% | — |
| DTBench | 82.7% | — |
| LMCA | 39.3% | — |
| Surface Evolver Bench | 30.6% | — |
Math GLM-5.1 leads
Gemma 4 31B IT: 43.2 (#81), GLM-5.1: 49.7 (#60)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 73.3% | 93.3% |
| LMArena Math | 1465 | 1473 |
| FrontierMath (Tiers 1-3) | — | 36.8% |
| MathArena Final-Answer Competitions | — | 67.1% |
| ProofBench | — | 22.2% |
| FrontierMath (Feb 2025 set) | — | 33.4% |
| FrontierMath Tier 4 (v1) | — | 12.5% |
Knowledge GLM-5.1 leads
Gemma 4 31B IT: 37.9 (#151), GLM-5.1: 54.9 (#50)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| GPQA Diamond | 75.8% | 89.9% |
| SimpleQA Verified | 10.4% | 34% |
| LMArena Expert | 1465 | 1476 |
| Vectara Hallucination Rate | 7.4% | — |
Multimodal Not comparable
Gemma 4 31B IT: 41.6 (#34), GLM-5.1: —
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| LMArena Vision | 1277 | — |
| LMArena Document | 1425 | — |
Multilingual GLM-5.1 leads
Gemma 4 31B IT: 53.8 (#57), GLM-5.1: 55.0 (#36)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| LMArena Non-English | 1431 | 1447 |
| LMArena Chinese | 1476 | 1515 |
| LMArena French | 1435 | 1474 |
| LMArena Russian | 1460 | 1454 |
| LMArena Spanish | 1444 | 1469 |
| LMArena German | — | 1465 |
| LMArena Japanese | — | 1434 |
| LMArena Korean | — | 1418 |
Instruction Following Too close to call
Gemma 4 31B IT: 75.5 (#61), GLM-5.1: 76.3 (#42)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| LMArena Instruction Following | 1433 | 1451 |
Long Context Too close to call
Gemma 4 31B IT: 44.2 (#71), GLM-5.1: 44.9 (#53)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| LMArena Longer Query | 1446 | 1466 |
Writing & Preference GLM-5.1 leads
Gemma 4 31B IT: 60.5 (#96), GLM-5.1: 66.9 (#31)
| Benchmark | Gemma 4 31B IT | GLM-5.1 |
|---|---|---|
| LMArena Text | 1443 | 1461 |
| LMArena Creative Writing | 1415 | 1453 |
| EQ-Bench Creative Writing | 1368 | 1592 |
| LMArena Multi-Turn | 1452 | 1472 |
| EQ-Bench 4 | 1120 | — |
Frequently asked questions
Is Gemma 4 31B IT better than GLM-5.1?
GLM-5.1 is the stronger model overall, scoring 47.8 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 14× less per token, which makes it the better buy when GLM-5.1's lead doesn't matter for your workload.
Which is cheaper, Gemma 4 31B IT or GLM-5.1?
Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; GLM-5.1 lists at $1.40 and $4.40.
Is Gemma 4 31B IT or GLM-5.1 better for coding?
GLM-5.1 scores higher on coding benchmarks: 48.7 versus 42.3 in the Noometry coding category.
Which has the bigger context window?
Gemma 4 31B IT does, with 262K tokens against 200K.
How many benchmarks do Gemma 4 31B IT and GLM-5.1 share?
27 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and GLM-5.1 has 41.