Gemma 4 31B (Reasoning) vs GPT-6 Luna (medium)
Results updated 11 November 2026 · In Terminus-2 and Codex, so part of any gap can come from the harness · How we benchmark
Verdict
GPT-6 Luna (medium) edges Gemma 4 31B (Reasoning) by 2 points, and is cheaper and faster.
- Cost per task
- $0.015 vs $0.0026
- Time per task
- 2.1 min vs 0.4 min
- Tokens per attempt
- 93k vs 86k
- Image input
- Yes vs Yes
Gemma 4 31B (Reasoning), Terminus-2 scores higher on GeoBenchX; GPT-6 Luna (medium), Codex scores higher on Earth-Bench V2 and GS-QA2. GPT-6 Luna (medium), Codex is cheaper and faster: $0.0026 against $0.015 per task, and 0.4 min against 2.1 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) | GPT-6 Luna (medium) |
|---|---|---|
| GIS analysis | 56 | 65 |
| Making maps | 70 | 75 |
| Remote sensing and raster analysis | 59 | 64 |
| Change detection | 52 | 48 |
Charts for each: Gemma 4 31B (Reasoning), Terminus-2 · GPT-6 Luna (medium), Codex.
Side by side
| Metric | Gemma 4 31B (Reasoning), Terminus-2 | GPT-6 Luna (medium), Codex |
|---|---|---|
| Geospatial Agent Index: Text only | 55 | 57 |
| Geospatial Agent Index: Text + vision | No data | 59 |
| Earth-Bench V2 score | 44 | 50 |
| GeoBenchX score | 61 | 57 |
| GS-QA2 score | 61 | 65 |
| Vision agents score | No data | 64 |
| GeoAgentBench score (Guided workflows; not in the Agent Index) | 83 | 94 |
| GeoAnalystBench score (Guided workflows; not in the Agent Index) | 63 | 89 |
| 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 | 64 |
| Change detection score | 52 | 48 |
| GIS analysis score | 56 | 65 |
| Climate and time series score | 47 | 48 |
| Making maps score | 70 | 75 |
| Cost per task | $0.015 | $0.0026 |
| Time per task (at 100 output tokens/s) | 2.1 min | 0.4 min |
| Tokens per attempt | 93k | 86k |
| Turns per attempt | 9.0 | 6.4 |
| Input price per 1M tokens | $0.17 | $0.10 |
| Output price per 1M tokens | $0.40 | $0.50 |
| Context window | 262,144 | 1,050,000 |
| Image input | Yes | Yes |
| Developer | OpenAI |
Frequently asked questions
Which scores higher on the Geospatial Agent Index, Gemma 4 31B (Reasoning), Terminus-2 or GPT-6 Luna (medium), Codex?
GPT-6 Luna (medium), Codex, 57 to 55.
Which is cheaper per task, Gemma 4 31B (Reasoning), Terminus-2 or GPT-6 Luna (medium), Codex?
GPT-6 Luna (medium), Codex, $0.0026 to $0.015.
Which writes fewer output tokens per task, Gemma 4 31B (Reasoning), Terminus-2 or GPT-6 Luna (medium), Codex?
GPT-6 Luna (medium), Codex, 1k to 8k.
Which has the larger context window, Gemma 4 31B (Reasoning), Terminus-2 or GPT-6 Luna (medium), Codex?
GPT-6 Luna (medium), Codex, 1,050,000 tokens to 262,144 tokens.
