# Gemma 4 31B IT vs GLM-4.7-Flash

> Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 38.4 on the Noometry Index.

- Canonical page: https://noometry.com/compare/gemma-4-31b-it-vs-glm-4-7-flash
- Last updated: 2026-10-10
- Shared benchmarks: 19

## Summary

- They share 19 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and GLM-4.7-Flash in 0 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in writing & preference, where Gemma 4 31B IT leads 60.7 to 47.7.
- The biggest single-benchmark swing is GPQA Diamond: 75.8% for Gemma 4 31B IT and 60.5% for GLM-4.7-Flash.
- Both cost about the same: $0.09 input and $0.34 output per million tokens.
- Gemma 4 31B IT accepts more context: 262K tokens versus 200K.

## Snapshot

| | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| Provider | Google | Z.ai (Zhipu) |
| Noometry Index | 43.2 | 38.4 |
| Rank | 85 | 175 |
| Context | 262K | 200K |
| Input $/M | $0.09 | $0.06 |
| Output $/M | $0.34 | $0.40 |
| Weights | Open | Open |

## Coding

- Gemma 4 31B IT: 41.9 (#98)
- GLM-4.7-Flash: 40.0 (#133)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| LMArena Coding | 1459 | 1383 |
| LMArena WebDev | 1364 | — |
| SciCode | 43.4% | — |
| WeirdML | 52.3% | — |
| ALE-Bench | 925.5 | — |

## Reasoning

- Gemma 4 31B IT: 26.4 (#119)
- GLM-4.7-Flash: 20.2 (#224)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| Chess Puzzles | 5% | 0% |
| LMArena Hard Prompts | 1448 | 1356 |
| Kagi LLM Benchmark | 63.5% | — |
| NYT Connections (extended) | 70.6% | — |
| CritPt | 1.4% | — |
| Thematic Generalization | 53% | — |
| DTBench | 82.7% | — |
| LMCA | 39.3% | — |
| Surface Evolver Bench | 30.6% | — |
| Epoch Capabilities Index | 142.74 | — |

## Math

- Gemma 4 31B IT: 41.3 (#72)
- GLM-4.7-Flash: 34.4 (#159)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 73.3% | 58.3% |
| LMArena Math | 1464 | 1354 |

## Knowledge

- Gemma 4 31B IT: 37.9 (#141)
- GLM-4.7-Flash: 35.4 (#177)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| GPQA Diamond | 75.8% | 60.5% |
| Vectara Hallucination Rate | 7.4% | 9.3% |
| LMArena Expert | 1465 | 1357 |
| SimpleQA Verified | 10.4% | — |

## Multimodal

- Gemma 4 31B IT: 41.0 (#32)
- GLM-4.7-Flash: —

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| LMArena Vision | 1278 | — |
| LMArena Document | 1425 | — |

## Multilingual

- Gemma 4 31B IT: 54.0 (#52)
- GLM-4.7-Flash: 46.8 (#152)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| LMArena Non-English | 1431 | 1331 |
| LMArena Chinese | 1478 | 1403 |
| LMArena French | 1436 | 1332 |
| LMArena Russian | 1462 | 1333 |
| LMArena Spanish | 1443 | 1351 |
| LMArena German | — | 1336 |
| LMArena Korean | — | 1284 |

## Instruction Following

- Gemma 4 31B IT: 75.6 (#58)
- GLM-4.7-Flash: 70.3 (#162)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| LMArena Instruction Following | 1433 | 1327 |

## Long Context

- Gemma 4 31B IT: 44.2 (#67)
- GLM-4.7-Flash: 40.9 (#143)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| LMArena Longer Query | 1446 | 1345 |

## Writing & Preference

- Gemma 4 31B IT: 60.7 (#92)
- GLM-4.7-Flash: 47.7 (#206)

| Benchmark | Gemma 4 31B IT | GLM-4.7-Flash |
|---|---|---|
| LMArena Text | 1443 | 1351 |
| LMArena Creative Writing | 1416 | 1297 |
| EQ-Bench Creative Writing | 1368 | 1125 |
| LMArena Multi-Turn | 1452 | 1342 |
| EQ-Bench 4 | 1120 | — |

## FAQ

### Is Gemma 4 31B IT better than GLM-4.7-Flash?

Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 38.4 on the Noometry Index.

### Which is cheaper, Gemma 4 31B IT or GLM-4.7-Flash?

GLM-4.7-Flash is cheaper. It lists at $0.06 per million input tokens and $0.40 per million output tokens; Gemma 4 31B IT lists at $0.09 and $0.34.

### Is Gemma 4 31B IT or GLM-4.7-Flash better for coding?

Gemma 4 31B IT scores higher on coding benchmarks: 41.9 versus 40.0 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-4.7-Flash share?

19 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and GLM-4.7-Flash has 21.
