# GPT 6 Sol medium vs Grok 4.7 high: real-repository 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-6-sol-medium-vs-grok-4-7-high
Source observed: 2026-11-19T11:08:21.607Z
Last checked: 2026-11-19T11:08:21.607+00:00
Indexed: 2026-11-19T11:18:44.214+00:00

---

# GPT 6 Sol medium vs Grok 4.7 high

我们比较两个不同 harness 的编码 agent 配置：GPT 6 Sol medium 在 `codex`、medium reasoning 中运行；Grok 4.7 high 在 `cursor`、high reasoning 中运行。因此结果比较的是 setups，不是模型单独的能力。

## Headline result

- **Quality:** 没有明确差异。GPT 6 Sol medium 赢 2 个 head-to-head，Grok 4.7 high 赢 2 个，20 个打平。
- **Speed:** GPT 6 Sol medium **1.2× faster**：15.4 versus 18.9 分钟 per task。
- **Cost:** GPT 6 Sol medium **2.1× cheaper**：$3.01 versus $6.28 per task；Grok 的 $6.28 来自 22/24 tasks。

## What this comparison is

- One private real repository: `Stet-AI/stet`; not public benchmark scores.
- 24 merged changes, each run end to end from the repository state before the change.
- Repository tests and judges comparing each patch with the merged change graded every result.
- We measured quality, cost, and time on real agent work; the sample is smaller than public benchmarks.

Data: November 19, 2026. Both setups came from leaderboard run `bmk_d4ba310fdf50db4ccb2092e3` of 18 setups.

## Stet score and rank

| Setup | Harness | Reasoning | Rank | Stet score | 95% range |
| --- | --- | --- | --- | --- | --- |
| GPT 6 Sol medium | `codex` | medium | 5 of 18 | 53.4% | 47.5–59.3 |
| Grok 4.7 high | `cursor` | high | 6 of 18 | 52.7% | 45.4–59.9 |

The score ranges overlap. Grok 4.7 high’s win share was 52%, with a 95% range of 43–60%; ties are within judge noise.

## Other quality measures

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

| Metric | GPT 6 Sol medium | Grok 4.7 high |
| --- | --- | --- |
| Code review pass rate | 35% — 23 tasks | 39% — 23 tasks |
| Checklist score | 0.86 — 24 tasks | 0.84 — 24 tasks |
| Equivalence rate | 43% — 23 tasks | 39% — 23 tasks |

The higher recorded value is not a proven lead.

## Task-by-task outcomes

GPT 6 Sol medium solved 2 tasks that Grok did not; Grok solved 1 that GPT did not. Both solved 10; neither solved 11. On the 10 tasks both solved, judges preferred Grok’s patch on 1 and called 9 even.

### Only GPT 6 Sol medium solved

- `stet-43493c52` — 4 changed lines in 1 file; judges preferred GPT’s patch.
- `stet-commit-342d0ac0` — 640 changed lines in 8 files; judges preferred GPT’s patch.

### Only Grok 4.7 high solved

- `stet-2450ca2d` — 2 changed lines in 1 file; judges preferred Grok’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.
- `stet-commit-f0caded9` — 113 changed lines in 4 files.
- `stet-commit-5d766dde` — 218 changed lines in 2 files; judges preferred Grok’s patch.
- `stet-commit-bbbbae09` — 941 changed lines in 7 files.
- `stet-commit-f8ae1177` — 1,312 changed lines in 9 files.

### 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-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 is solved when tests passed or a judge found the fix equivalent to the merged change. Stet score also weighs code quality.

## All 24 compared tasks

| Task | GPT 6 Sol medium | Grok 4.7 high | Solved by | Better patch |
| --- | --- | --- | --- | --- |
| `stet-89dfbc27` · 9 lines, 1 file | Passed; $0.41 · 13.6 min | Passed; $1.08 · 5.8 min | Both | Even |
| `stet-b28f4fe7` · 29 lines, 1 file | Passed; $0.55 · 3.5 min | Passed; $1.64 · 7.2 min | Both | Even |
| `stet-232b50ba` · 10 lines, 1 file | Passed; $0.72 · 3.9 min | Passed; $1.88 · 6.5 min | Both | Even |
| `stet-3169aefa` · 6 lines, 1 file | Passed; $0.40 · 3.2 min | Passed; $0.91 · 2.9 min | Both | Even |
| `stet-5276aa3f` · 23 lines, 2 files | Passed; $0.76 · 15.1 min | Passed; $0.70 · 3.9 min | Both | Even |
| `stet-66762b4c` · 84 lines, 1 file | Passed; $0.81 · 5.7 min | Passed; $1.62 · 8.3 min | Both | Even |
| `stet-commit-bbbbae09` · 941 lines, 7 files | Passed; $9.06 · 28.3 min | Passed; $0.00 not recorded · 71.2 min | Both | Even |
| `stet-commit-5d766dde` · 218 lines, 2 files | Equivalent; $1.27 · 8.6 min | Equivalent; $2.96 · 11.9 min | Both | Grok |
| `stet-43493c52` · 4 lines, 1 file | Passed; $0.81 · 4.7 min | Failed; $2.53 · 12.3 min | GPT only | GPT |
| `stet-commit-f0caded9` · 113 lines, 4 files | Equivalent; $1.38 · 7.7 min | Equivalent; $2.29 · 12.5 min | Both | Even |
| `stet-15439c21` · 5 lines, 2 files | Failed; $0.59 · 5.3 min | Failed; $1.05 · 3.6 min | Neither | Even |
| `stet-commit-f8ae1177` · 1,312 lines, 9 files | Passed; $11.32 · 35.9 min | Passed; $13.89 · 27.8 min | Both | Even |
| `stet-2450ca2d` · 2 lines, 1 file | Failed; $0.31 · 3.3 min | Passed; $1.29 · 6.0 min | Grok only | Grok |
| `stet-commit-342d0ac0` · 640 lines, 8 files | Equivalent; $2.62 · 14.0 min | Failed; $12.15 · 26.1 min | GPT only | GPT |
| `stet-6f84e978` · 23 lines, 1 file | Failed; $0.75 · 4.0 min | Failed; $3.84 · 18.2 min | Neither | Even |
| `stet-commit-5e075641` · 481 lines, 3 files | Failed; $3.01 · 15.7 min | Failed; $7.20 · 21.5 min | Neither | Even |
| `stet-commit-60a0e6c2` · 552 lines, 11 files | Failed; $5.08 · 17.2 min | Failed; $0.00 not recorded · 26.2 min | Neither | Even |
| `stet-commit-2826765e` · 1,420 lines, 19 files | Failed; $4.71 · 49.4 min | Failed; $11.83 · 26.4 min | Neither | Even |
| `stet-commit-a8716b88` · 564 lines, 10 files | Failed; $4.44 · 16.0 min | Failed; $15.70 · 30.6 min | Neither | Even |
| `stet-commit-e928166f` · 149 lines, 2 files | Failed; $2.10 · 10.0 min | Failed; $9.26 · 21.6 min | Neither | Even |
| `stet-commit-30506f8e` · 476 lines, 17 files | Failed; $4.58 · 14.8 min | Failed; $9.22 · 19.3 min | Neither | Even |
| `stet-commit-87814583` · 763 lines, 8 files | Failed; $3.67 · 11.9 min | Failed; $7.84 · 18.8 min | Neither | Even |
| `stet-commit-d2ab0c25` · 1,236 lines, 16 files | Failed; $10.67 · 57.4 min | Failed; $13.52 · 33.0 min | Neither | Even |
| `stet-commit-e41c2e2d` · 977 lines, 5 files | Failed; $2.17 · 21.1 min | Failed; $15.75 · 32.6 min | Neither | Even |

The source records Grok’s cost as $6.28 from 22/24 tasks; individual rows with unrecorded cost are retained as “not recorded,” not treated as zero.

## Cost and time

- **GPT 6 Sol medium:** mean $3.01; median $1.74.
- **Grok 4.7 high:** mean $6.28; median $3.40 from 22/24 tasks.
- GPT cost less on 21 of 22 tasks with paired recorded cost; Grok on 1.
- **GPT agent time:** mean 15.4 minutes; median 12.7 minutes.
- **Grok agent time:** mean 18.9 minutes; median 18.5 minutes.
- GPT finished faster on 17 of 24 tasks; Grok on 7.

## Where each setup may fit

### Small fixes

10 tasks; 2–84 changed lines in 1–2 files. Both solved 7/10. GPT cost 2.7× less and was 1.2× faster.

| Metric | GPT 6 Sol medium | Grok 4.7 high |
| --- | ---: | ---: |
| Solved | 7/10 | 7/10 |
| Cost per task | $0.61 | $1.65 |
| Agent time per task | 6.2 min | 7.5 min |

### Large, cross-cutting changes

14 tasks; 113–1,420 changed lines in up to 19 files. GPT solved 5/14 versus Grok’s 4/14 and was 1.2× faster.

| Metric | GPT 6 Sol medium | Grok 4.7 high |
| --- | ---: | ---: |
| Solved | 5/14 | 4/14 |
| Cost per task | $4.72 | $10.13 from 12/14 tasks |
| Agent time per task | 22.0 min | 27.1 min |

## Side by side

| Metric | GPT 6 Sol medium | Grok 4.7 high |
| --- | --- | --- |
| Harness | `codex` | `cursor` |
| Reasoning effort | medium | high |
| Rank | 5 of 18 | 6 of 18 |
| Stet score | 53.4%; 95% range 47.5–59.3 | 52.7%; 95% range 45.4–59.9 |
| Solved | 12/24 — 9 passed, 3 judged equivalent | 11/24 — 9 passed, 2 judged equivalent |
| Cost per task | $3.01 | $6.28 from 22/24 tasks |
| Agent time per task | 15.4 min | 18.9 min |

## 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)
- [A benchmark mined from my own repo agreed with FrontierCode](https://www.stet.sh/blog/benchmark-agreed-with-frontier-code)
- [I ran GPT 6.1 Sol against GPT 6 Sol on 24 tasks from my own repo, and found that it maintained quality while cutting cost in half](https://www.stet.sh/blog/gpt-6-1-sol-vs-gpt-6-sol)
- [Get started](https://www.stet.sh/private)
- [See all 18 setups](https://www.stet.sh/leaderboard)
- [How Stet measures](https://www.stet.sh/methodology)

## FAQ

**Which is better for coding?** We found no clear quality difference: GPT 6 Sol medium won 2, Grok 4.7 high won 2, and 20 tied. GPT 6 Sol medium led on cost and agent time: 2.1× cheaper and 1.2× faster.

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

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

---

[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-6-sol-medium-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-6-sol-medium-vs-grok-4-7-high). Opening a form does not execute a tool.