# GPT 5.6 Luna max vs Grok 4.7 high: real-repo coding test

Stet publishes a public search API over its indexed pages; the guide is at https://www.stet.sh/agents/agent-access.

Source: https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-max-vs-grok-4-7-high
Source observed: 2026-11-19T11:08:38.177Z
Last checked: 2026-11-19T11:08:38.177+00:00
Indexed: 2026-11-19T11:14:10.738+00:00

---

# GPT 5.6 Luna max vs Grok 4.7 high

Grok 4.7 high leads on speed; GPT 5.6 Luna max leads on cost; we found no clear quality difference. This compares complete setups, not models alone: GPT 5.6 Luna max ran in `codex` with max reasoning, while Grok 4.7 high ran in `cursor` with high reasoning.

## At a glance

| Measure | Result |
|---|---|
| Quality | Even: GPT 5.6 Luna max won 1 head-to-head, Grok 4.7 high won 4, and 19 were tied. |
| Speed | Grok 4.7 high was 1.5× faster: 18.9 versus 28.5 minutes per task. |
| Cost | GPT 5.6 Luna max was 7.0× cheaper: $0.90 versus $6.28 per task; the $6.28 figure uses 22/24 tasks. |

## What we compared

- **1 real repository:** private `Stet-AI/stet`; these are not public benchmark scores.
- **24 merged changes:** each setup ran end to end from the repository state immediately before the change.
- **Grading:** the repository’s tests and judges compared every patch with the merged change.
- **Measures:** quality, cost, and time. This is a smaller sample than public benchmarks, but it is real agent work on a real codebase.

[GPT 5.6 Luna vs Grok 4.7: all effort pairings](https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-vs-grok-4-7)

Data: November 19, 2026 · 24 tasks.

## Stet score

The Stet score is a setup’s average chance of beating another setup on a task, from 0 to 100; 50 is even with the field.

| Setup | Harness and reasoning | Rank | Score and 95% range |
|---|---|---:|---|
| GPT 5.6 Luna max | `codex`, max | 14 of 18 | 46.7; 40.6–52.6 |
| Grok 4.7 high | `cursor`, high | 6 of 18 | 52.7; 45.4–59.9 |

The 95% score ranges overlap.

## Quality

### Head-to-head matchups

- GPT 5.6 Luna max won **1**.
- **19** were tied.
- Grok 4.7 high won **4**.
- Grok 4.7 high’s win share was 55%, with a 95% range of 47–64%.

Ties are within judge noise.

### Other quality measures

These measures are not part of the headline Stet score and have no confidence interval. A higher recorded value is not a proven lead.

| Metric | GPT 5.6 Luna max | Grok 4.7 high |
|---|---:|---:|
| Code review pass rate | 38% (24 tasks) | 39% (23 tasks) |
| Checklist score | 0.86 (24 tasks) | 0.84 (24 tasks) |
| Equivalence rate | 38% (24 tasks) | 39% (23 tasks) |

## Task by task

GPT 5.6 Luna max solved 1 task that Grok 4.7 high did not; Grok 4.7 high solved 2 that GPT 5.6 Luna max did not. Both solved 9, and neither solved 12. Of the 9 solved by both, judges preferred Grok 4.7 high’s patch on 2 and called 7 even.

### Only GPT 5.6 Luna max solved

- `stet-43493c52`: 4 changed lines in 1 file; judges preferred GPT 5.6 Luna max’s patch.

### Only Grok 4.7 high solved

- `stet-2450ca2d`: 2 changed lines in 1 file; judges preferred Grok 4.7 high’s patch.
- `stet-commit-f8ae1177`: 1,312 changed lines in 9 files; judges preferred Grok 4.7 high’s patch.

### Both solved

- `stet-3169aefa`: 6 changed lines in 1 file.
- `stet-89dfbc27`: 9 changed lines in 1 file.
- `stet-232b50ba`: 10 changed lines in 1 file.
- `stet-5276aa3f`: 23 changed lines in 2 files.
- `stet-b28f4fe7`: 29 changed lines in 1 file.
- `stet-66762b4c`: 84 changed lines in 1 file; judges preferred Grok 4.7 high’s patch.
- `stet-commit-f0caded9`: 113 changed lines in 4 files.
- `stet-commit-5d766dde`: 218 changed lines in 2 files.
- `stet-commit-bbbbae09`: 941 changed lines in 7 files; judges preferred Grok 4.7 high’s patch.

### Neither solved

- `stet-15439c21`: 5 changed lines in 2 files.
- `stet-6f84e978`: 23 changed lines in 1 file.
- `stet-commit-e928166f`: 149 changed lines in 2 files.
- `stet-commit-30506f8e`: 476 changed lines in 17 files.
- `stet-commit-5e075641`: 481 changed lines in 3 files.
- `stet-commit-60a0e6c2`: 552 changed lines in 11 files.
- `stet-commit-a8716b88`: 564 changed lines in 10 files.
- `stet-commit-342d0ac0`: 640 changed lines in 8 files.
- `stet-commit-87814583`: 763 changed lines in 8 files.
- `stet-commit-e41c2e2d`: 977 changed lines in 5 files.
- `stet-commit-d2ab0c25`: 1,236 changed lines in 16 files.
- `stet-commit-2826765e`: 1,420 changed lines in 19 files.

A task counts as solved when its tests passed or a judge found the fix equivalent to the merged change. Stet score also weighs code quality, so it can order the two differently.

## All 24 compared tasks

| Task | GPT 5.6 Luna max | Grok 4.7 high | Solved by | Better patch |
|---|---|---|---|---|
| `stet-89dfbc27` · 9 lines, 1 file | Passed tests · $0.25 · 6.8 min | Passed tests · $1.08 · 5.8 min | Both | Even |
| `stet-b28f4fe7` · 29 lines, 1 file | Passed tests · $0.54 · 12.2 min | Passed tests · $1.64 · 7.2 min | Both | Even |
| `stet-232b50ba` · 10 lines, 1 file | Passed tests · $0.26 · 16.0 min | Passed tests · $1.88 · 6.5 min | Both | Even |
| `stet-3169aefa` · 6 lines, 1 file | Passed tests · $0.10 · 3.8 min | Passed tests · $0.91 · 2.9 min | Both | Even |
| `stet-5276aa3f` · 23 lines, 2 files | Passed tests · $0.18 · 5.8 min | Passed tests · $0.70 · 3.9 min | Both | Even |
| `stet-66762b4c` · 84 lines, 1 file | Equivalent to merged fix · $0.08 · 4.9 min | Passed tests · $1.62 · 8.3 min | Both | Grok 4.7 high |
| `stet-commit-bbbbae09` · 941 lines, 7 files | Passed tests · $1.21 · 41.6 min | Passed tests · $7.12 ·  ? | Both | Grok 4.7 high |
| `stet-commit-5d766dde` · 218 lines, 2 files | Equivalent · $0.48 · 19.3 min | Equivalent · $2.96 · 11.9 min | Both | Even |
| `stet-43493c52` · 4 lines, 1 file | Passed tests · $0.14 · 7.3 min | Failed · $2.53 · 12.3 min | GPT only | GPT 5.6 Luna max |
| `stet-commit-f0caded9` · 113 lines, 4 files | Equivalent · $0.90 · 25.2 min | Equivalent · $2.29 · 12.5 min | Both | Even |
| `stet-15439c21` · 5 lines, 2 files | Failed · $0.14 · 17.9 min | Failed · $1.05 · 3.6 min | Neither | Even |
| `stet-commit-f8ae1177` · 1,312 lines, 9 files | Failed · $1.38 · 52.9 min | Passed tests · $13.89 · 27.8 min | Grok only | Grok 4.7 high |
| `stet-2450ca2d` · 2 lines, 1 file | Failed · $0.09 · 9.1 min | Passed tests · $1.29 · 6.0 min | Grok only | Grok 4.7 high |
| `stet-commit-342d0ac0` · 640 lines, 8 files | Failed · $2.15 · 66.8 min | Failed · $12.15 · 26.1 min | Neither | Even |
| `stet-6f84e978` · 23 lines, 1 file | Failed · $0.55 · 14.3 min | Failed · $3.84 · 18.2 min | Neither | Even |
| `stet-commit-5e075641` · 481 lines, 3 files | Failed · $0.99 · 34.4 min | Failed · $7.20 · 21.5 min | Neither | Even |
| `stet-commit-60a0e6c2` · 552 lines, 11 files | Failed · $0.84 · 26.4 min | Failed · $26.2 · 26.2 min | Neither | Even |
| `stet-commit-2826765e` · 1,420 lines, 19 files | Failed · $1.52 · 57.1 min | Failed · $11.83 · 26.4 min | Neither | Even |
| `stet-commit-a8716b88` · 564 lines, 10 files | Failed · $2.65 · 60.3 min | Failed · $15.70 · 30.6 min | Neither | Even |
| `stet-commit-e928166f` · 149 lines, 2 files | Failed · $1.25 · 37.4 min | Failed · $9.26 · 21.6 min | Neither | Even |
| `stet-commit-30506f8e` · 476 lines, 17 files | Failed · $2.47 · 54.8 min | Failed · $9.22 · 19.3 min | Neither | Even |
| `stet-commit-87814583` · 763 lines, 8 files | Failed · $1.17 · 40.8 min | Failed · $7.84 · 18.8 min | Neither | Even |
| `stet-commit-d2ab0c25` · 1,236 lines, 16 files | Failed · $1.27 · 36.4 min | Failed · $13.52 · 33.0 min | Neither | Even |
| `stet-commit-e41c2e2d` · 977 lines, 5 files | Failed · $0.93 · 32.4 min | Failed · $15.75 · 32.6 min | Neither | Even |

The source records Grok’s time for `stet-commit-bbbbae09` as 71.2 minutes but does not provide a cost; we omit that unsupported cost value.

## Cost and time

- GPT 5.6 Luna max: mean **$0.90**, median **$0.87** per task. It cost less on all 22 tasks with recorded costs for both setups.
- Grok 4.7 high: mean **$6.28**, median **$3.40**, from 22/24 tasks.
- GPT 5.6 Luna max: mean **28.5 minutes**, median **25.8 minutes**.
- Grok 4.7 high: mean **18.9 minutes**, median **18.5 minutes**; it finished faster on 19 of 24 tasks, versus 5 for GPT 5.6 Luna max.

## Where each setup may fit

These groups contain fewer tasks than the overall standings, so use them as leads to test on your repository.

### Small fixes

10 tasks, 2–84 changed lines in 1–2 files:

| Metric | GPT 5.6 Luna max | Grok 4.7 high |
|---|---:|---:|
| Solved | 7/10 | 7/10 |
| Cost per task | $0.23 | $1.65 |
| Agent time per task | 9.8 min | 7.5 min |

GPT 5.6 Luna max solved as many at 7.1× lower cost. Grok 4.7 high was 1.3× faster.

### Large, cross-cutting changes

14 tasks, 113–1,420 changed lines in up to 19 files:

| Metric | GPT 5.6 Luna max | Grok 4.7 high |
|---|---:|---:|
| Solved | 3/14 | 4/14 |
| Cost per task | $1.37 | $10.13 from 12/14 tasks |
| Agent time per task | 41.9 min | 27.1 min |

Grok 4.7 high solved one more task and was 1.5× faster.

## Side by side

| Metric | GPT 5.6 Luna max | Grok 4.7 high |
|---|---|---|
| Harness | codex | cursor |
| Reasoning effort | max | high |
| Rank | 14 of 18 | 6 of 18 |
| Stet score | 46.7; 95% range 40.6–52.6 | 52.7; 95% range 45.4–59.9 |
| Solved | 10/24: 7 passed, 3 judged equivalent | 11/24: 9 passed, 2 judged equivalent |
| Cost per task | $0.90 | $6.28 from 22/24 tasks |
| Agent time per task | 28.5 min | 18.9 min |

## Questions

**Which is better for coding?** We found no clear quality difference: Grok 4.7 high won 4, GPT 5.6 Luna max won 1, and 19 were tied. GPT 5.6 Luna max leads on cost at 7.0× cheaper; Grok 4.7 high leads on agent time at 1.5× faster.

**How did we test them?** Both coding agents worked on the same 24 merged changes from private `Stet-AI/stet`, each in the real repository state before the change. The repository’s tests and judges graded every patch against the merged change; we used no public benchmark scores.

## Test your own repository

We replay your merged changes, score quality above pass/fail, and deliver comparison reports through your agent. [Get started](https://www.stet.sh/private)

## About this data

- 24 tasks, each a merged change from private `Stet-AI/stet`, replayed from the state immediately before the change.
- Data from November 19, 2026.
- Both setups came from leaderboard run `bmk_d4ba310fdf50db4ccb2092e3` containing 18 setups.

[See all 18 setups on the leaderboard](https://www.stet.sh/leaderboard) · [How Stet measures](https://www.stet.sh/methodology)

### Related comparisons

- [GPT 5.6 Luna max vs Opus 4.8 medium](https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-max-vs-opus-4-8-medium)
- [GPT 5.6 Luna max vs GPT 6 Luna max](https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-max-vs-gpt-6-luna-max)
- [GPT 5.6 Luna max vs GLM 5.3 Flash high](https://www.stet.sh/leaderboard/compare/glm-5-3-flash-high-vs-gpt-5-6-luna-max)
- [GPT 5.6 Luna max vs Haiku 5.5 low](https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-max-vs-haiku-5-5-low)
- [GPT 5.6 Luna max vs Muse Spark 1.3 high](https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-max-vs-muse-spark-1-3-high)
- [Grok 4.7 high vs GPT 6 Sol medium](https://www.stet.sh/leaderboard/compare/gpt-6-sol-medium-vs-grok-4-7-high)
- [Grok 4.7 high vs Pareto 26.9 medium](https://www.stet.sh/leaderboard/compare/grok-4-7-high-vs-pareto-26-9-medium)
- [Grok 4.7 high vs GPT 6.1 Sol medium](https://www.stet.sh/leaderboard/compare/gpt-6-1-sol-medium-vs-grok-4-7-high)
- [Grok 4.7 high vs DeepSeek V4.1 Flash max](https://www.stet.sh/leaderboard/compare/deepseek-v4-1-flash-max-vs-grok-4-7-high)
- [Grok 4.7 high vs Muse Wonder Full low](https://www.stet.sh/leaderboard/compare/grok-4-7-high-vs-muse-wonder-full-low)
- [All 153 comparisons](https://www.stet.sh/leaderboard/compare)

---

[Read this page’s summary](https://www.stet.sh/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.stet.sh%2Fleaderboard%2Fcompare%2Fgpt-5-6-luna-max-vs-grok-4-7-high&trace=t_5da45423e484)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Stet’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.stet.sh/agents/agent/faq?q={question}&trace=t_5da45423e484`

[Tool guide and examples](https://www.stet.sh/agents/agent-access) · [OpenAPI](https://www.stet.sh/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.stet.sh/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.stet.sh%2Fleaderboard%2Fcompare%2Fgpt-5-6-luna-max-vs-grok-4-7-high). Opening a form does not execute a tool.