Skip to the comparison

DeepSeek V4.1 Flash (10/17) max vs Opus 4.8 medium

Opus 4.8 medium leads on speed; DeepSeek V4.1 Flash (10/17) max on cost; no clear quality difference.

Quality
Even
No clear difference
5–5 head to head, 14 tied
Speed
1.6× faster
Opus 4.8 medium
23.3 min vs 37.2 min per task
Cost
22.2× cheaper
DeepSeek V4.1 Flash (10/17) max
$0.28 vs $6.27 per task

What this comparison is

  • 1 real repositoryStet-AI/stet, private; not public benchmark scores
  • 24 merged changeseach run end to end by the coding agent from the repo as it was before the change
  • Graded against the merged changeby the repo’s own tests and by judges comparing each patch with it
  • Quality, cost and timea smaller sample than public benchmarks, but real agent work on a real codebase

24 tasksData from

Stet score

DeepSeek V4.1 Flash (10/17) maxcodex · max reasoningRank 11 of 18

48.395% range 42.9–53.4

Opus 4.8 mediummedium reasoningRank 9 of 18

48.995% range 40.2–58.10.6 points higher

A directional read: their 95% score ranges overlap.

Quality

Head-to-head matchups

DeepSeek V4.1 Flash (10/17) max won5

Tied14

Opus 4.8 medium won5

DeepSeek V4.1 Flash (10/17) max’s win share 50%, 95% range 38–62%Ties are within judge noise.

Task by task

DeepSeek V4.1 Flash (10/17) max solved 1 task that Opus 4.8 medium didn’t, and Opus 4.8 medium solved 3 that DeepSeek V4.1 Flash (10/17) max didn’t. Both solved 9; neither solved 9.

On the 9 tasks both solved, judges preferred DeepSeek V4.1 Flash (10/17) max’s patch on 3, Opus 4.8 medium’s on 2, and called 4 even.

1Only DeepSeek V4.1 Flash (10/17) max solved

  • 2 changed lines in 1 filestet-2450ca2dJudges preferred DeepSeek V4.1 Flash (10/17) max’s patch

3Only Opus 4.8 medium solved

  • 113 changed lines in 4 filesstet-commit-f0caded9
  • 552 changed lines in 11 filesstet-commit-60a0e6c2Judges preferred Opus 4.8 medium’s patch
  • 1,312 changed lines in 9 filesstet-commit-f8ae1177Judges preferred Opus 4.8 medium’s patch

9Both solved

  • 4 changed lines in 1 filestet-43493c52Judges preferred DeepSeek V4.1 Flash (10/17) max’s patch
  • 6 changed lines in 1 filestet-3169aefa
  • 9 changed lines in 1 filestet-89dfbc27Judges preferred DeepSeek V4.1 Flash (10/17) max’s patch
  • 10 changed lines in 1 filestet-232b50baJudges preferred DeepSeek V4.1 Flash (10/17) max’s patch
  • 23 changed lines in 2 filesstet-5276aa3f
  • 29 changed lines in 1 filestet-b28f4fe7
  • 84 changed lines in 1 filestet-66762b4cJudges preferred Opus 4.8 medium’s patch
  • 218 changed lines in 2 filesstet-commit-5d766dde
  • 941 changed lines in 7 filesstet-commit-bbbbae09Judges preferred Opus 4.8 medium’s patch

9Neither solved

  • 149 changed lines in 2 filesstet-commit-e928166f
  • 476 changed lines in 17 filesstet-commit-30506f8e
  • 481 changed lines in 3 filesstet-commit-5e075641
  • 564 changed lines in 10 filesstet-commit-a8716b88
  • 640 changed lines in 8 filesstet-commit-342d0ac0
  • 763 changed lines in 8 filesstet-commit-87814583
  • 977 changed lines in 5 filesstet-commit-e41c2e2d
  • 1,236 changed lines in 16 filesstet-commit-d2ab0c25
  • 1,420 changed lines in 19 filesstet-commit-2826765e

Bar: changed lines in the merged change, log scale

A task counts as solved when its tests passed or a judge found the fix equivalent to the merged change, as in the leaderboard’s Solved column. Stet score also weighs code quality, so it can order the two differently. 2 of the 24 tasks are left out because one of the two has no scored result on them.

All 22 compared tasks
Task by task
TaskDeepSeek V4.1 Flash (10/17) maxOpus 4.8 mediumSolved byBetter patch
stet-3169aefa · 6 changed lines in 1 filePassed tests$0.06 · 15.9 minPassed tests$0.83 · 2.6 minBothEven
stet-89dfbc27 · 9 changed lines in 1 filePassed tests$0.05 · 4.9 minPassed tests$0.68 · 11.6 minBothDeepSeek V4.1 Flash (10/17) max
stet-b28f4fe7 · 29 changed lines in 1 filePassed tests$0.06 · 28.7 minPassed tests$1.01 · 18.0 minBothEven
stet-232b50ba · 10 changed lines in 1 filePassed tests$0.05 · 28.0 minPassed tests$0.78 · 9.1 minBothDeepSeek V4.1 Flash (10/17) max
stet-5276aa3f · 23 changed lines in 2 filesPassed tests$0.02 · 14.4 minPassed tests$0.95 · 6.7 minBothEven
stet-commit-bbbbae09 · 941 changed lines in 7 filesPassed tests$0.65 · 47.7 minPassed tests$9.99 · 29.1 minBothOpus 4.8 medium
stet-66762b4c · 84 changed lines in 1 filePassed tests$0.08 · 9.1 minPassed tests$1.63 · 26.5 minBothOpus 4.8 medium
stet-commit-5d766dde · 218 changed lines in 2 filesEquivalent to the merged fix$0.09 · 18.5 minEquivalent to the merged fix$2.69 · 9.9 minBothEven
stet-43493c52 · 4 changed lines in 1 filePassed tests$0.14 · 16.0 minPassed tests$0.63 · 4.3 minBothDeepSeek V4.1 Flash (10/17) max
stet-commit-f0caded9 · 113 changed lines in 4 filesFailed$0.09 · 14.6 minEquivalent to the merged fix$3.78 · 39.9 minOpus 4.8 medium onlyEven
stet-commit-f8ae1177 · 1,312 changed lines in 9 filesFailed$0.54 · 75.0 minPassed tests$24.26 · 45.5 minOpus 4.8 medium onlyOpus 4.8 medium
stet-2450ca2d · 2 changed lines in 1 filePassed tests$0.07 · 10.1 minFailed$0.74 · 14.4 minDeepSeek V4.1 Flash (10/17) max onlyDeepSeek V4.1 Flash (10/17) max
stet-commit-342d0ac0 · 640 changed lines in 8 filesFailed$0.20 · 38.3 minFailed$9.67 · 60.2 minNeitherEven
stet-commit-60a0e6c2 · 552 changed lines in 11 filesFailed$0.34 · 39.2 minPassed tests$10.66 · 22.3 minOpus 4.8 medium onlyOpus 4.8 medium
stet-commit-5e075641 · 481 changed lines in 3 filesFailed$0.46 · 53.1 minFailed$10.65 · 28.8 minNeitherEven
stet-commit-2826765e · 1,420 changed lines in 19 filesFailed$0.56 · 50.2 minFailed$14.56 · 63.2 minNeitherEven
stet-commit-a8716b88 · 564 changed lines in 10 filesFailed$0.30 · 40.2 minFailed$21.48 · 38.3 minNeitherEven
stet-commit-e928166f · 149 changed lines in 2 filesFailed$0.29 · 42.0 minFailed$2.26 · 24.9 minNeitherEven
stet-commit-30506f8e · 476 changed lines in 17 filesFailed$0.38 · 48.8 minFailed$15.32 · 38.0 minNeitherEven
stet-commit-87814583 · 763 changed lines in 8 filesFailed$0.50 · 62.2 minFailed$5.90 · 16.5 minNeitherEven
stet-commit-d2ab0c25 · 1,236 changed lines in 16 filesFailed$0.71 · 76.4 minFailed$5.87 · 13.3 minNeitherEven
stet-commit-e41c2e2d · 977 changed lines in 5 filesFailed$0.96 · 110.4 minFailed$4.01 · 13.9 minNeitherEven

Cost and time on each task

Each dot is one task, on a log scale: filled where the setup solved it, hollow where it didn’t. The line marks the median.

Cost per task

DeepSeek V4.1 Flash (10/17) maxmean $0.30 · median $0.25

Opus 4.8 mediummean $6.74 · median $3.90

DeepSeek V4.1 Flash (10/17) max cost less on all 22 tasks.

Agent time per task

DeepSeek V4.1 Flash (10/17) maxmean 38.3 min · median 38.7 min

Opus 4.8 mediummean 24.4 min · median 20.2 min

Opus 4.8 medium finished faster on 16 of 22 tasks; DeepSeek V4.1 Flash (10/17) max on 6.

Where each setup is the better choice

The leaderboard’s readings on groups of tasks. Each group holds fewer tasks than the overall standings, so treat these as leads to test on your repo.

Small fixes

Cheaper here without solving fewer: DeepSeek V4.1 Flash (10/17) max

10 tasks · 2–84 changed lines in 1–2 files

DeepSeek V4.1 Flash (10/17) max solved more, 8 of 8 to 7, at 13.5× lower cost per task.

Opus 4.8 medium was 1.4× faster.

Small fixes
DeepSeek V4.1 Flash (10/17) maxOpus 4.8 medium
Solved8/87/8
Cost / task$0.07$0.90
Agent time / task15.9 min11.7 min

Large, cross-cutting changes

14 tasks · 113–1,420 changed lines in up to 19 files

Opus 4.8 medium solved 3 more, 5 of 14 to 2; DeepSeek V4.1 Flash (10/17) max cost 23.3× less per task.

Opus 4.8 medium was 1.6× faster.

Large, cross-cutting changes
DeepSeek V4.1 Flash (10/17) maxOpus 4.8 medium
Solved2/145/14
Cost / task$0.43$10.08
Agent time / task51.2 min31.7 min

Side by side

Side by side
MetricDeepSeek V4.1 Flash (10/17) maxOpus 4.8 medium
Harnesscodex—
Reasoning effortmaxmedium
Rank11 of 189 of 18
Stet score48.395% range 42.9–53.448.995% range 40.2–58.1
Solved10/249 passed, 1 judged equivalent14/2412 passed, 2 judged equivalent
Cost / task$0.28$6.27
Agent time / task37.2 min23.3 min

Questions

Which is better for coding, DeepSeek V4.1 Flash (10/17) max or Opus 4.8 medium?
No clear quality difference: DeepSeek V4.1 Flash (10/17) max won 5, Opus 4.8 medium won 5, 14 tied; DeepSeek V4.1 Flash (10/17) max leads on cost: 22.2× cheaper; Opus 4.8 medium leads on agent time: 1.6× faster. Measured on 24 merged changes from Stet-AI/stet.
How were DeepSeek V4.1 Flash (10/17) max and Opus 4.8 medium tested?
Both coding agents worked the same 24 merged changes from the private Stet-AI/stet repository, each in the real repo as it was before the change. The repo’s tests and judges graded every patch against the merged change; no public benchmark scores are used. Stet score: A setup’s average chance of beating another setup on a task, from 0 to 100; 50 is even with the field.

See which setup wins on your repo

Stet replays your merged changes, scores quality above pass/fail, and delivers comparison reports through your agent.

Get started