# DeepSeek V4.1 Flash max vs Opus 5 medium for coding

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/deepseek-v4-1-flash-max-vs-opus-5-medium
Source observed: 2026-11-19T11:08:21.181Z
Last checked: 2026-11-19T11:08:21.181+00:00
Indexed: 2026-11-19T11:18:42.154+00:00

---

# DeepSeek V4.1 Flash max vs Opus 5 medium

Opus 5 medium leads on speed; DeepSeek V4.1 Flash max leads on cost; we found no clear quality difference. This compares complete coding setups, not models alone: DeepSeek V4.1 Flash max ran `deepseek-harness` with max reasoning, while Opus 5 medium ran `claude-code` with medium reasoning.

## Headline results

- **Quality:** Even. DeepSeek won 3 head-to-head tasks, Opus won 7, 8 were tied, and 6 were undecided. Ties are within judge noise.
- **Speed:** Opus 5 medium was **2.1× faster**: 23.2 minutes versus 49.3 minutes per task.
- **Cost:** DeepSeek V4.1 Flash max was **14× cheaper**: $0.49 versus $6.78 per task. The $0.49 figure comes from 23 of 24 tasks.

## What we compared

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

The data is from **November 19, 2026**.

## Stet score and quality

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 | Stet score | 95% range |
|---|---|---:|---:|---:|
| DeepSeek V4.1 Flash max | `deepseek-harness`, max | 8 of 18 | 51.0 | 42.1–60.1 |
| Opus 5 medium | `claude-code`, medium | 2 of 18 | 61.4 | 52.6–70.3 |

Their 95% score ranges overlap.

### Other quality measures

| Metric | DeepSeek V4.1 Flash max | Opus 5 medium |
|---|---:|---:|
| Code review pass rate | 33% — 24 tasks | 38% — 24 tasks |
| Checklist score | 0.83 — 24 tasks | 0.89 — 24 tasks |
| Equivalence rate | 43% — 23 tasks | 54% — 24 tasks |

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

## Task-by-task outcome

DeepSeek solved 1 task that Opus did not. Opus solved 4 that DeepSeek did not. Both solved 9; neither solved 4. On the 9 tasks both solved, judges preferred DeepSeek’s patch on 2, Opus’s on 2, and called 5 even.

### Only DeepSeek V4.1 Flash max solved

- 640 changed lines in 8 files — `stet-commit-342d0ac0`; judges preferred DeepSeek’s patch.

### Only Opus 5 medium solved

- 2 changed lines in 1 file — `stet-2450ca2d`; judges preferred Opus’s patch.
- 23 changed lines in 1 file — `stet-6f84e978`; judges preferred Opus’s patch.
- 113 changed lines in 4 files — `stet-commit-f0caded9`; judges preferred Opus’s patch.
- 1,420 changed lines in 19 files — `stet-commit-2826765e`; judges preferred Opus’s patch.

### Both solved

- 4 changed lines in 1 file — `stet-43493c52`.
- 5 changed lines in 2 files — `stet-15439c21`; judges preferred DeepSeek’s patch.
- 9 changed lines in 1 file — `stet-89dfbc27`.
- 10 changed lines in 1 file — `stet-232b50ba`.
- 23 changed lines in 2 files — `stet-5276aa3f`.
- 29 changed lines in 1 file — `stet-b28f4fe7`; judges preferred DeepSeek’s patch.
- 84 changed lines in 1 file — `stet-66762b4c`.
- 218 changed lines in 2 files — `stet-commit-5d766dde`; judges preferred Opus’s patch.
- 1,312 changed lines in 9 files — `stet-commit-f8ae1177`; judges preferred Opus’s patch.

### Neither solved

- 149 changed lines in 2 files — `stet-commit-e928166f`; judges preferred Opus’s patch.
- 476 changed lines in 17 files — `stet-commit-30506f8e`.
- 552 changed lines in 11 files — `stet-commit-60a0e6c2`.
- 763 changed lines in 8 files — `stet-commit-87814583`.

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 setups differently. Six of the 24 tasks are left out of the compared-task view because one setup has no scored result on them.

## All 18 compared tasks

| Task | DeepSeek V4.1 Flash max | Opus 5 medium | Solved by | Better patch |
|---|---|---|---|---|
| `stet-89dfbc27` · 9 lines, 1 file | Passed tests · $0.09 · 9.3 min | Passed tests · $1.53 · 32.6 min | Both | Even |
| `stet-b28f4fe7` · 29 lines, 1 file | Passed tests · $0.22 · 21.5 min | Passed tests · $0.69 · 19.4 min | Both | DeepSeek |
| `stet-232b50ba` · 10 lines, 1 file | Passed tests · $0.34 · 59.2 min | Passed tests · $1.21 · 7.9 min | Both | Even |
| `stet-5276aa3f` · 23 lines, 2 files | Passed tests · $0.16 · 37.9 min | Passed tests · $1.03 · 7.7 min | Both | Even |
| `stet-66762b4c` · 84 lines, 1 file | Passed tests · $0.09 · 15.1 min | Passed tests · $1.74 · 36.7 min | Both | Even |
| `stet-commit-5d766dde` · 218 lines, 2 files | Equivalent · $0.27 · 35.4 min | Equivalent · $3.36 · 11.0 min | Both | Opus |
| `stet-43493c52` · 4 lines, 1 file | Passed tests · $0.22 · 63.4 min | Passed tests · $0.52 · 2.3 min | Both | Even |
| `stet-commit-f0caded9` · 113 lines, 4 files | Failed · $0.25 · 42.5 min | Passed tests · $3.43 · 10.8 min | Opus only | Opus |
| `stet-15439c21` · 5 lines, 2 files | Passed tests · $0.15 · 45.6 min | Passed tests · $0.53 · 4.9 min | Both | DeepSeek |
| `stet-commit-f8ae1177` · 1,312 lines, 9 files | Passed tests · $1.72 · 113.6 min | Passed tests · $18.97 · 27.5 min | Both | Opus |
| `stet-2450ca2d` · 2 lines, 1 file | Failed · $0.15 · 29.5 min | Passed tests · $0.82 · 21.7 min | Opus only | Opus |
| `stet-commit-342d0ac0` · 640 lines, 8 files | Equivalent · $1.05 · 59.4 min | Failed · $5.56 · 16.4 min | DeepSeek only | DeepSeek |
| `stet-6f84e978` · 23 lines, 1 file | Failed · $0.24 · 28.7 min | Passed tests · $1.39 · 34.9 min | Opus only | Opus |
| `stet-commit-60a0e6c2` · 552 lines, 11 files | Failed · $0.58 · 47.5 min | Failed · $7.75 · 24.8 min | Neither | Even |
| `stet-commit-2826765e` · 1,420 lines, 19 files | Failed · $0.80 · 70.4 min | Equivalent · $17.19 · 30.1 min | Opus only | Opus |
| `stet-commit-e928166f` · 149 lines, 2 files | Failed · $0.58 · 58.7 min | Failed · $5.94 · 25.2 min | Neither | Opus |
| `stet-commit-30506f8e` · 476 lines, 17 files | Failed · 71.2 min | Failed · $15.36 · 43.4 min | Neither | Even |
| `stet-commit-87814583` · 763 lines, 8 files | Failed · $0.38 · 61.5 min | Failed · $14.95 · 33.3 min | Neither | Even |

## Cost and time

Each task is shown on a log scale; filled indicates solved and hollow indicates not solved. The line marks the median.

- **Cost:** DeepSeek mean $0.43, median $0.25 from 17/18 tasks; Opus mean $5.67, median $2.55. DeepSeek cost less on all 17 tasks.
- **Agent time:** DeepSeek mean 48.4 minutes, median 46.6; Opus mean 21.7 minutes, median 23.3. Opus finished faster on 15 of 18 tasks; DeepSeek on 3.

## Where each setup fits

### Small fixes

10 tasks, 2–84 changed lines in 1–2 files. Opus solved 9/9 versus DeepSeek’s 7/9, was 1.8× faster, and DeepSeek cost 5.7× less.

| Metric | DeepSeek | Opus |
|---|---:|---:|
| Solved | 7/9 | 9/9 |
| Cost per task | $0.18 | $1.05 |
| Agent time per task | 34.5 min | 18.7 min |

### Large, cross-cutting changes

14 tasks, 113–1,420 changed lines in up to 19 files. Opus solved 4/9 versus DeepSeek’s 3/9 and was 2.5× faster. DeepSeek cost $0.70 per task from 8/9 tasks versus Opus at $10.28.

| Metric | DeepSeek | Opus |
|---|---:|---:|
| Solved | 3/9 | 4/9 |
| Cost per task | $0.70 from 8/9 tasks | $10.28 |
| Agent time per task | 62.3 min | 24.7 min |

## Side by side

| Metric | DeepSeek V4.1 Flash max | Opus 5 medium |
|---|---|---|
| Harness | `deepseek-harness` | `claude-code` |
| Reasoning effort | max | medium |
| Rank | 8 of 18 | 2 of 18 |
| Stet score | 51.0, 95% range 42.1–60.1 | 61.4, 95% range 52.6–70.3 |
| Solved | 10/24: 8 passed, 2 judged equivalent | 15/24: 13 passed, 2 judged equivalent |
| Cost per task | $0.49 from 23/24 tasks | $6.78 |
| Agent time per task | 49.3 min | 23.2 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)
- [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)

## Questions

**Which is better for coding?** We found no clear quality difference: Opus won 7, DeepSeek won 3, 8 tied, and 6 were undecided. DeepSeek leads on cost at 14× cheaper; Opus leads on agent time at 2.1× faster. This used 24 merged changes from `Stet-AI/stet`.

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

## Test your 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 the private `Stet-AI/stet` repository replayed from the state immediately before the change.
- Data from November 19, 2026.
- Both setups came from leaderboard run `bmk_d4ba310fdf50db4ccb2092e3` of 18 setups.

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

### More comparisons

- [DeepSeek V4.1 Flash max vs Pareto 26.9 medium](https://www.stet.sh/leaderboard/compare/deepseek-v4-1-flash-max-vs-pareto-26-9-medium)
- [DeepSeek V4.1 Flash max vs DeepSeek V4.1 Flash (10/17) max](https://www.stet.sh/leaderboard/compare/deepseek-v4-1-flash-10-17-max-vs-deepseek-v4-1-flash-max)
- [DeepSeek V4.1 Flash max vs Grok 4.7 high](https://www.stet.sh/leaderboard/compare/deepseek-v4-1-flash-max-vs-grok-4-7-high)
- [DeepSeek V4.1 Flash max vs Haiku 5.5 max](https://www.stet.sh/leaderboard/compare/deepseek-v4-1-flash-max-vs-haiku-5-5-max)
- [DeepSeek V4.1 Flash max vs GPT 6 Sol medium](https://www.stet.sh/leaderboard/compare/deepseek-v4-1-flash-max-vs-gpt-6-sol-medium)
- [Opus 5 medium vs SWE-2 Max high](https://www.stet.sh/leaderboard/compare/opus-5-medium-vs-swe-2-max-high)
- [Opus 5 medium vs Muse Wonder Full low](https://www.stet.sh/leaderboard/compare/muse-wonder-full-low-vs-opus-5-medium)
- [Opus 5 medium vs GPT 6.1 Sol medium](https://www.stet.sh/leaderboard/compare/gpt-6-1-sol-medium-vs-opus-5-medium)
- [Opus 5 medium vs GPT 6 Sol medium](https://www.stet.sh/leaderboard/compare/gpt-6-sol-medium-vs-opus-5-medium)
- [Opus 5 medium vs Grok 4.7 high](https://www.stet.sh/leaderboard/compare/grok-4-7-high-vs-opus-5-medium)
- [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%2Fdeepseek-v4-1-flash-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%2Fdeepseek-v4-1-flash-max-vs-opus-5-medium). Opening a form does not execute a tool.