# GPT 5.6 Luna max vs Opus 5 medium

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-opus-5-medium
Source observed: 2026-11-19T11:08:42.610Z
Last checked: 2026-11-19T11:08:42.61+00:00
Indexed: 2026-11-19T11:14:40.993+00:00

---

# GPT 5.6 Luna max vs Opus 5 medium

We compare two coding-agent setups on real repository work. Opus 5 medium is faster; GPT 5.6 Luna max is cheaper; the headline quality result is even. The setups used different harnesses—GPT 5.6 Luna max with `codex` and max reasoning, and Opus 5 medium with `claude-code` and medium reasoning—so this compares setups, not models alone.

## Headline results

- **Quality:** No clear difference. GPT 5.6 Luna max won 2 head-to-head tasks, Opus 5 medium won 8, and 14 were tied. Ties are within judge noise.
- **Speed:** Opus 5 medium was 1.2× faster: 23.2 minutes versus 28.5 minutes per task.
- **Cost:** GPT 5.6 Luna max was 7.5× cheaper: $0.90 versus $6.78 per task.

## What we compared

- One private real repository: `Stet-AI/stet`; these are not public benchmark scores.
- 24 merged changes, each run end to end from the repository state just before the change.
- The repository’s tests and judges graded each patch against the merged change.
- We measure quality, cost, and time on real agent work; the sample is smaller than public benchmarks.

Data: November 19, 2026. [Compare all effort pairings](https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-vs-opus-5).

## Stet score and quality

| Metric | GPT 5.6 Luna max | Opus 5 medium |
|---|---:|---:|
| Harness | `codex` | `claude-code` |
| Reasoning effort | max | medium |
| Rank | 14 of 18 | 2 of 18 |
| Stet score | 46.7; 95% range 40.6–52.6 | 61.4; 95% range 52.6–70.3 |
| Solved | 10/24: 7 passed, 3 judged equivalent | 15/24: 13 passed, 2 judged equivalent |
| Cost / task | $0.90 | $6.78 |
| Agent time / task | 28.5 min | 23.2 min |

Their 95% score ranges overlap. 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.

### Other quality measures

| Metric | GPT 5.6 Luna max | Opus 5 medium |
|---|---:|---:|
| Code review pass rate | 38% — 24 tasks | 38% — 24 tasks |
| Checklist score | 0.86 — 24 tasks | 0.89 — 24 tasks |
| Equivalence rate | 38% — 24 tasks | 54% — 24 tasks |

These measures are outside the headline Stet score and have no confidence interval; a small gap may be noise.

## Task by task

GPT 5.6 Luna max solved 0 tasks that Opus 5 medium did not. Opus 5 medium solved 5 that GPT 5.6 Luna max did not. Both solved 10; neither solved 9. Among the 10 both solved, judges preferred Opus 5 medium’s patch on 3, GPT 5.6 Luna max’s on 2, and called 5 even.

### Only GPT 5.6 Luna max solved

None.

### Only Opus 5 medium solved

- 2 changed lines in 1 file — `stet-2450ca2d`; judges preferred Opus 5 medium’s patch
- 5 changed lines in 2 files — `stet-15439c21`; judges preferred Opus 5 medium’s patch
- 23 changed lines in 1 file — `stet-6f84e978`; judges preferred Opus 5 medium’s patch
- 1,312 changed lines in 9 files — `stet-commit-f8ae1177`; judges preferred Opus 5 medium’s patch
- 1,420 changed lines in 19 files — `stet-commit-2826765e`; judges preferred Opus 5 medium’s patch

### Both solved

- 4 lines, 1 file — `stet-43493c52`; GPT 5.6 Luna max patch preferred
- 6 lines, 1 file — `stet-3169aefa`
- 9 lines, 1 file — `stet-89dfbc27`
- 10 lines, 1 file — `stet-232b50ba`
- 23 lines, 2 files — `stet-5276aa3f`
- 29 lines, 1 file — `stet-b28f4fe7`; GPT 5.6 Luna max patch preferred
- 84 lines, 1 file — `stet-66762b4c`; Opus 5 medium patch preferred
- 113 lines, 4 files — `stet-commit-f0caded9`; Opus 5 medium patch preferred
- 218 lines, 2 files — `stet-commit-5d766dde`
- 941 lines, 7 files — `stet-commit-bbbbae09`; Opus 5 medium patch preferred

### Neither solved

- 149 lines, 2 files — `stet-commit-e928166f`
- 476 lines, 17 files — `stet-commit-30506f8e`
- 481 lines, 3 files — `stet-commit-5e075641`
- 552 lines, 11 files — `stet-commit-60a0e6c2`
- 564 lines, 10 files — `stet-commit-a8716b88`
- 640 lines, 8 files — `stet-commit-342d0ac0`
- 763 lines, 8 files — `stet-commit-87814583`
- 977 lines, 5 files — `stet-commit-e41c2e2d`
- 1,236 lines, 16 files — `stet-commit-d2ab0c25`

A task is solved when its tests pass or a judge finds the fix equivalent to the merged change. Stet score also weighs code quality, so it can order setups differently.

## Cost and time

- GPT 5.6 Luna max: mean $0.90, median $0.87. It cost less on all 24 tasks.
- Opus 5 medium: mean $6.78, median $4.50.
- GPT 5.6 Luna max: mean 28.5 minutes, median 25.8 minutes.
- Opus 5 medium: mean 23.2 minutes, median 25.0 minutes. Opus finished faster on 16 of 24 tasks; GPT 5.6 Luna max on 8.

### Small fixes

10 tasks, 2–84 changed lines in 1–2 files. Opus solved 10/10 versus 7/10; GPT 5.6 Luna max cost 4.5× less and was 1.8× faster.

|  | GPT 5.6 Luna max | Opus 5 medium |
|---|---:|---:|
| Solved | 7/10 | 10/10 |
| Cost / task | $0.23 | $1.05 |
| Agent time / task | 9.8 min | 17.7 min |

### Large, cross-cutting changes

14 tasks, 113–1,420 changed lines in up to 19 files. Opus solved 5/14 versus 3/14; GPT 5.6 Luna max cost 7.9× less, while Opus was 1.5× faster.

|  | GPT 5.6 Luna max | Opus 5 medium |
|---|---:|---:|
| Solved | 3/14 | 5/14 |
| Cost / task | $1.37 | $10.86 |
| Agent time / task | 41.9 min | 27.1 min |

## Questions

**Which is better for coding?** We found no clear quality difference: Opus 5 medium won 8, GPT 5.6 Luna max won 2, and 14 tied. GPT 5.6 Luna max leads on cost; Opus 5 medium leads on agent time.

**How did we test them?** Both agents worked on the same 24 merged changes in private `Stet-AI/stet`, each from the pre-change repository state. Repository tests and judges compared every patch with the merged change; we used no public benchmark scores.

## Use Stet on your repository

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

## Related links

- [See all 18 setups](https://www.stet.sh/leaderboard)
- [How Stet measures](https://www.stet.sh/methodology)
- [Cost per successful task ranked the coding agent that lost every head to head 1st](https://www.stet.sh/blog/cost-per-successful-task)
- [A benchmark mined from my own repo agreed with FrontierCode](https://www.stet.sh/blog/benchmark-agreed-with-frontier-code)
- [On 25 Stet Tasks, Opus 4.8 Wrote Smaller Patches. Opus 5 Searched Wider.](https://www.stet.sh/blog/opus-4-8-vs-opus-5-same-score-different-routes)
- [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-opus-5-medium&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-opus-5-medium). Opening a form does not execute a tool.