GLM-5.2 (max) vs GPT-6 Luna (xhigh)
Results updated 15 October 2026 · In Claude Code and Codex, so part of any gap can come from the harness · How we benchmark
Verdict
GLM-5.2 (max) edges GPT-6 Luna (xhigh) by 1 point; GPT-6 Luna (xhigh) is cheaper and faster.
- Cost per task
- $0.34 vs $0.0070
- Time per task
- 6.3 min vs 1.4 min
- Tokens per attempt
- 617k vs 182k
- Image input
- No vs Yes
GLM-5.2 (max), Claude Code scores higher on Earth-Bench V2 and GS-QA2; GPT-6 Luna (xhigh), Codex scores higher on GeoBenchX. GPT-6 Luna (xhigh), Codex is cheaper and faster: $0.0070 against $0.34 per task, and 1.4 min against 6.3 min.
Where they differ most
By kind of work, share of tasks passed, 0 to 100 · Higher is better
| Kind of work | GLM-5.2 (max) | GPT-6 Luna (xhigh) |
|---|---|---|
| Making maps | 84 | 72 |
| Change detection | 68 | 60 |
| Remote sensing and raster analysis | 82 | 75 |
| GIS analysis | 81 | 78 |
Charts for each: GLM-5.2 (max), Claude Code · GPT-6 Luna (xhigh), Codex.
Side by side
| Metric | GLM-5.2 (max), Claude Code | GPT-6 Luna (xhigh), Codex |
|---|---|---|
| Spatial Agent Index: Text only | 74 | 73 |
| Spatial Agent Index: Text + vision | No image input | 72 |
| Earth-Bench V2 score | 71 | 67 |
| GeoBenchX score | 67 | 73 |
| GS-QA2 score | 83 | 78 |
| Vision agents score | No image input | 70 |
| GeoAgentBench score (Guided workflows; not in the Agent Index) | No data | 96 |
| GeoAnalystBench score (Guided workflows; not in the Agent Index) | No data | 100 |
| OGD4All score (standalone; in no index) | No data | No data |
| GeoNatureAgent score (standalone; in no index) | No data | No data |
| MultiGlobeQA score (standalone; in no index) | No data | No data |
| GeoAgentEval score (standalone; in no index) | No data | No data |
| OpenEarthAgent Maps score (standalone; in no index) | No data | No data |
| OpenEarthAgent Sentinel-2 score (standalone; in no index) | No data | No data |
| GS-QA2 Full score (standalone; in no index) | No data | No data |
| Place and coordinate tasks score (standalone; in no index) | No data | No data |
| InSAR Regional Snow Mapping score (standalone; in no index) | No data | No data |
| Remote sensing and raster analysis score | 82 | 75 |
| Change detection score | 68 | 60 |
| GIS analysis score | 81 | 78 |
| Climate and time series score | 71 | 74 |
| Making maps score | 84 | 72 |
| Cost per task | $0.34 | $0.0070 |
| Time per task (at 100 output tokens/s) | 6.3 min | 1.4 min |
| Tokens per attempt | 617k | 182k |
| Turns per attempt | 15.4 | 8.8 |
| Input price per 1M tokens | $1.40 | $0.10 |
| Output price per 1M tokens | $4.40 | $0.50 |
| Context window | 262,144 | 1,050,000 |
| Image input | No | Yes |
| Developer | Z.ai | OpenAI |
Frequently asked questions
Which scores higher on the Spatial Agent Index, GLM-5.2 (max), Claude Code or GPT-6 Luna (xhigh), Codex?
GLM-5.2 (max), Claude Code, 74 to 73.
Which is cheaper per task, GLM-5.2 (max), Claude Code or GPT-6 Luna (xhigh), Codex?
GPT-6 Luna (xhigh), Codex, $0.0070 to $0.34.
Which writes fewer output tokens per task, GLM-5.2 (max), Claude Code or GPT-6 Luna (xhigh), Codex?
GPT-6 Luna (xhigh), Codex, 6k to 28k.
Which has the larger context window, GLM-5.2 (max), Claude Code or GPT-6 Luna (xhigh), Codex?
GPT-6 Luna (xhigh), Codex, 1,050,000 tokens to 262,144 tokens.
