# Grok 4.7 high vs Opus 4.8 medium: real-repository coding comparison

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/grok-4-7-high-vs-opus-4-8-medium
Source observed: 2026-11-19T11:08:38.040Z
Last checked: 2026-11-19T11:08:38.04+00:00
Indexed: 2026-11-19T11:17:00.504+00:00

---

# Grok 4.7 high vs Opus 4.8 medium

We compare Grok 4.7 high through **cursor/high reasoning** with Opus 4.8 medium through **claude-code/medium reasoning** on real work from our private `Stet-AI/stet` repository. This compares complete setups, not models alone.

## At a glance

- **Quality:** No clear difference. Grok 4.7 high won 6 head-to-heads, Opus 4.8 medium won 3, and 13 were tied; 2 were undecided.
- **Speed:** Grok 4.7 high was **1.2× faster**: **18.9 min** versus **23.3 min per task**.
- **Cost:** Grok 4.7 high was **1.2× cheaper**: **$6.28** versus **$7.68 per task**. The $6.28 figure comes from 22/24 tasks.

## What we compared

- One private real repository: `Stet-AI/stet`.
- 24 merged changes, each run end to end from the repository state before the change.
- Grading by the repository’s tests and judges comparing each patch with the merged change.
- Quality, cost, and time on real coding work rather than public benchmark scores.

Data covers **November 19, 2026**.

## Stet score

| Setup | Harness | Reasoning | Rank | Stet score |
| --- | --- | --- | --- | --- |
| Grok 4.7 high | cursor | high | 6 of 18 | 52.7; 95% range 45.4–59.9 |
| Opus 4.8 medium | claude-code | medium | 13 of 18 | 46.8; 95% range 38.0–55.7 |

The 95% score ranges overlap.

## Quality

### Head-to-head matchups

- Grok 4.7 high won **6**.
- **13** were tied.
- **2** were undecided.
- Opus 4.8 medium won **3**.
- Grok 4.7 high’s win share was **55%**, with a 95% range of **41–68%**.

Ties are within judge noise.

### Other quality measures

| Metric | Grok 4.7 high | Opus 4.8 medium |
| --- | ---: | ---: |
| Code review pass rate | 39% — 23 tasks | 33% — 24 tasks |
| Checklist score | 0.84 — 24 tasks | 0.78 — 24 tasks |
| Equivalence rate | 39% — 23 tasks | 46% — 24 tasks |

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

## Task by task

Grok 4.7 high solved 1 task that Opus 4.8 medium did not. Opus 4.8 medium solved 3 that Grok 4.7 high did not. Both solved 10; neither solved 8. On the 10 tasks both solved, judges preferred Grok 4.7 high’s patch on 5 and called 5 even.

### Only Grok 4.7 high solved

- `stet-2450ca2d` — 2 changed lines in 1 file; judges preferred Grok 4.7 high’s patch.

### Only Opus 4.8 medium solved

- `stet-43493c52` — 4 changed lines in 1 file; judges preferred Opus 4.8 medium’s patch.
- `stet-15439c21` — 5 changed lines in 2 files; judges preferred Opus 4.8 medium’s patch.
- `stet-6f84e978` — 23 changed lines in 1 file; judges preferred Opus 4.8 medium’s patch.

### Both solved

- `stet-3169aefa` — 6 changed lines in 1 file.
- `stet-89dfbc27` — 9 changed lines in 1 file; judges preferred Grok 4.7 high’s patch.
- `stet-232b50ba` — 10 changed lines in 1 file; judges preferred Grok 4.7 high’s patch.
- `stet-5276aa3f` — 23 changed lines in 2 files.
- `stet-b28f4fe7` — 29 changed lines in 1 file; judges preferred Grok 4.7 high’s patch.
- `stet-66762b4c` — 84 changed lines in 1 file.
- `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.
- `stet-commit-f8ae1177` — 1,312 changed lines in 9 files; judges preferred Grok 4.7 high’s patch.

### Neither solved

- `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-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-2826765e` — 1,420 changed lines in 19 files.

Two of the 24 tasks are left out of the detailed comparison because one setup has no scored result on them. We count a task as solved when tests pass or a judge finds the fix equivalent to the merged change; the Stet score also weighs code quality.

### All 22 compared tasks

| Task | Grok 4.7 high | Opus 4.8 medium | Solved by | Better patch |
| --- | --- | --- | --- | --- |
| `stet-89dfbc27` · 9 lines, 1 file | Passed · $1.08 · 5.8 min | Passed · $0.83 · 11.6 min | Both | Grok 4.7 high |
| `stet-b28f4fe7` · 29 lines, 1 file | Passed · $1.64 · 7.2 min | Passed · $1.09 · 18.0 min | Both | Grok 4.7 high |
| `stet-232b50ba` · 10 lines, 1 file | Passed · $1.88 · 6.5 min | Passed · $1.43 · 9.1 min | Both | Grok 4.7 high |
| `stet-3169aefa` · 6 lines, 1 file | Passed · $0.91 · 2.9 min | Passed · $1.06 · 2.6 min | Both | Even |
| `stet-5276aa3f` · 23 lines, 2 files | Passed · $0.70 · 3.9 min | Passed · $1.15 · 6.7 min | Both | Even |
| `stet-66762b4c` · 84 lines, 1 file | Passed · $1.62 · 8.3 min | Passed · $1.94 · 26.5 min | Both | Even |
| `stet-commit-bbbbae09` · 941 lines, 7 files | Passed · 71.2 min | Passed · $12.48 · 29.1 min | Both | Grok 4.7 high |
| `stet-commit-5d766dde` · 218 lines, 2 files | Equivalent · $2.96 · 11.9 min | Equivalent · $3.10 · 9.9 min | Both | Even |
| `stet-43493c52` · 4 lines, 1 file | Failed · $2.53 · 12.3 min | Passed · $0.85 · 4.3 min | Opus only | Opus 4.8 medium |
| `stet-commit-f0caded9` · 113 lines, 4 files | Equivalent · $2.29 · 12.5 min | Equivalent · $4.29 · 39.9 min | Both | Even |
| `stet-15439c21` · 5 lines, 2 files | Failed · $1.05 · 3.6 min | Passed · $1.57 · 16.3 min | Opus only | Opus 4.8 medium |
| `stet-commit-f8ae1177` · 1,312 lines, 9 files | Passed · $13.89 · 27.8 min | Passed · $28.54 · 45.5 min | Both | Grok 4.7 high |
| `stet-2450ca2d` · 2 lines, 1 file | Passed · $1.29 · 6.0 min | Failed · $0.92 · 14.4 min | Grok only | Grok 4.7 high |
| `stet-commit-342d0ac0` · 640 lines, 8 files | Failed · $12.15 · 26.1 min | Failed · $10.51 · 60.2 min | Neither | Even |
| `stet-6f84e978` · 23 lines, 1 file | Failed · $3.84 · 18.2 min | Passed · $1.35 · 6.1 min | Opus only | Opus 4.8 medium |
| `stet-commit-5e075641` · 481 lines, 3 files | Failed · $7.20 · 21.5 min | Failed · $13.27 · 28.8 min | Neither | Even |
| `stet-commit-2826765e` · 1,420 lines, 19 files | Failed · $11.83 · 26.4 min | Failed · $18.37 · 63.2 min | Neither | Even |
| `stet-commit-a8716b88` · 564 lines, 10 files | Failed · $15.70 · 30.6 min | Failed · $26.24 · 38.3 min | Neither | Even |
| `stet-commit-e928166f` · 149 lines, 2 files | Failed · $9.26 · 21.6 min | Failed · $3.27 · 24.9 min | Neither | Even |
| `stet-commit-30506f8e` · 476 lines, 17 files | Failed · $9.22 · 19.3 min | Failed · $19.23 · 38.0 min | Neither | Even |
| `stet-commit-87814583` · 763 lines, 8 files | Failed · $7.84 · 18.8 min | Failed · $7.94 · 16.5 min | Neither | Even |
| `stet-commit-e41c2e2d` · 977 lines, 5 files | Failed · $15.75 · 32.6 min | Failed · $4.71 · 13.9 min | Neither | Even |

## Cost and time

- Grok 4.7 high: mean **$5.93**, median **$2.96**, from 21/22 tasks.
- Opus 4.8 medium: mean **$7.46**, median **$3.18**.
- Grok cost less on 12 of 21 tasks; Opus cost less on 9.
- Grok 4.7 high: mean **18.0 min**, median **15.3 min**.
- Opus 4.8 medium: mean **23.8 min**, median **17.3 min**.
- Grok finished faster on 15 of 22 tasks; Opus on 7.

## Where each setup may fit

These groups contain fewer tasks than the overall standings and are leads to test on your own repository.

### Small fixes

10 tasks, with 2–84 changed lines in 1–2 files. Opus solved 9/10 versus Grok’s 7/10 at **1.4× lower cost per task**. Grok was **1.5× faster**.

| Metric | Grok 4.7 high | Opus 4.8 medium |
| --- | ---: | ---: |
| Solved | 7/10 | 9/10 |
| Cost per task | $1.65 | $1.22 |
| Agent time per task | 7.5 min | 11.6 min |

### Large, cross-cutting changes

14 tasks, with 113–1,420 changed lines across up to 19 files. Both solved 4/12; Grok was **1.3× faster**.

| Metric | Grok 4.7 high | Opus 4.8 medium |
| --- | ---: | ---: |
| Solved | 4/12 | 4/12 |
| Cost per task | $9.83 from 11/12 tasks | $12.66 |
| Agent time per task | 26.7 min | 34.0 min |

## Side by side

| Metric | Grok 4.7 high | Opus 4.8 medium |
| --- | --- | --- |
| Harness | cursor | claude-code |
| Reasoning effort | high | medium |
| Rank | 6 of 18 | 13 of 18 |
| Stet score | 52.7; 95% range 45.4–59.9 | 46.8; 95% range 38.0–55.7 |
| Solved | 11/24: 9 passed, 2 judged equivalent | 13/24: 11 passed, 2 judged equivalent |
| Cost per task | $6.28 from 22/24 tasks | $7.68 |
| Agent time per task | 18.9 min | 23.3 min |

## Questions

**Which is better for coding?** There is no clear quality difference: Grok 4.7 high won 6, Opus 4.8 medium won 3, 13 were tied, and 2 were undecided. Grok was 1.2× cheaper and 1.2× faster.

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

## Run your own comparison

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 from private `Stet-AI/stet`, replayed from the repository state just before each 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)

---

[Read this page’s summary](https://www.stet.sh/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.stet.sh%2Fleaderboard%2Fcompare%2Fgrok-4-7-high-vs-opus-4-8-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%2Fgrok-4-7-high-vs-opus-4-8-medium). Opening a form does not execute a tool.