Best local LLM for coding — November 2026
On BenchLM's public evidence, DeepSeek V4.1 Flash 1017 has the highest coding score estimate among the models that meet this page's constraints (63.3). Open weights are only the first requirement. Hardware, quantization, license, and tool access need verification.
Share this shortlist
This address is permanent. It always shows the current shortlist for this job, with the date the data was last updated. The embed shows the same shortlist on your site and links back here.
Cite this shortlist
Free to quote with the credit link. The link always shows the current shortlist for this job.
The shortlist for local LLM for coding
Constraints on this page: a builder choosing by accuracy, running on their own hardware, ordinary input size. Change any of them under Refine. A small score gap does not establish a reliably better model.
Compare DeepSeek V4.1 Flash 1017 vs Kimi K3Full coding leaderboard
01DeepSeek V4.1 Flash 1017Best fit
DeepSeek · Open Weight
63.3
Coding score estimate
- Highest coding estimate among candidates passing the measured filters
- 1M context
- Open weights; check hardware before treating local use as feasible
- Local setup still needs checking: estimate the VRAM required and compare self-hosting cost with API rates.
Estimate sources: LMArena Code Overall, Vals AI coding-task composite
02Kimi K3
Moonshot AI · Open Weight
58.9
Coding score estimate
- Estimate 58.9 on the same coding evidence
- 1.05M context
- Open weights; check hardware before treating local use as feasible
- Local setup still needs checking: estimate the VRAM required and compare self-hosting cost with API rates.
Estimate sources: LMArena Code Overall, Artificial Analysis, LiveBench Coding, Vals AI coding-task composite
Model page and evidenceCompare with DeepSeek V4.1 Flash 1017
03Ling 3.1 Flash
InclusionAI · Open Weight
58.3
Coding score estimate
- Estimate 58.3 on the same coding evidence
- 262K context
- Open weights; check hardware before treating local use as feasible
- Local setup still needs checking: estimate the VRAM required and compare self-hosting cost with API rates.
Model page and evidenceCompare with DeepSeek V4.1 Flash 1017
04MiMo-V2.6-Pro
Xiaomi · Open Weight
57.6
Coding score estimate
- Estimate 57.6 on the same coding evidence
- 1M context
- Open weights; check hardware before treating local use as feasible
- Local setup still needs checking: estimate the VRAM required and compare self-hosting cost with API rates.
Estimate sources: LMArena Code Overall
Model page and evidenceCompare with DeepSeek V4.1 Flash 1017
05Hy4 preview
Tencent · Open Weight
56.6
Coding score estimate
- Estimate 56.6 on the same coding evidence
- 1M context
- Open weights; check hardware before treating local use as feasible
- Local setup still needs checking: estimate the VRAM required and compare self-hosting cost with API rates.
Estimate sources: LMArena Code Overall, Vals AI coding-task composite
Model page and evidenceCompare with DeepSeek V4.1 Flash 1017
Refine for your situation
Each link opens the selector with one answer changed. The address carries the answers, so your version is as shareable as this page.
- Change any answer in the selector
- Cost matters most
- Speed matters most
- Long documents or a large codebase
- Choosing an everyday assistant, not an API
- Check what fits in the VRAM calculator
- Compare local LLMs
- Describe your own job instead
We keep what you type here, drafts included, for 180 days without your IP address or account, to see which jobs people need. Leave out names and other personal details. Privacy
What this shortlist rests on
The coding surface. Each model’s estimate names its own sources above; these are the public weighted benchmarks for the category.
- 26%SWE-bench ProCurrent
- 15%DeepSWECurrent
- 10%CursorBench 3.2Stale
- 10%SciCodeRefreshing
- 8%FrontierSWE v2Current
- 8%LiveCodeBench (Vals)Current
- 5%AA-SciCodeCurrent
- 5%SWE MultilingualCurrent
- 5%SWE-RebenchCurrent
- 4%FrontierCode 1.1 MainCurrent
- 3%VulcanBench v3Current
What to verify before choosing
- Open weights are only the first requirement. Hardware, quantization, license, and tool access need verification.
- Composite scores are estimates. A small score gap does not establish a reliably better model.
Try three representative examples of your own work. Compare errors, time, cost, and the tools available in your actual setup.
Questions
Which is the best local LLM for coding?
On BenchLM's public evidence, DeepSeek V4.1 Flash 1017 by DeepSeek has the highest coding score estimate among models that meet the page's default constraints (63.3). Ordered by task score under the stated constraints. Open weights are only the first requirement. Hardware, quantization, license, and tool access need verification.
What are the alternatives to DeepSeek V4.1 Flash 1017 for local LLM for coding?
Kimi K3 (58.9), Ling 3.1 Flash (58.3), MiMo-V2.6-Pro (57.6), Hy4 preview (56.6) follow on the same evidence. A small gap does not establish a reliably better model; compare them on three representative examples of your own work.
How does BenchLM pick the best local llm for coding?
The page runs the LLM Selector with fixed answers: a builder choosing by accuracy, running on their own hardware, ordinary input size. The selector uses the coding evidence surface, filters by the stated constraints, and orders by that evidence. It never adds a hidden fit score or a bonus for open weights or reasoning style.
Can I change the constraints?
Yes. Every link under "Refine" opens the selector with one answer changed, and the address carries the answers so a result can be shared or reopened against the current dataset.
Method: bench-align-v5.8-2026-09-30. Read the methodology and benchmark confidence pages for how scores and verification statuses are produced.
Watch the local LLM for coding shortlist
One weekly email when rank, price, or benchmark evidence changes make this shortlist worth revisiting.
Read a sample issueJoin 6,100+ subscribers.