Local DeepSeek Scored 100 Points in 5.1 Minutes on Low, and in 10.9 on High
For a local model, long "thinking" costs minutes of waiting, not tokens, and it does not always pay off. An author from Habr ran four local models on invented bugs in a PHP project: 0 points meant "nothing fixed," 100 meant the reference solution. On the task about emails to deleted clients, DeepSeek scored 100 points both on low in 5.1 minutes and on high in 10.9 minutes. That is why the reasoning mode is better chosen by measuring each model separately.
AI-processed from Habr AI; edited by Hamidun News
When you work with cloud Claude Code, you choose the reasoning effort level (how long and how thoroughly the model "thinks" before answering) to save money: planning and debugging on high, code from a finished plan on low or medium. With local models there are no token limits, and you pay only in time: there are more reasoning tokens, and generation slows down. The author of the article on Habr, who had lost access to Claude Code, checked whether this is justified by measurements rather than intuition. The answer: each model has its own mode, and the habit of "always set it to maximum" often just eats up minutes.
How the test works
The author built a separate repository for testing coding agents on the stack of his work project: PHP 8.4, Symfony 6.4, API Platform 4, Doctrine ORM, Messenger, PHPUnit, and PHPStan level 10. There are three tasks, all about diagnosing and fixing invented bugs. The agent receives a manager's request in business terms: the symptom, the goal, and the desired behavior, with no file names and no mention of "tests." Alongside it sit the dev.sh check script and an AGENTS.md file with the team's rules.
The script that the agent cannot see evaluates the result. Hidden acceptance tests account for 40% of the score, and subtle conditions such as time zones and idempotency account for 15%. Another 20% goes to a mutation layer: the script plants 10–16 plausible incorrect fixes, and the agent's own tests must catch them. The rest covers discipline, honesty of the report, and scope. The score is normalized: "did nothing" is 0, the reference solution is 100, and tests that were previously green but turned red are penalized.
Each "model + reasoning level" combination gets three runs, a 90-minute limit, and a separate container. The isolation had to be tightened: agents found ready-made solutions left by their predecessors in the shared /tmp. The participants were Qwen 3.8 Flash Next in two quantizations (NVFP4 and INT4-AR), DeepSeek V4.1 Flash, and GLM 5.3 Flash, all run on a DGX Spark.
What the numbers show
In the first task, a client sees other people's site monitors, and the same error sits in four more places in the code. DeepSeek is stable here: 87.5 on low in 7.9 minutes, and 90.5 on high in 16.1 minutes. A three-point gap costs twice the time. For Qwen NVFP4 the best result came on medium (86.9), while xhigh was worse (76.9). Qwen INT4-AR on xhigh reached the task's maximum, 91.5, while medium produced unstable 68.5–78.9 and took 28.6 minutes and 105 thousand reasoning tokens. GLM scored 83.9 on high, 76.5 on max, and 68.9 on low: the bug was fixed, but its own tests caught only 12% of the incorrect fixes.
In the second task, incident emails go to the addresses of deleted clients. There are three causes: the monitor deletion service checks the deletion flag before it has been set; the cron job does not look at deleted_at; and the recipient is determined only in the queue, when the client has already been deleted. Fixing one link accomplishes nothing. Here DeepSeek was the only model to score 100, and it did so both on low (5.1 minutes) and on high (10.9 minutes). Medium dropped to 75.9: the fix was perfect in all three runs, but in two of them the agent wrote no tests at all.
Other models need a high level. Qwen INT4-AR scored 98.0 on xhigh but fell to 33.3 on low (range 1.5–72.6). GLM scored 9.2 on low, 55.1 on high, and 72.6 on max. The most alarming case is Qwen NVFP4 on medium: a median of 75.9, but a range from 1.5 to 100. In its worst run, the model "fixed" the bug without changing a single line of code.
What to do with this
Do not transfer the "plan on high, code on low" scheme from cloud models without checking it. For DeepSeek, it works in these measurements: low is almost no worse than high and takes half the time. For GLM and Qwen INT4-AR, cut-down reasoning noticeably hurts the results.
Look not only at the median but also at the spread. A mode with a good median and a failing worst run is more dangerous in an automated pipeline than a slightly weaker but predictable one. If the agent is supposed to write tests, ask for it explicitly; otherwise it loses points on the mutation layer, as DeepSeek did on medium.
The limitations are obvious. Three runs per point is a small sample, the bugs are invented, and there is only one stack. The models use different quantizations (from 2.9 to 4 bits per weight), so you need to compare specific configurations, not "models in general." Still, the methodology, with isolated runs, hidden tests, and checks on the agent's own tests, transfers to your stack. It is worth adopting in order to choose reasoning effort by the numbers.
- Nov 27, 2026Slonik-27B Learns to Write PostgreSQL Kernel Code: Solves 55.6% of Tasks, Up from 31.2%
- Nov 27, 2026Cloud.ru Cuts Nighttime AI Pricing Up to 20x and Offers Subscriptions From 2,400 Rubles
- Nov 27, 2026Agent Context Grows 50x Over 50 Steps, Billed Reading Grows 1,275x
- Nov 27, 2026GigaChat 4 solves 35% of hard programming tasks, DeepSeek solves 74%
Key Questions Answered
How the test works?
The author built a separate repository for testing coding agents on the stack of his work project: PHP 8.4, Symfony 6.4, API Platform 4, Doctrine ORM, Messenger, PHPUnit, and PHPStan level 10. There are three tasks, all about diagnosing and fixing invented bugs. The agent receives a manager's request in business terms: the symptom, the goal, and the desired behavior, with no file names and no mention of "tests." Alongside it sit the dev.sh check script and an AGENTS.md file with the team's rules.
What the numbers show?
In the first task, a client sees other people's site monitors, and the same error sits in four more places in the code. DeepSeek is stable here: 87.5 on low in 7.9 minutes, and 90.5 on high in 16.1 minutes. A three-point gap costs twice the time. For Qwen NVFP4 the best result came on medium (86.9), while xhigh was worse (76.9). Qwen INT4-AR on xhigh reached the task's maximum, 91.5, while medium produced unstable 68.5–78.9 and took 28.6 minutes and 105 thousand reasoning tokens.
What to do with this?
Do not transfer the "plan on high, code on low" scheme from cloud models without checking it. For DeepSeek, it works in these measurements: low is almost no worse than high and takes half the time. For GLM and Qwen INT4-AR, cut-down reasoning noticeably hurts the results. Look not only at the median but also at the spread. A mode with a good median and a failing worst run is more dangerous in an automated pipeline than a slightly weaker but predictable one.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
