DeepSeek V4.1 Flash Real-World Coding Benchmark: Solving 24 Bugs for $1.80 at the Pareto Frontier
Paweł Huryn benchmarked DeepSeek V4.1 Flash across 105 real hidden bugs in 2 repositories. At $1.80 for 24 solved bugs versus $51.33 for Opus 5, it hits the Par
On September 10, 2026, AI researcher and product specialist Paweł Huryn (@PawelHuryn) published the results of a rigorous real-world coding benchmark evaluating top frontier and lightweight AI models against 105 hidden, unplanted bugs across two actual open-source software repositories. Running at maximum reasoning effort, DeepSeek V4.1 Flash resolved 24 bugs at a total API cost of just $1.80, positioning it directly on the Pareto efficiency frontier for everyday development workflows when compared against top-scoring models like Opus 5 (27 bugs, $51.33) and Grok 4.6 (27 bugs, $16.96).

Image source: Paweł Huryn (@PawelHuryn) on X
Unlike conventional synthetic coding benchmarks that rely on isolated toy puzzles or LeetCode-style snippets, this evaluation tested how effectively autonomous models navigate realistic codebases, trace implicit side effects, and author functional patches. By delivering near-frontier bug resolution at a fraction of the cost, the results provide software engineering teams with an empirical foundation for model selection and reasoning effort calibration across continuous integration and debugging pipelines.
Benchmark Architecture and Evaluation Methodology
The benchmark was designed to replicate the friction and ambiguity of production maintenance. Rather than using synthetic test fixtures, the dataset comprises 105 difficult bugs that frontier models struggled with at the beginning of 2026 across two mature open-source repositories. Models were prompted with an open-ended brief to inspect the codebases and find and fix as many genuine issues as possible. To ensure objective evaluation, Huryn enforced four strict procedural controls:
- Exclusion of Unplanted Issues: Large production codebases contain numerous minor cosmetic inconsistencies or stylistic quirks. While models—particularly OpenAI offerings—frequently flagged these non-critical discrepancies, counting them would distort solution complexity and artificially inflate scores. Consequently, only pre-cataloged critical bugs were eligible for scoring.
- Cross-Family LLM Adjudication: To eliminate architectural bias, candidate patches were evaluated by judge models from an entirely different model family. Each automated judge underwent rigorous calibration before scoring commenced.
- Contamination Defense and Live Reporting: Answer keys remain strictly confidential to prevent future model pre-training contamination. Anonymized execution traces are cataloged on GitHub, while cumulative results are indexed on a dedicated live benchmark site.
- Scoring Discipline: Each validated patch earns exactly one point, generating a transparent score out of a possible 105 points.
Performance and Cost Analysis: Reaching the Pareto Frontier at $1.80
Evaluating models on both patch success and direct API expenditure revealed a dramatic divergence between model tiers. While top-ranking models achieved marginally higher patch counts, their operational expenses scaled exponentially.
| Model | Reasoning Effort | Solved Bugs (out of 105) | Total API Cost (USD) | Execution Time (min) |
|---|---|---|---|---|
| Opus 5 | max | 27 | $51.33 | - |
| Grok 4.6 | max | 27 | $16.96 | - |
| DeepSeek V4.1 Flash | max | 24 | $1.80 | 42.6 min |
| GPT-5.6 Luna | xhigh | 23 | $2.50 | - |
| Opus 5 | high | 21 | $38.77 | - |
| Gemini 3.8 Flash | high | 20 | $9.78 | 29.8 min |
| GLM-5.3 | default | 19 | $19.73 | 66.7 min |
| DeepSeek V4 Pro | max | 16 | $1.89 | 37.0 min |
While Opus 5 and Grok 4.6 tied for the highest raw score with 27 resolved bugs, they incurred costs of $51.33 and $16.96 respectively. DeepSeek V4.1 Flash finished just three bugs behind at 24 resolved issues while consuming only $1.80 in API credits across 42.6 minutes of execution.
On a per-resolved-bug metric, Opus 5 cost approximately $1.90 per fix, whereas DeepSeek V4.1 Flash averaged $0.075 per fix—delivering a 25-fold cost efficiency advantage. Sacrificing only 11% in raw bug resolution while reducing API costs by 96.5% places DeepSeek V4.1 Flash squarely on the Pareto frontier. GPT-5.6 Luna also demonstrated notable economic viability, resolving 23 bugs at $2.50 under extra-high effort.
Reasoning Effort Dynamics and Practical Deployment Trade-Offs
The benchmark provides actionable guidance for configuring inference parameters in automated agent harnesses:
When set to high effort rather than max effort, DeepSeek V4.1 Flash resolved 19 bugs in 26.1 minutes at a total cost of $0.31—an average of just 1.6 cents per bug fix. Scaling effort from high to max yielded five additional fixes (24 total) for an incremental cost of $1.49 over 16.5 additional minutes. For teams operating continuous background triage, high effort offers an optimal baseline, while max effort serves as a targeted escalation path for stubborn defects.
The results also illustrate generational progress. Running at max effort, the prior-generation DeepSeek V4 Pro resolved 16 bugs for $1.89 in 37.0 minutes. DeepSeek V4.1 Flash improved bug resolution by 50% (24 versus 16) at a slightly lower cost ($1.80), underscoring substantial efficiency gains in the latest flash architecture.
Engineering teams should nevertheless weigh several practical constraints when interpreting these benchmark metrics:
- Verification Beyond Point Scoring: As software practitioner Mykyta Pavlenko observed in the discussion, the benchmark awards one point per detected and patched bug. It does not evaluate long-term code maintainability, architectural cohesion, or whether proposed fixes introduce subtle edge-case regressions in production CI/CD pipelines. Human review remains essential.
- Provider Gateway Variability: Community testing highlighted that aggregator platforms such as OpenRouter occasionally fail to honor or pass through model effort parameters accurately. For deterministic reasoning depth and predictable billing, teams should prefer direct API provider endpoints.
Original source
The benchmark metrics, model cost breakdowns, and methodology detailed in this article are derived directly from the evaluation thread published on September 10, 2026, by AI researcher Paweł Huryn (@PawelHuryn) on X (formerly Twitter), alongside data from the live Bug Hunt dashboard.