Local AI Stats.
Skip to content

DATA-DRIVEN MODEL COMPARISON

Best local LLMs for coding

Compare coding benchmark scores, weight sizes and Pareto trade-offs. LiveCodeBench v6 and SWE-bench Verified stay separate.

Data snapshot: . Scores and weight sizes retain their original sources.

Check your own memory budget

First Pareto choice on LiveCodeBench v6

Nanbeige 4.2 3B · 72.5 / 100 · 2.684 GB · Q4_K_M. This choice is calculated within this page’s eligible set.

LiveCodeBench v6: comparison

Solving coding problems. Version 6 only; published pass rates can vary with generation settings.

LiveCodeBench v6 · GB = 1 billion bytes. Published scores may use different settings or precision.
Model / quantizationWeightsParametersScore / 100Score / GBSources
Nanbeige 4.2 3BQ4_K_M · Pareto choice2.684 GB4.17B72.527.012Get weights
Score source
MiniCPM5 2BQ4_K_M · Pareto choice1.561 GB2.517B69.144.257Get weights
Score source
Granite 4.2 3BQ4_K_M · Pareto choice2.244 GB3.66B69.7131.065Get weights
Score source
Granite 4.2 8BQ4_K_M · Pareto choice5.348 GB8.792B73.2413.695Get weights
Score source
Mellum2.1 12B A2.5B ThinkingQ4_K_M · Pareto choice8.071 GB12.15B8210.159Get weights
Score source
Qwen3.8-27B-GSQ-RCO-GGUFIQ3_XXS · Pareto choice10.094 GB26.896B84.578.378Get weights
Score source
K2 Horizon 0.9BQ4_K_M · Pareto choice0.666 GB1.078B37.456.141Get weights
Score source
Qwen3.8-27BQ4_K_M · Pareto choice16.464 GB27.781B90.35.485Get weights
Score source
Aleph Alpha Kolibri-1Q4_K_M47.454 GB78.103B85.91.81Get weights
Score source
Qwen3.6-27BQ4_K_M16.817 GB27.781B83.94.989Get weights
Score source
Swift 1.5 Qwen3.8-27BQ4_K_M17.442 GB27.321B81.714.685Get weights
Score source
Swift-Qwen3.8-27bQ4_K_M17.442 GB27.781B81.554.675Get weights
Score source
Qwen3.5-27BQ4_K_M16.741 GB27.781B80.74.821Get weights
Score source
Qwen3.6-35B-A3BQ4_K_M22.135 GB35.952B80.43.632Get weights
Score source
gemma-4-31B-itQ4_K_M18.324 GB31.273B804.366Get weights
Score source
gemma-4-26B-A4B-itQ4_K_M16.948 GB25.806B77.14.549Get weights
Score source
Qwen3.5-35B-A3BQ4_K_M22.285 GB35.952B74.63.348Get weights
Score source
gemma-4-12B-itQ4_K_M7.122 GB11.96B7210.11Get weights
Score source
Seed-OSS-36B-InstructQ4_K_M21.762 GB36.151B67.43.097Get weights
Score source
Qwen3-30B-A3B-Thinking-2507Q4_K_M18.557 GB30.532B663.557Get weights
Score source
Qwen3.5-9BQ4_K_M5.681 GB9.653B65.611.548Get weights
Score source
GLM-4.7-FlashQ4_K_M18.312 GB31.221B643.495Get weights
Score source
Agents A1 4BQ4_K_M2.709 GB4.539B59.622.002Get weights
Score source
NeoHorse 1 4BQ4_K_M2.709 GB4.206B59.4321.94Get weights
Score source
LFM2.5 2.6BQ4_K_M1.674 GB2.697B59.4135.48Get weights
Score source
Qwen3.5-4BQ4_K_M2.741 GB4.206B55.820.358Get weights
Score source
Gemma 4 E4BQ4_K_M4.977 GB7.996B5210.448Get weights
Score source
Gemma 4 E2BQ4_K_M3.107 GB5.123B4414.163Get weights
Score source
Qwen3-30B-A3B-Instruct-2507Q4_K_M18.557 GB30.532B43.22.328Get weights
Score source

SWE-bench Verified: comparison

Fixing real software issues with tools. Agent setup and external tools affect these scores. File size covers model weights only. Agent tools and context settings affect SWE-bench results; this is not a standalone coding-model test.

SWE-bench Verified · GB = 1 billion bytes. Published scores may use different settings or precision.
Model / quantizationWeightsParametersScore / 100Score / GBSources
K2 Horizon 3.7BQ4_K_M · Pareto choice3.157 GB5.058B68.621.732Get weights
Score source
K2 Horizon 7BQ4_K_M · Pareto choice5.592 GB8.999B70.612.625Get weights
Score source
Nanbeige 4.2 3BQ4_K_M · Pareto choice2.684 GB4.17B63.623.696Get weights
Score source
Spark X2.5 4BQ4_K_M · Pareto choice2.6 GB4.112B41.615.999Get weights
Score source
Qwen3.6-27BQ4_K_M · Pareto choice16.817 GB27.781B77.24.591Get weights
Score source
Qwen3.5-27BQ4_K_M · Pareto choice16.741 GB27.781B72.44.325Get weights
Score source
Spark X2.5 1.7BQ4_K_M · Pareto choice1.107 GB1.708B28.325.554Get weights
Score source
Ornith-1.5-35B-A3BQ4_K_M · Pareto choice21.864 GB35.952B793.613Get weights
Score source
Xing4.0 29B-A4BIQ4_NLPublished tests use very long contexts; this weight budget does not reproduce those settings.20.104 GB31.215B753.731Get weights
Score source
Xing4.0-29B-A4B-GGUFIQ4_NLPublished tests use very long contexts; this weight budget does not reproduce those settings.20.104 GB31.215B753.731Get weights
Score source
Qwen3.6-35B-A3BQ4_K_M22.135 GB35.952B73.43.316Get weights
Score source
Ornith-1.5-9BQ4_K_M5.78 GB9.197B70.612.214Get weights
Score source
Qwen3.5-35B-A3BQ4_K_M22.285 GB35.952B69.23.105Get weights
Score source
Aleph Alpha Kolibri-1Q4_K_M47.454 GB78.103B66.41.399Get weights
Score source
GLM-4.7-FlashQ4_K_M18.312 GB31.221B59.23.233Get weights
Score source
Seed-OSS-36B-InstructQ4_K_M21.762 GB36.151B562.573Get weights
Score source
NVIDIA-Nemotron-3.5-Lightning-30B-A3BQ4_K_M25.477 GB32.913B51.562.024Get weights
Score source
Mellum2.1 12B A2.5B ThinkingQ4_K_M8.071 GB12.15B475.823Get weights
Score source

HumanEval+: comparison

Writing Python that passes extra edge-case tests. EvalPlus pass@1 on all 164 problems.

HumanEval+ · GB = 1 billion bytes. Published scores may use different settings or precision.
Model / quantizationWeightsParametersScore / 100Score / GBSources
K2 Horizon 0.9BQ4_K_M · Pareto choice0.666 GB1.078B79.9119.937Get weights
Score source
Bonsai 27B (1-bit)Q1_0 · Pareto choiceCustom Prism llama.cpp kernels required; check backend support.3.803 GB26.896B89.6323.565Get weights
Score source
Ternary Bonsai 2 27BPTQ1_0 · Pareto choiceCustom Prism llama.cpp kernels required; check backend support.5.947 GB26.896B95.1215.996Get weights
Score source
Ternary Bonsai 27BPQ2_0Custom Prism llama.cpp kernels required; check backend support.7.165 GB26.896B93.913.105Get weights
Score source
Gmcoder 9BQ8_09.786 GB8.954B90.99.289Get weights
Score source
GLM-4.7-Flash-REAP-23B-A3BQ4_K_M14.114 GB22.996B896.306Get weights
Score source
Noema 1.5 2BQ4_K_M1.274 GB1.882B53.6642.106Get weights
Score source
UltraCoder L3Q4_K_M5.156 GB8.468B53.0510.29Get weights
Score source
Noema 2BQ8_02.012 GB1.882B5024.851Get weights
Score source
DuoNeural Hermes v3Q4_K_M5.156 GB8.468B509.698Get weights
Score source
DuoNeural Hermes v2Q4_K_M5.156 GB8.468B46.38.981Get weights
Score source

How recommendations are calculated

We compare one benchmark at a time. A Pareto choice has no other scored model with both an equal or smaller weight file and an equal or higher score, with at least one strict improvement. The first choice is the frontier point nearest the chart’s top-left corner, using the same rounded memory scale and 0–100 score scale as the main chart. Other frontier choices follow, then other scored models by score.

Score per GB is shown for context; it does not choose the champion. Changing the budget or dataset can change the result. Scores are published point estimates, often for the source checkpoint rather than the selected quantization. They do not establish statistically significant differences or equal evaluation conditions.

RAM, VRAM and unified memory

Use one memory pool. System RAM is used for CPU inference; a dedicated GPU has separate VRAM. Do not add RAM and VRAM as if they were one GPU pool. Partial CPU offload needs a supported backend and can change speed. Unified memory is shared by CPU, GPU and the operating system; software can limit how much the GPU can allocate.

Our initial weight budget reserves 30% of system RAM or unified memory, with a minimum of 2 GB. For VRAM it reserves 20%, with a minimum of 1 GB. These are adjustable planning assumptions, not measured requirements. Context cache, runtime buffers, other programs, multimodal files and concurrent users can need more. A file that passes the budget check is a candidate, not a confirmed hardware-compatible configuration.

Check the model’s runtime and quantization support before downloading. See the Transformers cache documentation and llama.cpp backend documentation. GB uses decimal bytes; operating systems can report GiB instead.

Related memory tiers and tasks

All model records · Memory planning guide