Gemma 4 31B (Reasoning) vs GLM-4.7-Flash (Reasoning)
Results updated 11 November 2026 · In Terminus-2 and Claude Code, so part of any gap can come from the harness · How we benchmark
Verdict
Gemma 4 31B (Reasoning) clearly beats GLM-4.7-Flash (Reasoning) by 14 points, and is cheaper and faster.
- Cost per task
- $0.015 vs $0.27
- Time per task
- 2.1 min vs 3.8 min
- Tokens per attempt
- 93k vs 1.34M
- Image input
- Yes vs No
Gemma 4 31B (Reasoning), Terminus-2 scores higher than GLM-4.7-Flash (Reasoning), Claude Code on all 3 evaluations scored for both. Gemma 4 31B (Reasoning), Terminus-2 is cheaper and faster: $0.015 against $0.27 per task, and 2.1 min against 3.8 min.
Where they differ most
By kind of work, share of tasks passed, 0 to 100 · Higher is better
| Kind of work | Gemma 4 31B (Reasoning) | GLM-4.7-Flash (Reasoning) |
|---|---|---|
| Making maps | 70 | 49 |
| Remote sensing and raster analysis | 59 | 42 |
| Change detection | 52 | 40 |
| Climate and time series | 47 | 38 |
Charts for each: Gemma 4 31B (Reasoning), Terminus-2 · GLM-4.7-Flash (Reasoning), Claude Code.
Side by side
| Metric | Gemma 4 31B (Reasoning), Terminus-2 | GLM-4.7-Flash (Reasoning), Claude Code |
|---|---|---|
| Geospatial Agent Index: Text only | 55 | 41 |
| Geospatial Agent Index: Text + vision | No data | No image input |
| Earth-Bench V2 score | 44 | 38 |
| GeoBenchX score | 61 | 39 |
| GS-QA2 score | 61 | 48 |
| Vision agents score | No data | No image input |
| GeoAgentBench score (Guided workflows; not in the Agent Index) | 83 | 30 |
| GeoAnalystBench score (Guided workflows; not in the Agent Index) | 63 | 26 |
| OGD4All score (standalone; in no index) | 85 | No data |
| GeoNatureAgent score (standalone; in no index) | 100 | No data |
| MultiGlobeQA score (standalone; in no index) | 30 | No data |
| GeoAgentEval score (standalone; in no index) | 88 | No data |
| ImpactMesh score (standalone; in no index) | No data | No data |
| Remote sensing and raster analysis score | 59 | 42 |
| Change detection score | 52 | 40 |
| GIS analysis score | 56 | 49 |
| Climate and time series score | 47 | 38 |
| Making maps score | 70 | 49 |
| Cost per task | $0.015 | $0.27 |
| Time per task (at 100 output tokens/s) | 2.1 min | 3.8 min |
| Tokens per attempt | 93k | 1.34M |
| Turns per attempt | 9.0 | 37.8 |
| Input price per 1M tokens | $0.17 | $0.070 |
| Output price per 1M tokens | $0.40 | $0.40 |
| Context window | 262,144 | 131,072 |
| Image input | Yes | No |
| Developer | Z.ai |
Frequently asked questions
Which scores higher on the Geospatial Agent Index, Gemma 4 31B (Reasoning), Terminus-2 or GLM-4.7-Flash (Reasoning), Claude Code?
Gemma 4 31B (Reasoning), Terminus-2, 55 to 41.
Which is cheaper per task, Gemma 4 31B (Reasoning), Terminus-2 or GLM-4.7-Flash (Reasoning), Claude Code?
Gemma 4 31B (Reasoning), Terminus-2, $0.015 to $0.27.
Which writes fewer output tokens per task, Gemma 4 31B (Reasoning), Terminus-2 or GLM-4.7-Flash (Reasoning), Claude Code?
Gemma 4 31B (Reasoning), Terminus-2, 8k to 15k.
Which has the larger context window, Gemma 4 31B (Reasoning), Terminus-2 or GLM-4.7-Flash (Reasoning), Claude Code?
Gemma 4 31B (Reasoning), Terminus-2, 262,144 tokens to 131,072 tokens.
