Claude Sonnet 5.5 (medium) vs GPT-6 Luna (xhigh)
Results updated 15 November 2026 · In Claude Code and Codex, so part of any gap can come from the harness · How we benchmark
Verdict
GPT-6 Luna (xhigh) edges Claude Sonnet 5.5 (medium) by 2 points, and is cheaper; Claude Sonnet 5.5 (medium) is faster.
- Cost per task
- $0.046 vs $0.0070
- Time per task
- 0.4 min vs 1.4 min
- Tokens per attempt
- 76k vs 182k
- Image input
- Yes vs Yes
Claude Sonnet 5.5 (medium), Claude Code scores higher on GeoBenchX and GS-QA2; GPT-6 Luna (xhigh), Codex scores higher on Earth-Bench V2. GPT-6 Luna (xhigh), Codex is cheaper ($0.0070 against $0.046 per task), but Claude Sonnet 5.5 (medium), Claude Code is faster (0.4 min against 1.4 min).
Where they differ most
By kind of work, share of tasks passed, 0 to 100 · Higher is better
| Kind of work | Claude Sonnet 5.5 (medium) | GPT-6 Luna (xhigh) |
|---|---|---|
| Climate and time series | 60 | 74 |
| Making maps | 79 | 72 |
| GIS analysis | 81 | 78 |
| Remote sensing and raster analysis | 73 | 75 |
Charts for each: Claude Sonnet 5.5 (medium), Claude Code · GPT-6 Luna (xhigh), Codex.
Side by side
| Metric | Claude Sonnet 5.5 (medium), Claude Code | GPT-6 Luna (xhigh), Codex |
|---|---|---|
| Spatial Agent Index: Text only | 71 | 73 |
| Spatial Agent Index: Text + vision | No data | 72 |
| Earth-Bench V2 score | 58 | 67 |
| GeoBenchX score | 76 | 73 |
| GS-QA2 score | 79 | 78 |
| Vision agents score | No data | 70 |
| GeoAgentBench score (Guided workflows; not in the Agent Index) | 98 | 96 |
| GeoAnalystBench score (Guided workflows; not in the Agent Index) | 95 | 100 |
| OGD4All score (standalone; in no index) | 96 | No data |
| GeoNatureAgent score (standalone; in no index) | 100 | No data |
| MultiGlobeQA score (standalone; in no index) | 74 | No data |
| GeoAgentEval score (standalone; in no index) | 96 | No data |
| OpenEarthAgent Maps score (standalone; in no index) | 99 | No data |
| OpenEarthAgent Sentinel-2 score (standalone; in no index) | 100 | No data |
| GS-QA2 Full score (standalone; in no index) | 77 | 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 | 73 | 75 |
| Change detection score | 60 | 60 |
| GIS analysis score | 81 | 78 |
| Climate and time series score | 60 | 74 |
| Making maps score | 79 | 72 |
| Cost per task | $0.046 | $0.0070 |
| Time per task (at 100 output tokens/s) | 0.4 min | 1.4 min |
| Tokens per attempt | 76k | 182k |
| Turns per attempt | 4.2 | 8.8 |
| Input price per 1M tokens | $2.00 | $0.10 |
| Output price per 1M tokens | $10.00 | $0.50 |
| Context window | 1,000,000 | 1,050,000 |
| Image input | Yes | Yes |
| Developer | Anthropic | OpenAI |
Frequently asked questions
Which scores higher on the Spatial Agent Index, Claude Sonnet 5.5 (medium), Claude Code or GPT-6 Luna (xhigh), Codex?
GPT-6 Luna (xhigh), Codex, 73 to 71.
Which is cheaper per task, Claude Sonnet 5.5 (medium), Claude Code or GPT-6 Luna (xhigh), Codex?
GPT-6 Luna (xhigh), Codex, $0.0070 to $0.046.
Which writes fewer output tokens per task, Claude Sonnet 5.5 (medium), Claude Code or GPT-6 Luna (xhigh), Codex?
Claude Sonnet 5.5 (medium), Claude Code, 1k to 6k.
Which has the larger context window, Claude Sonnet 5.5 (medium), Claude Code or GPT-6 Luna (xhigh), Codex?
GPT-6 Luna (xhigh), Codex, 1,050,000 tokens to 1,000,000 tokens.
