# DeepSeek V4.1 Flash max vs Opus 4.8 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-4-8-medium
Source observed: 2026-11-19T11:08:42.139Z
Last checked: 2026-11-19T11:08:42.139+00:00
Indexed: 2026-11-19T11:21:01.457+00:00

---

# DeepSeek V4.1 Flash max vs Opus 4.8 medium

Opus 4.8 medium led on speed, DeepSeek V4.1 Flash max led on cost, and we found no clear quality difference. The setups used different harnesses—`deepseek-harness` for DeepSeek V4.1 Flash max and `claude-code` for Opus 4.8 medium—so this compares complete setups, not models alone.

## Headline results

| Measure | Result |
| --- | --- |
| Quality | Even; DeepSeek V4.1 Flash max won 5, Opus 4.8 medium won 3, 9 tied, 7 undecided |
| Speed | Opus 4.8 medium was 2.1× faster: 23.3 min vs 49.3 min per task |
| Cost | DeepSeek V4.1 Flash max was 16× cheaper: $0.49 vs $7.68 per task; the $0.49 figure covers 23/24 tasks |

## What we tested

- **1 real repository:** private `Stet-AI/stet`; not public benchmark scores.
- **24 merged changes:** each setup ran end to end from the repository state before the change.
- **Grading:** the repository’s own tests plus judges comparing each patch with the merged change.
- **Measures:** quality, cost, and time on real agent work; the sample is smaller than public benchmarks.

Data from November 19, 2026.

## Stet score and quality

| Setup | Harness and reasoning | Rank | Stet score |
| --- | --- | ---: | --- |
| DeepSeek V4.1 Flash max | `deepseek-harness` · max | 8 of 18 | 51.0; 95% range 42.1–60.1 |
| Opus 4.8 medium | `claude-code` · medium | 13 of 18 | 46.8; 95% range 38.0–55.7 |

The two 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.

### Head-to-head matchups

- DeepSeek V4.1 Flash max won 5.
- Opus 4.8 medium won 3.
- 9 were tied.
- 7 were undecided.

DeepSeek V4.1 Flash max’s win share was 53%, with a 95% range of 38–68%. Ties are within judge noise.

### Other quality measures

| Metric | DeepSeek V4.1 Flash max | Opus 4.8 medium |
| --- | ---: | ---: |
| Code review pass rate | 33% · 24 tasks | 33% · 24 tasks |
| Checklist score | 0.83 · 24 tasks | 0.78 · 24 tasks |
| Equivalence rate | 43% · 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

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

### Only DeepSeek V4.1 Flash max solved

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

### Only Opus 4.8 medium solved

- `stet-6f84e978` — 23 changed lines in 1 file; judges preferred Opus 4.8 medium’s patch.
- `stet-commit-f0caded9` — 113 changed lines in 4 files; judges preferred Opus 4.8 medium’s patch.

### Both solved

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

### Neither solved

- `stet-2450ca2d` — 2 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-87814583` — 763 changed lines in 8 files.
- `stet-commit-2826765e` — 1,420 changed lines in 19 files.

Seven of the 24 tasks are left out of the compared-task table because one setup has no scored result on them.

### All 17 compared tasks

| Task | DeepSeek V4.1 Flash max | Opus 4.8 medium | Solved by | Better patch |
| --- | --- | --- | --- | --- |
| `stet-89dfbc27` · 9 lines, 1 file | Passed tests · $0.09 · 9.3 min | Passed tests · $0.83 · 11.6 min | Both | DeepSeek V4.1 Flash max |
| `stet-b28f4fe7` · 29 lines, 1 file | Passed tests · $0.22 · 21.5 min | Passed tests · $1.09 · 18.0 min | Both | DeepSeek V4.1 Flash max |
| `stet-232b50ba` · 10 lines, 1 file | Passed tests · $0.34 · 59.2 min | Passed tests · $1.43 · 9.1 min | Both | DeepSeek V4.1 Flash max |
| `stet-5276aa3f` · 23 lines, 2 files | Passed tests · $0.16 · 37.9 min | Passed tests · $1.15 · 6.7 min | Both | Even |
| `stet-66762b4c` · 84 lines, 1 file | Passed tests · $0.09 · 15.1 min | Passed tests · $1.94 · 26.5 min | Both | Even |
| `stet-commit-5d766dde` · 218 lines, 2 files | Equivalent to merged fix · $0.27 · 35.4 min | Equivalent to merged fix · $3.10 · 9.9 min | Both | Even |
| `stet-43493c52` · 4 lines, 1 file | Passed tests · $0.22 · 63.4 min | Passed tests · $0.85 · 4.3 min | Both | Even |
| `stet-commit-f0caded9` · 113 lines, 4 files | Failed · $0.25 · 42.5 min | Equivalent to merged fix · $4.29 · 39.9 min | Opus 4.8 medium only | Opus 4.8 medium |
| `stet-15439c21` · 5 lines, 2 files | Passed tests · $0.15 · 45.6 min | Passed tests · $1.57 · 16.3 min | Both | DeepSeek V4.1 Flash max |
| `stet-commit-f8ae1177` · 1,312 lines, 9 files | Passed tests · $1.72 · 113.6 min | Passed tests · $28.54 · 45.5 min | Both | Opus 4.8 medium |
| `stet-2450ca2d` · 2 lines, 1 file | Failed · $0.15 · 29.5 min | Failed · $0.92 · 14.4 min | Neither | Even |
| `stet-commit-342d0ac0` · 640 lines, 8 files | Equivalent to merged fix · $1.05 · 59.4 min | Failed · $10.51 · 60.2 min | DeepSeek V4.1 Flash max only | DeepSeek V4.1 Flash max |
| `stet-6f84e978` · 23 lines, 1 file | Failed · $0.24 · 28.7 min | Passed tests · $1.35 · 6.1 min | Opus 4.8 medium only | Opus 4.8 medium |
| `stet-commit-2826765e` · 1,420 lines, 19 files | Failed · $0.80 · 70.4 min | Failed · $18.37 · 63.2 min | Neither | Even |
| `stet-commit-e928166f` · 149 lines, 2 files | Failed · $0.58 · 58.7 min | Failed · $3.27 · 24.9 min | Neither | Even |
| `stet-commit-30506f8e` · 476 lines, 17 files | Failed · 71.2 min | Failed · $19.23 · 38.0 min | Neither | Even |
| `stet-commit-87814583` · 763 lines, 8 files | Failed · $0.38 · 61.5 min | Failed · $7.94 · 16.5 min | Neither | Even |

## Cost and time on each task

Each dot represents one task on a log scale. Filled dots indicate a solved task; hollow dots indicate an unsolved task; the line marks the median.

- **Cost:** DeepSeek V4.1 Flash max mean $0.42, median $0.25, from 16/17 tasks. Opus 4.8 medium mean $6.26, median $1.94. DeepSeek V4.1 Flash max cost less on all 16 tasks with recorded costs for both.
- **Agent time:** DeepSeek V4.1 Flash max mean 48.4 min, median 45.6 min. Opus 4.8 medium mean 24.2 min, median 16.5 min. Opus 4.8 medium finished faster on 14 of 17 tasks; DeepSeek V4.1 Flash max finished faster on 3.

## Where each setup is the better choice

These are readings on smaller task groups, so use them as leads to test on your repository.

### Small fixes

10 tasks, with 2–84 changed lines in 1–2 files. Opus 4.8 medium solved 8/9 versus DeepSeek V4.1 Flash max’s 7/9. DeepSeek V4.1 Flash max cost 6.7× less per task; Opus 4.8 medium was 2.7× faster.

| Metric | DeepSeek V4.1 Flash max | Opus 4.8 medium |
| --- | ---: | ---: |
| Solved | 7/9 | 8/9 |
| Cost / task | $0.18 | $1.24 |
| Agent time / task | 34.5 min | 12.6 min |

### Large, cross-cutting changes

14 tasks, with 113–1,420 changed lines in up to 19 files. Both solved 3/8. Opus 4.8 medium was 1.7× faster.

| Metric | DeepSeek V4.1 Flash max | Opus 4.8 medium |
| --- | ---: | ---: |
| Solved | 3/8 | 3/8 |
| Cost / task | $0.72 from 7/8 tasks | $11.91 |
| Agent time / task | 64.1 min | 37.3 min |

## Side by side

| Metric | DeepSeek V4.1 Flash max | Opus 4.8 medium |
| --- | --- | --- |
| Harness | `deepseek-harness` | `claude-code` |
| Reasoning effort | max | medium |
| Rank | 8 of 18 | 13 of 18 |
| Stet score | 51.0; 95% range 42.1–60.1 | 46.8; 95% range 38.0–55.7 |
| Solved | 10/24: 8 passed, 2 judged equivalent | 13/24: 11 passed, 2 judged equivalent |
| Cost / task | $0.49 from 23/24 tasks | $7.68 |
| Agent time / task | 49.3 min | 23.3 min |

## Questions

### Which is better for coding?

We found no clear quality difference: DeepSeek V4.1 Flash max won 5, Opus 4.8 medium won 3, 9 were tied, and 7 were undecided. DeepSeek V4.1 Flash max led on cost at 16× cheaper; Opus 4.8 medium led on agent time at 2.1× faster. The comparison used 24 merged changes from `Stet-AI/stet`.

### How did we test them?

Both coding agents worked on the same 24 merged changes from our private repository, each in the real repository state before the change. The repository tests and judges graded every patch against the merged change; we used no public benchmark scores.

## See which setup wins 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)

## 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`, which contained 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 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)
- [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-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%2Fdeepseek-v4-1-flash-max-vs-opus-4-8-medium). Opening a form does not execute a tool.