Models / Compare /Gemma 4 31B vs GLM 5.1
Head to head
Gemma 4 31B vs GLM 5.1
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 $3.04/M for GLM 5.1 (8.9× difference at the cheapest tracked provider).
- Gemma 4 31B takes 262K tokens of context vs 205K for GLM 5.1.
- GLM 5.1 scores 0.0044 on Arena Agent (IPS) vs -0.161 for Gemma 4 31B.
- GLM 5.1 scores 1518.4089 on Arena Coding vs 1498.1274 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 | Apr 3, 2026 |
| 20.6 GBest | 475.3 GBest | |
| Cheapest hosted | $0.10 / $0.34 per 1M (OpenRouter) | $0.97 / $3.04 per 1M (OpenRouter) |
| Tracked providers | 22 | 23 |
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.1 — our take
GLM 5.1 is a large downloadable text model from Z.AI with a permissive MIT licence and a 204,800-token request limit. Its strongest measured skill is coding, though creative writing lags well behind, and no active-parameter count is disclosed.
full breakdown →Need more columns? Use theinteractive comparison to add up to four models.