Part of Best LLM for Coding
Best Local LLM for Coding
Kimi K3 ranks first for Best Local LLM for Coding as of December 3, 2026.[1][2][3][4] It scores 81.45% on LiveBench Coding (#12 of 59), an objective evaluation of code generation and completion. GLM 5.2 scores within two points, so read the top two as close rather than as a measured gap. GLM 5.2 is the next-ranked alternative. Resolves 62.88% on SWE-rebench (#4 of 11) with tools, showing strong agentic coding performance, though its LiveBench Coding score of 79.65% (#19 of 59) and LMArena WebDev rank of #34 indicate more mixed results on other coding benchmarks.
About this recommendation
- Updated
- Evidence through
- Sources
- 14
- Revision
- v161
Decision audit
Why this result
Inspect the inputs and the computed order behind the recommendation.
Models screened
24
live candidates
Evaluation feeds
5
task-weighted
Winner coverage
53%
intended feed weight
Largest provider share
3 of 8
Moonshot AI
MoonshotAI: Kimi K3 leads the measured task comparison with 2 independent evaluation families. Community volume, release age and usage popularity add no ranking points. This category also weights its stated price or context criteria. The leading scores are close under this policy.
Real-world track record is still developing. The recommendation can lead on independent measurements while practitioner reports accumulate.
Sources evaluated
These are the weights used in scoring. Missing measurements are omitted from each model’s average. A feed with no result for any model released in the last 60 days is stale and does not score until it catches up.
| Evaluation feed | Weight | Winner result | Field measured |
|---|---|---|---|
| Aider Polyglotstale | 0% | no current result | 0/24 |
| LiveBench Coding (2026-06-25)Observed 2026-10-18 · evaluation date not supplied · kimi-k3failing; last successful check 2026-10-18 | 44% | #12 | 14/24 |
| LMArena WebDevObserved 2026-12-02 · evaluation date not supplied · max effort | 36% | #20 | 22/24 |
| SWE-rebenchstale | 0% | no current result | 0/24 |
| price weight | 20% | 55/100 | 24/24 |
Provider concentration
Each exact model is scored separately; provider identity is not a ranking input.
- Moonshot AI3 models
- Z.ai3 models
- mistralai1 model
- Qwen1 model
Decision table
Every published model is shown in computed order. Practitioner sources are distinct community threads, not the citations repeated in the prose below.
Moonshot AI · coverage 53%
#12 LiveBench Coding · #20 LMArena WebDev
Z.ai · coverage 53% · close score
#19 LiveBench Coding · #34 LMArena WebDev
Z.ai · coverage 53%
#22 LiveBench Coding · #31 LMArena WebDev
Z.ai · coverage 53%
#22 LiveBench Coding · #33 LMArena WebDev
Qwen · coverage 53%
#36 LMArena WebDev · #43 LiveBench Coding
Moonshot AI · coverage 53%
#26 LiveBench Coding · #56 LMArena WebDev
mistralai · coverage 53%
#35 LiveBench Coding · #43 LMArena WebDev
Moonshot AI · coverage 53%
#46 LiveBench Coding · #62 LMArena WebDev
Task score averages the available, task-weighted measurements. Benchmark positions compare models matched to our catalog. Models measured by at least two independent evaluator families are considered first. Missing tests, practitioner report counts, popularity and release age add no points. Coverage describes evidence breadth, not a probability of correctness. Scores within two points are shown as close under this policy; this is not a statistical confidence interval. When the leading scores are that close, the model measured by more evaluator families ranks first.
- 01
Kimi K3Moonshot AI · $0.19 in / $16 out per M tokens · 1.0M context · open-weight
Kimi K3 scores 81.45% on LiveBench Coding (#12 of 59), an objective evaluation of code generation and completion.
Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.
- 02
GLM 5.2Z.ai · $0.007 in / $5.80 out per M tokens · 1.0M context · open-weight
Resolves 62.88% on SWE-rebench (#4 of 11) with tools, showing strong agentic coding performance, though its LiveBench Coding score of 79.65% (#19 of 59) and LMArena WebDev rank of #34 indicate more mixed results on other coding benchmarks.
Best when: Use for software engineering agent tasks with tool use, where it ranks 4th of 11 on SWE-rebench with 62.88% resolution rate.Watch out for
- Avoid FP2 quantization for local deployment: it causes over 17% accuracy loss, making performance worse than Claude Sonnet 4.6.
- Expect extremely slow inference on consumer hardware, with reports of 0.15-1 tok/s making local coding workflows impractical.
- 03
GLM 5.3Z.ai · $0.070 in / $1.40 out per M tokens · 1.0M context · open-weight
Scores 78.95% on LiveBench Coding (#22 of 59) and ranks #31 of 105 on LMArena WebDev coding arena (Elo 1623), showing solid but not top-tier coding performance among open-weight models.
Best when: Use for general code generation tasks where 78.95% LiveBench Coding performance is acceptable.No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.
- 04
GLM 5.3 FlashZ.ai · $0.15 in / $0.50 out per M tokens · 1.0M context · open-weight
Scores 78.95% on LiveBench Coding (#22 of 59) and ranks #33 of 105 on LMArena WebDev coding arena (Elo 1613), with community reports of successful local deployment optimizations and quality testing capabilities.
Best when: Use for local quality testing with thinking enabled and extended token limits up to 16384 thinking tokens.No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.
- 05
Qwen3.8 27BQwen · $0.060 in / $1.96 out per M tokens · 1.0M context · open-weight
Qwen3.8 27B ranks #36 of 105 on LMArena's WebDev coding arena (Elo 1590), a leaderboard built from blind human preference votes on coding tasks.
Best when: Its strongest result for this task is on LMArena WebDev, which measures practical, real-world coding quality. - 06
Kimi K2.6Moonshot AI · $0.65 in / $3.41 out per M tokens · 262K context · open-weight
Scores 78.57% on LiveBench Coding (#26 of 59) but ranks lower at #56 on LMArena WebDev coding arena (Elo 1509), with extreme hardware requirements making local deployment impractical for most users.
Best when: Use for code generation benchmarks where 78.57% LiveBench Coding performance is the priority over human preference rankings.Watch out for
- Avoid unless you have extreme hardware: Q8 K XL quantization needs ~600GB disk and ~700GB VRAM, while full precision GGUF requires 2.05TB disk space.
- 07
Mistral Large 4mistralai · $0.70 in / $2.10 out per M tokens · 1.0M context · open-weight
Mistral Large 4 scores 77.16% on LiveBench Coding (#35 of 59), an objective evaluation of code generation and completion.
Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.
- 08
Kimi K2.7 CodeMoonshot AI · $0.63 in / $3.50 out per M tokens · 262K context · open-weight
Kimi K2.7 Code scores 73.96% on LiveBench Coding (#46 of 59), an objective evaluation of code generation and completion.
Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.
Frequently asked
- What is the best model for Best Local LLM for Coding?
- Kimi K3 ranks first as of December 3, 2026. Kimi K3 scores 81.45% on LiveBench Coding (#12 of 59), an objective evaluation of code generation and completion.[1]
- What is the best alternative to Kimi K3?
- GLM 5.2 ranks second. Resolves 62.88% on SWE-rebench (#4 of 11) with tools, showing strong agentic coding performance, though its LiveBench Coding score of 79.65% (#19 of 59) and LMArena WebDev rank of #34 indicate more mixed results on other coding benchmarks.[2][3][4]
- Can I self-host the top pick for Best Local LLM for Coding?
- Yes. Kimi K3 is open-weight, so it can run on your own hardware as well as through hosted routes.[1]
Sources
- 1
“Within the 59 catalog models matched to this evaluation: Scores 81.45% on LiveBench Coding (#12 of 59), an objective evaluation of code generation and completion.”
LiveBench Coding · Benchmark · Oct 18, 2026 - 2
“Within the 11 catalog models matched to this evaluation: Resolves 62.88% ± 1.19 standard error on SWE-rebench (#4 of 11) using tools, comparing the same task window (2026-05-15 to 2026-07-01) and agent setup across models.”
SWE-rebench · Benchmark · Dec 3, 2026 - 3
“Within the 59 catalog models matched to this evaluation: Scores 79.65% on LiveBench Coding (#19 of 59), an objective evaluation of code generation and completion.”
LiveBench Coding · Benchmark · Oct 18, 2026 - 4
“Within the 105 catalog models matched to this evaluation: Ranks #34 of 105 on LMArena's WebDev coding arena (Elo 1608), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Dec 2, 2026 - 5
“"GLM 5.2 is just shy of GPT 5.4"... If your running the full model. As in have 750 (FP8) to 1.5TB(FP16) of memory available. Do not mix the benchmark results of GLM 5.2 FP16 FP8 with FP4 or FP2. * FP4 will mean a accuracy loss of about 3%. Not noticeable but more chance for mistakes. * FP2 ... what is what most people are able to run at home, for a "reasonable" price. Your looking at over 17% loss in accuracy. At that point, your running at less then claude-sonnet-4.6, as the issues compound wi…”
benjiro29 · Hacker News · Jun 22, 2026 - 6
“Hi @VincentMarquez , Thanks for the great reading, I tried to experiment running GLM-5.2 on an nvidia Spark using colibri and all your recommendations, but I can't reach anything remotely close to your results. I'm actually reaching anything close to 1 tok/s ... I took the advised pointed to me by @mohamedmastouri2000-boop here ( https://github.com/JustVugg/colibri/issues/161 ) but it's not helping... What am I doing wrong there?”
RoiArthurB · GitHub · Aug 1, 2026 - 7
“Commit 81f08a09e5651ce52616dc720f68810f9021c0be Hardware and storage Hi there, I use Opus 4.8 to drive the benchmark, it add the following benchmark results to the docs/benchmarks.md, appreciate if you have any idea to improve the performance: Community benchmarks (measured) Real numbers from real machines, stock build (setup.sh, gcc 13), greedy decoding, --ngen 32, MTP active: | machine | disk (iobench, 19 MB × 64, 8 threads) | config | measured | |---|---|---|---| | Intel i5-…”
limcheekin · GitHub · Jul 24, 2026 - 8
“Within the 59 catalog models matched to this evaluation: Scores 78.95% on LiveBench Coding (#22 of 59), an objective evaluation of code generation and completion.”
LiveBench Coding · Benchmark · Oct 18, 2026 - 9
“BENCHLOCAL_MODEL_TURN_TIMEOUT=1200 bash scripts/quality-test.sh --full --enable-thinking --sampling-from-server --max-tokens 4096 --thinking-max-tokens 16384 --timeout-per-case 1200 > 20260831-glm-thinking-quality.md [quality-test] mode=--full endpoint=http://localhost:8119 model=glm-5.3-flash timeout=1200s [quality-test] results JSON → /home/paul/club-3090/results/quality/quality-2026-08-31T22-42-22.json [quality-test] sampling: inherited from server (non-canonical) [quality-test] thinking: en…”
paulp83 · GitHub · Sep 1, 2026 - 10
“Within the 105 catalog models matched to this evaluation: Ranks #36 of 105 on LMArena's WebDev coding arena (Elo 1590), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Dec 2, 2026 - 11
“Within the 59 catalog models matched to this evaluation: Scores 78.57% on LiveBench Coding (#26 of 59), an objective evaluation of code generation and completion.”
LiveBench Coding · Benchmark · Oct 18, 2026 - 12
“People thinking to self-host Kimi K2.6 had better be prepared for how big it is. Q8 K XL quantization for instance is around 600GB on disk. I would bet about 700GB of VRAM needed. Quantizations lower than Q8 are probably worthless for quality. Or 2.05TB on disk for the full precision GGUF. https: huggingface.co unsloth Kimi-K2.6-GGUF If you can afford the hardware to run Kimi K2.6 at any decent speed for more than 1 simultaneous user, you probably have a whole team of people on staff who are al…”
walrus01 · Hacker News · May 3, 2026 - 13
“Within the 59 catalog models matched to this evaluation: Scores 77.16% on LiveBench Coding (#35 of 59), an objective evaluation of code generation and completion.”
LiveBench Coding · Benchmark · Oct 18, 2026 - 14
“Within the 59 catalog models matched to this evaluation: Scores 73.96% on LiveBench Coding (#46 of 59), an objective evaluation of code generation and completion.”
LiveBench Coding · Benchmark · Oct 18, 2026
Rankings synthesized from community evidence and open benchmarks. See methodology. Not driven by vendor marketing.