# Opus 4.8 medium vs SWE-2 Max high

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/opus-4-8-medium-vs-swe-2-max-high
Source observed: 2026-11-19T11:08:22.755Z
Last checked: 2026-11-19T11:08:22.755+00:00
Indexed: 2026-11-19T11:18:04.152+00:00

---

# Opus 4.8 medium vs SWE-2 Max high

We compare Opus 4.8 medium and SWE-2 Max high as complete coding-agent setups on 24 merged changes from our private `Stet-AI/stet` repository. Opus used **claude-code** with **medium** reasoning; SWE-2 used **devin** with **high** reasoning.

## Summary

- **Quality:** Head-to-head results were 4 wins for Opus, 10 for SWE-2, 8 ties, and 2 undecided. The headline quality reading is shown as even/no clear difference.
- **Speed:** Opus was **2.9× faster**: 23.3 versus 68.3 minutes per task.
- **Cost:** Opus cost $7.68 per task in the side-by-side result. SWE-2 Max high cost was **not recorded**.

## Test scope and scores

We replayed 24 merged changes from private `Stet-AI/stet`, beginning each run from the repository state before the change. Repository tests and judges compared patches with the merged changes. Data: **November 19, 2026**. Both setups came from leaderboard run `bmk_d4ba310fdf50db4ccb2092e3`, containing 18 setups.

| Setup | Harness | Reasoning | Rank | Stet score | 95% range |
|---|---|---:|---:|---:|---:|
| Opus 4.8 medium | claude-code | medium | 13 of 18 | 46.8 | 38.0–55.7 |
| SWE-2 Max high | devin | high | 1 of 18 | 63.8 | 54.9–72.7 |

The 95% 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.

## Quality

Opus won 4 head-to-head matchups, SWE-2 won 10, 8 were tied, and 2 were undecided. SWE-2’s win share was 64%, with a 95% range of 49–78%. Ties are within judge noise.

| Metric | Opus 4.8 medium | SWE-2 Max high |
|---|---:|---:|
| Code review pass rate | 33% (24 tasks) | 33% (24 tasks) |
| Checklist score | 0.78 (24 tasks) | 0.84 (24 tasks) |
| Equivalence rate | 46% (24 tasks) | 54% (24 tasks) |

These additional measures are not part of the headline Stet score and have no confidence interval.

## Task by task

Opus solved 2 tasks SWE-2 did not; SWE-2 solved 4 Opus did not. Both solved 11 and neither solved 5. On the 11 tasks both solved, judges preferred SWE-2’s patch on 6, Opus’s on 2, and called 3 even.

### Only Opus solved

- `stet-43493c52` — 4 changed lines in 1 file; judges preferred Opus’s patch.
- `stet-commit-f8ae1177` — 1,312 changed lines in 9 files; judges preferred Opus’s patch.

### Only SWE-2 solved

- `stet-2450ca2d` — 2 changed lines in 1 file; judges preferred SWE-2’s patch.
- `stet-commit-5e075641` — 481 changed lines in 3 files; judges preferred SWE-2’s patch.
- `stet-commit-a8716b88` — 564 changed lines in 10 files; judges preferred SWE-2’s patch.
- `stet-commit-342d0ac0` — 640 changed lines in 8 files; judges preferred SWE-2’s patch.

### Both solved

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

### Neither solved

- `stet-commit-e928166f` — 149 changed lines in 2 files.
- `stet-commit-30506f8e` — 476 changed lines in 17 files.
- `stet-commit-87814583` — 763 changed lines in 8 files.
- `stet-commit-e41c2e2d` — 977 changed lines in 5 files.
- `stet-commit-2826765e` — 1,420 changed lines in 19 files.

Two of the 24 tasks are excluded from the detailed comparison because one setup has no scored result. A task is solved when tests pass or a judge finds the fix equivalent to the merged change. Stet score also weighs code quality.

## Cost and time

Opus cost per task averaged $7.46 with a $3.18 median. SWE-2 cost was not recorded. Opus finished faster on 17 of 22 compared tasks; SWE-2 finished faster on 5. Mean agent time was 23.8 minutes for Opus and 66.5 for SWE-2; medians were 17.3 and 38.8 minutes.

## Where each setup is the better choice

### Small fixes

Ten tasks covered 2–84 changed lines in 1–2 files. Both solved 9/10. Opus was 1.6× faster.

| | Opus | SWE-2 |
|---|---:|---:|
| Solved | 9/10 | 9/10 |
| Cost / task | $1.22 | not recorded |
| Agent time / task | 11.6 min | 18.4 min |

### Large, cross-cutting changes

Fourteen tasks covered 113–1,420 changed lines in up to 19 files. SWE-2 solved 6/12 versus Opus’s 4/12. Opus was 3.1× faster.

| | Opus | SWE-2 |
|---|---:|---:|
| Solved | 4/12 | 6/12 |
| Cost / task | $12.66 | not recorded |
| Agent time / task | 34.0 min | 106.6 min |

## Side by side

| Metric | Opus 4.8 medium | SWE-2 Max high |
|---|---|---|
| Harness | claude-code | devin |
| Reasoning effort | medium | high |
| Rank | 13 of 18 | 1 of 18 |
| Stet score | 46.8; 95% range 38.0–55.7 | 63.8; 95% range 54.9–72.7 |
| Solved | 13/24: 11 passed, 2 judged equivalent | 16/24: 13 passed, 3 judged equivalent |
| Cost / task | $7.68 | not recorded |
| Agent time / task | 23.3 min | 68.3 min |

## Questions

**Which is better for coding?** Head-to-head results were 10 SWE-2 wins, 4 Opus wins, 8 ties, and 2 undecided. Opus was 2.9× faster; SWE-2 cost was not recorded. Results come from 24 merged changes in `Stet-AI/stet`.

**How were they tested?** Both agents worked on the same merged changes from the private repository, from the real state before each change. Repository tests and judges graded each patch against the merged change; no public benchmark scores were used.

## See which setup wins on your repo

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

## Research links

- [Cost per successful task ranked the coding agent that lost every head to head 1st](https://www.stet.sh/blog/cost-per-successful-task)
- [GLM 5.2 vs Composer 2.5 on 50 real Go and Rust PRs: last on quality, and not the cheapest](https://www.stet.sh/blog/glm-5-2-passes-tests-fails-review)
- [Composer 2.5 vs Opus 4.8 vs GPT-5.5 vs Opus 4.7 - 50 Real PRs in Go and Rust](https://www.stet.sh/blog/opus-48-vs-gpt-55-vs-opus-47-vs-composer-25)
- [See all 18 setups](https://www.stet.sh/leaderboard)
- [How Stet measures](https://www.stet.sh/methodology)

## More comparisons

- [Opus 4.8 medium vs GLM 5.3 Flash high](https://www.stet.sh/leaderboard/compare/glm-5-3-flash-high-vs-opus-4-8-medium)
- [Opus 4.8 medium vs GPT 5.6 Luna max](https://www.stet.sh/leaderboard/compare/gpt-5-6-luna-max-vs-opus-4-8-medium)
- [Opus 4.8 medium vs Muse Spark 1.3 high](https://www.stet.sh/leaderboard/compare/muse-spark-1-3-high-vs-opus-4-8-medium)
- [Opus 4.8 medium vs GPT 6 Luna max](https://www.stet.sh/leaderboard/compare/gpt-6-luna-max-vs-opus-4-8-medium)
- [Opus 4.8 medium vs Haiku 5.5 max](https://www.stet.sh/leaderboard/compare/haiku-5-5-max-vs-opus-4-8-medium)
- [SWE-2 Max high vs Opus 5 medium](https://www.stet.sh/leaderboard/compare/opus-5-medium-vs-swe-2-max-high)
- [SWE-2 Max high vs Muse Wonder Full low](https://www.stet.sh/leaderboard/compare/muse-wonder-full-low-vs-swe-2-max-high)
- [SWE-2 Max high vs GPT 6.1 Sol medium](https://www.stet.sh/leaderboard/compare/gpt-6-1-sol-medium-vs-swe-2-max-high)
- [SWE-2 Max high vs GPT 6 Sol medium](https://www.stet.sh/leaderboard/compare/gpt-6-sol-medium-vs-swe-2-max-high)
- [SWE-2 Max high vs Grok 4.7 high](https://www.stet.sh/leaderboard/compare/grok-4-7-high-vs-swe-2-max-high)
- [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%2Fopus-4-8-medium-vs-swe-2-max-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%2Fopus-4-8-medium-vs-swe-2-max-high). Opening a form does not execute a tool.