Models / Compare /Gemma 4 31B vs GLM 5
Head to head
Gemma 4 31B vs GLM 5
Compared on live catalog data — pricing synced daily, benchmark scores with provenance.
The short version
- Gemma 4 31B is cheaper to run hosted: $0.34/M output vs $2.55/M for GLM 5 (7.5× difference at the cheapest tracked provider).
- Gemma 4 31B takes 262K tokens of context vs 205K for GLM 5.
- Gemma 4 31B scores 1498.1274 on Arena Coding vs 1497.4049 for GLM 5.
- GLM 5 scores 1446.2097 on Arena Creative Writing vs 1420.5646 for Gemma 4 31B.
| Spec | ||
|---|---|---|
| Vendor | Z.AI | |
| Parameters | 32.7B | 754B |
| 262K | 205K | |
| Weights | OPEN | OPEN |
| License | Apache License 2.0 | MIT License |
| Modality | text+image+video->text | text->text |
| Released | Mar 11, 2026 | Feb 11, 2026 |
| 20.6 GBest | 475.3 GBest | |
| Cheapest hosted | $0.10 / $0.34 per 1M (OpenRouter) | $0.95 / $2.55 per 1M (OpenRouter) |
| Tracked providers | 22 | 17 |
Gemma 4 31B — our take
Gemma 4 is a 32.7-billion-parameter text, image and video model from Google with a permissive Apache licence. It scores consistently across six Arena categories, with coding as its relative standout, and is available from ten hosts with a wide spread in price and speed.
full breakdown →GLM 5 — our take
GLM 5 is a large downloadable text model from Z.AI with a permissive MIT licence and a 204,800-token request limit. It scores well on coding leaderboards and is available from nine different providers, though its total parameter count may overstate its actual per-token workload.
full breakdown →Need more columns? Use theinteractive comparison to add up to four models.