Best Local LLMs for Coding in 2026

These are the open-weight code models you can run on your own hardware — ranked by real-world popularity. Local coding models keep your codebase private, work offline, and cost nothing per token. For most developers a 7B–32B model at Q4_K_M is the sweet spot: small enough to fit a single consumer GPU, capable enough for autocomplete, refactors, and agentic coding. Pick a model below to see exactly which GPU or Mac runs it and how fast.

94 Coding Models You Can Run Locally

Qwen2.5 Coder 14B Instruct

Alibaba · 14.8B · runs from 5.1 GB

3.0M 174

Qwen2.5 Coder 14B Instruct is a 14.8B-parameter open language model from Alibaba in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen2.5 Coder 7B Instruct

Alibaba · 7.6B · runs from 3.0 GB

1.8M 756

Qwen2.5 Coder 7B Instruct is a 7.6-billion parameter code-specialized instruction-tuned model from Alibaba Cloud. It is trained on a large corpus of source code and natural language, fine-tuned for programming assistance tasks such as code generation, completion, debugging, and code explanation. The model supports a 128K token context window and runs efficiently on consumer GPUs with 8GB or more of VRAM. It provides a good balance between coding capability and hardware requirements for developers looking to run a local coding assistant. Released under the Apache 2.0 license.

ChatCode

Qwen3 Coder 30B A3B Instruct

Alibaba · 30.5B · runs from 8.8 GB

1.6M 1.2K

Qwen3 Coder 30B A3B Instruct is a code-specialized Mixture of Experts (MoE) model from Alibaba Cloud's Qwen 3 Coder series, with 30 billion total parameters and approximately 3 billion active parameters per forward pass. The MoE architecture allows it to deliver strong coding performance while keeping per-token compute costs low, making it faster at inference than comparably capable dense models. The model is instruction-tuned for programming assistance, code generation, debugging, and software engineering conversation. It requires VRAM proportional to its total 30B parameter count for loading weights, but benefits from efficient inference throughput due to its low active parameter count. Released under the Apache 2.0 license.

ChatCode

Qwen2.5 Coder 32B Instruct

Alibaba · 32.8B · runs from 9.8 GB

1.3M 2.1K

Qwen2.5 Coder 32B Instruct is a 32.8-billion parameter code-specialized model from Alibaba Cloud, instruction-tuned for programming assistance and code generation. It is trained on a large corpus of source code alongside natural language data, making it highly capable for tasks such as code completion, debugging, code explanation, and software engineering dialogue. The model supports a 128K token context window and delivers code generation quality competitive with the best open-weight coding models at any scale. It requires a GPU with at least 24GB of VRAM for quantized inference. Released under the Apache 2.0 license.

ChatCode

Qwen3 Coder Next

Alibaba · 79.7B · runs from 22.3 GB

996.4K 1.5K

Qwen3 Coder Next is a 79.7-billion parameter code-specialized instruction-tuned model from Alibaba Cloud, the next generation of the Qwen Coder series. It is trained extensively on source code and programming-related data, delivering strong performance across code generation, completion, debugging, refactoring, and software engineering dialogue. The model represents a significant step up in coding capability within the Qwen family. Due to its large parameter count, running Qwen3 Coder Next locally requires substantial VRAM, typically 48GB or more at reduced precision, placing it in the territory of professional GPUs or multi-GPU consumer setups. It is a top-tier choice for developers who need the most capable local coding assistant available. Released under the Apache 2.0 license.

ChatCode

Qwen2.5 Coder 7B

Alibaba · 7.6B · runs from 3.6 GB

963.4K 158

Qwen2.5 Coder 7B is a 7.6-billion parameter code-specialized base (pretrained) model from Alibaba Cloud's Qwen 2.5 Coder series. It is trained on a large dataset of source code and natural language but is not instruction-tuned, making it suitable for fine-tuning, code-related research, and custom downstream applications. The model supports a 128K token context window and runs efficiently on consumer GPUs. It serves as the foundation for the Qwen2.5 Coder 7B Instruct variant and community fine-tunes targeting specific programming languages or workflows. Released under the Apache 2.0 license.

ChatCode

Phi 2

Microsoft · 2.8B · runs from 2.1 GB

911.4K 3.5K

Microsoft Phi 2 is a 2.8-billion parameter language model from Microsoft Research that pioneered the concept of small but highly capable language models. Released in late 2023, Phi 2 demonstrated that strategic data curation and training methodology could allow a sub-3B model to outperform many 7B and 13B models on reasoning and coding benchmarks. The model runs on virtually any modern GPU and even on CPU-only setups. While succeeded by Phi 3 and Phi 4, Phi 2 remains historically significant as the model that proved small-scale language models could be genuinely useful for practical tasks. Released under the MIT license.

ChatCode

Phi 3.5 Mini Instruct

Microsoft · 3.8B · runs from 2.3 GB

901.4K 987

Phi 3.5 Mini Instruct is a 3.8B-parameter open language model from Microsoft in the Phi 3 family. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

DeepSeek Coder v2 Lite Instruct

DeepSeek · 15.7B · runs from 7.2 GB

894.1K 609

DeepSeek Coder V2 Lite Instruct is a code-focused mixture-of-experts model with 15.7 billion total parameters, trained to handle both programming tasks and general conversation. It supports a wide range of programming languages and excels at code generation, debugging, explanation, and refactoring. The MoE architecture keeps compute costs manageable despite the model's broad capabilities, and the Lite variant is sized to run on a single consumer GPU. For developers looking for a capable local coding assistant that can also handle general chat, this model offers an appealing combination of code specialization and practical hardware requirements.

ChatCode

Phi 4

Microsoft · 14.7B · runs from 5.1 GB

760.9K 2.3K

Microsoft Phi 4 is a 14-billion parameter language model from Microsoft Research's Phi series, designed to deliver strong reasoning, mathematical, and coding performance at an efficient size. Phi 4 continues the Phi family's focus on maximizing capability per parameter through high-quality training data curation, achieving benchmark scores that rival much larger models on reasoning and STEM tasks. The model runs well on consumer GPUs with 12-16GB of VRAM in quantized formats. It excels at mathematical problem solving, code generation, and structured reasoning. Released under the MIT license.

ChatMathCode

Qwen2.5 Coder 1.5B Instruct

Alibaba · 1.5B · runs from 0.9 GB

721.8K 132

Qwen2.5 Coder 1.5B Instruct is a 1.5B-parameter open language model from Alibaba in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Kimi K2.7 Code

Moonshot AI · 1058.6B · runs from 295.0 GB

714.0K 1.2K

Kimi K2.7 Code is a 1058.6B-parameter open language model from Moonshot AI in the Kimi K2 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

VisionCode

Phi 3 Mini 4k Instruct

Microsoft · 3.8B · runs from 2.7 GB

559.5K 1.4K

Microsoft Phi 3 Mini 4K Instruct is a 3.8-billion parameter instruction-tuned model from Microsoft Research's Phi 3 generation, with a 4K token context window. The Phi 3 family demonstrated that small models trained on carefully curated, high-quality data can achieve performance competitive with models several times their size. The model runs on consumer GPUs with as little as 4-6GB of VRAM when quantized, making it one of the most accessible capable chat models for local deployment. Released under the MIT license.

ChatCode

Phi 4 Mini Instruct

Microsoft · 3.8B · runs from 2.2 GB

380.3K 797

Microsoft Phi 4 Mini Instruct is a 3.8-billion parameter instruction-tuned model from Microsoft Research's Phi 4 family. It applies the Phi series' data-centric training philosophy to a compact model, delivering strong performance in coding, reasoning, and chat tasks relative to its small footprint. The model runs on consumer GPUs with as little as 4-6GB of VRAM when quantized, making it accessible on mainstream and even entry-level hardware. Released under the MIT license.

ChatCode

Deepseek Coder 6.7B Instruct

DeepSeek · 6.7B · runs from 4.2 GB

367.8K 503

DeepSeek Coder 6.7B Instruct is a first-generation code-specialized model trained on a large corpus of source code and programming-related data. At 6.7 billion parameters, it provides solid code completion, generation, and explanation capabilities across popular programming languages while remaining small enough to run on most consumer GPUs. While newer models in the DeepSeek lineup have surpassed it in raw capability, this model remains a practical choice for users who need a lightweight local coding assistant with minimal hardware requirements. It runs well on GPUs with as little as 6 GB of VRAM when quantized.

ChatCode

Qwen2.5 Coder 1.5B

Alibaba · 1.5B · runs from 1.0 GB

252.4K 95

Qwen2.5 Coder 1.5B is a 1.5-billion parameter code-specialized model from Alibaba Cloud's Qwen 2.5 Coder series. It is the smallest Coder variant that balances meaningful code generation capability with extremely low resource requirements, running on GPUs with as little as 2-4GB of VRAM. The model is suitable for lightweight code completion, simple code generation tasks, and as a compact local coding assistant in resource-constrained environments. It supports a 128K token context window. Released under the Apache 2.0 license.

ChatCode

Phi 3 Mini 128k Instruct

Microsoft · 3.8B · runs from 2.7 GB

248.6K 1.7K

Phi 3 Mini 128k Instruct is a 3.8B-parameter open language model from Microsoft in the Phi 3 family. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Starcoder2 3B

BigCode · 3.0B · runs from 1.6 GB

185.8K 221

Starcoder2 3B is a 3.0B-parameter open language model from BigCode in the StarCoder family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen2.5 Coder 3B Instruct

Alibaba · 3.1B · runs from 1.4 GB

179.5K 116

Qwen2.5 Coder 3B Instruct is a 3.1B-parameter open language model from Alibaba in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Phi 3.5 MoE Instruct

Microsoft · 41.9B · runs from 12.1 GB

159.5K 574

Phi 3.5 MoE Instruct is a 41.9B-parameter open language model from Microsoft in the Phi 3 family. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

MiMo V2.5 Pro

Xiaomi · 1023.2B · runs from 281.9 GB

68.6K 712

MiMo V2.5 Pro is a 1023.2B-parameter open language model from Xiaomi. It supports a context window of up to 1,048,576 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatFunctionsCode

VibeThinker 3B

WeiboAI · 3.1B · runs from 1.7 GB

67.0K 806

VibeThinker 3B is a 3.1B-parameter open language model from WeiboAI. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathCodeReasoning

Phi 1 5

Microsoft · 1.4B · runs from 0.7 GB

60.9K 1.4K

Phi 1 5 is a 1.4B-parameter open language model from Microsoft in the Phi family. It supports a context window of up to 2,048 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen2.5 Coder 3B

Alibaba · 3.1B · runs from 1.4 GB

48.4K 55

Qwen2.5 Coder 3B is a 3.1B-parameter open language model from Alibaba in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Deepseek Coder 1.3B Instruct

DeepSeek · 1.3B · runs from 1.3 GB

46.2K 173

DeepSeek Coder 1.3B Instruct is an ultra-compact code model designed for environments where hardware resources are extremely limited. Despite having just 1.3 billion parameters, it can handle basic code completion, simple generation tasks, and code Q&A across common programming languages. This is one of the smallest viable code models available, capable of running on integrated graphics or very low-end dedicated GPUs. It is well suited for edge deployment, embedded development environments, or as a fast local autocomplete engine where response speed matters more than handling complex multi-file reasoning tasks.

ChatCode

Qwen2.5 Coder 0.5B

Alibaba · 494M · runs from 0.5 GB

39.9K 58

Qwen2.5 Coder 0.5B is a 494-million parameter code-specialized model from Alibaba Cloud, the smallest in the Qwen 2.5 Coder series. It is designed for ultra-lightweight deployment where code-aware text generation is needed with minimal hardware resources. The model runs on virtually any GPU and even on CPU-only setups. While limited in capability compared to larger coding models, it is useful for basic code completion, prototyping, and experimentation. It supports a 128K token context window. Released under the Apache 2.0 license.

ChatCode

Gemma 4 12B Coder Fable5 Composer2.5 V1

yuxinlu1 · 12.0B · runs from 6.1 GB

37.9K 55

Gemma 4 12B Coder Fable5 Composer2.5 V1 is a 12.0B-parameter open language model from yuxinlu1 in the Gemma 4 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeReasoning

Qwen3.5 4B Super Coder

jica98 · 4B · runs from 2.2 GB

35.1K 44

Qwen3.5 4B Super Coder is a 4B-parameter open language model from jica98 in the Qwen 3.5 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Mythos Nano

squ11z1 · 3.1B · runs from 1.7 GB

34.1K 103

Mythos Nano is a 3.1B-parameter open language model from squ11z1. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatReasoningMathCode

Phi 4 Mini Reasoning

Microsoft · 3.8B · runs from 1.6 GB

33.6K 240

Phi 4 Mini Reasoning is a 3.8B-parameter open language model from Microsoft in the Phi 4 family. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathCodeReasoning

Codegemma 2B

Google · 2.5B · runs from 1.2 GB

31.0K 100

Codegemma 2B is a 2.5B-parameter open language model from Google in the Gemma 2 family. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen3 Coder 480B A35B Instruct

Alibaba · 480.2B · runs from 144.6 GB

29.0K 1.4K

Qwen3 Coder 480B A35B Instruct is Alibaba's largest code-specialized model, a massive 480.2-billion-parameter mixture-of-experts system with roughly 35 billion parameters active per token. This is the most powerful open-weight coding model in the Qwen3 family, designed for professional-grade code generation, analysis, and software engineering tasks. Running this model locally is a serious undertaking that requires multi-GPU server-class hardware with several hundred gigabytes of combined VRAM. For users with access to such infrastructure, it offers exceptional code quality and understanding that rivals leading proprietary coding assistants, all while keeping data and computation entirely under local control.

ChatCode

CodeLlama 34B HF

Meta · 33.7B · runs from 15.0 GB

27.6K 178

CodeLlama 34B HF is a 33.7B-parameter open language model from Meta in the Code Llama family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Phi 4 Reasoning Plus

Microsoft · 14.7B · runs from 4.8 GB

24.7K 343

Phi 4 Reasoning Plus is a 14.7B-parameter open language model from Microsoft in the Phi 4 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathCodeReasoning

North Mini Code 1.0

Cohere · 30.5B · runs from 8.8 GB

22.7K 530

North Mini Code 1.0 is a 30.5B-parameter open language model from Cohere in the North family. It supports a context window of up to 500,000 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeFunctions

Starcoder

BigCode · 15.8B · runs from 7.4 GB

22.3K 3.0K

Starcoder is a 15.8B-parameter open language model from BigCode in the StarCoder family. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Sqlcoder 7B 2

defog · 6.7B · runs from 4.2 GB

20.5K 438

SQLCoder 7B 2 is a 6.7-billion-parameter model from Defog, purpose-built for converting natural-language questions into SQL queries. Fine-tuned specifically on text-to-SQL tasks, it consistently outperforms much larger general-purpose models when the job is generating accurate, executable SQL against real database schemas. For developers and data analysts who regularly query databases, running SQLCoder locally means fast, private SQL generation without sending proprietary schema details to an external API. It works best when provided with table definitions as context and is particularly strong on PostgreSQL, MySQL, and SQLite dialects.

ChatCode

LocoOperator 4B

LocoreMind · 4.0B · runs from 2.2 GB

17.1K 287

LocoOperator 4B is a 4.0B-parameter open language model from LocoreMind. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeFunctions

Deepseek Coder 1.3B Base

DeepSeek · 1.3B · runs from 1.3 GB

16.9K 111

Deepseek Coder 1.3B Base is a 1.3B-parameter open language model from DeepSeek in the DeepSeek Coder family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Phi 4 Reasoning

Microsoft · 14.7B · runs from 4.8 GB

15.4K 228

Phi 4 Reasoning is a 14.7B-parameter open language model from Microsoft in the Phi 4 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathCodeReasoning

Phi 3 Small 8k Instruct

Microsoft · 7.4B · runs from 15.3 GB

13.0K 178

Phi 3 Small 8k Instruct is a 7.4B-parameter open language model from Microsoft in the Phi 3 family. It supports a context window of up to 8,192 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwopus3.6 27B Coder

Jackrong · 27.8B · runs from 56.3 GB

13.0K 44

Qwopus3.6 27B Coder is a 27.8B-parameter open language model from Jackrong. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatReasoningFunctionsCode

Deepseek Coder 7B Instruct V1.5

DeepSeek · 6.9B · runs from 4.2 GB

12.9K 147

Deepseek Coder 7B Instruct V1.5 is a 6.9B-parameter open language model from DeepSeek in the DeepSeek Coder family. It supports a context window of up to 4,096 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

DeepHat V1 7B

DeepHat · 7.6B · runs from 3.6 GB

11.9K 200

DeepHat V1 7B is a 7.6B-parameter open language model from DeepHat. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen2.5 Coder 7B Instruct Abliterated

huihui-ai · 7.6B · runs from 3.0 GB

11.5K 16

Qwen2.5 Coder 7B Instruct Abliterated is a 7.6B-parameter open language model from huihui-ai in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Phi 3 Medium 4k Instruct

Microsoft · 14.0B · runs from 6.7 GB

11.3K 225

Phi 3 Medium 4k Instruct is a 14.0B-parameter open language model from Microsoft in the Phi 3 family. It supports a context window of up to 4,096 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Phi 1

Microsoft · 1.4B · runs from 0.7 GB

10.6K 221

Phi 1 is a 1.4B-parameter open language model from Microsoft in the Phi family. It supports a context window of up to 2,048 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Starcoder2 15B

BigCode · 16.0B · runs from 7.3 GB

10.2K 672

Starcoder2 15B is a 16.0B-parameter open language model from BigCode in the StarCoder family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

IQuest Coder V1 40B Loop Instruct

IQuestLab · 39.8B · runs from 80.6 GB

8.6K 322

IQuest Coder V1 40B Loop Instruct is a 39.8B-parameter open language model from IQuestLab. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen2.5 Coder 3B Claude Opus 4.6 Distilled

ryzdfm · 3.1B · runs from 1.7 GB

7.9K 14

Qwen2.5 Coder 3B Claude Opus 4.6 Distilled is a 3.1B-parameter open language model from ryzdfm in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatReasoningCode

Starcoder2 7B

BigCode · 7.2B · runs from 3.5 GB

7.8K 218

Starcoder2 7B is a 7.2B-parameter open language model from BigCode in the StarCoder family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen2.5 Coder 32B

Alibaba · 32.8B · runs from 9.8 GB

5.2K 159

Qwen2.5 Coder 32B is a 32.8B-parameter open language model from Alibaba in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

DeepSeek Coder v2 Instruct

DeepSeek · 235.7B · runs from 73.5 GB

4.9K 694

DeepSeek Coder v2 Instruct is a 235.7B-parameter open language model from DeepSeek in the DeepSeek Coder family. It supports a context window of up to 163,840 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Gemma 4 31B IT Heretic

coder3101 · 31.3B · runs from 10.2 GB

4.9K 66

Gemma 4 31B IT Heretic is a 31.3B-parameter open language model from coder3101 in the Gemma 4 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

VisionCode

DeepSeek Coder v2 Lite Base

DeepSeek · 15.7B · runs from 7.4 GB

4.8K 105

DeepSeek Coder v2 Lite Base is a 15.7B-parameter open language model from DeepSeek in the DeepSeek Coder family. It supports a context window of up to 163,840 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Deepseek Coder 33B Instruct

DeepSeek · 33.3B · runs from 14.6 GB

4.4K 578

Deepseek Coder 33B Instruct is a 33.3B-parameter open language model from DeepSeek in the DeepSeek Coder family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen2.5 Coder 14B

Alibaba · 14.8B · runs from 7.0 GB

3.7K 81

Qwen2.5 Coder 14B is a 14.8B-parameter open language model from Alibaba in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

CodeQwen1.5 7B

Alibaba · 7.3B · runs from 3.5 GB

3.3K 104

CodeQwen1.5 7B is a 7.3B-parameter open language model from Alibaba in the Qwen family. It supports a context window of up to 65,536 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Huihui Qwen3 Coder 30B A3B Instruct Abliterated

huihui-ai · 30.5B · runs from 8.8 GB

3.1K 35

Huihui Qwen3 Coder 30B A3B Instruct Abliterated is a 30.5B-parameter open language model from huihui-ai in the Qwen 3 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Codegemma 7B IT

Google · 8.5B · runs from 4.0 GB

2.6K 255

Codegemma 7B IT is a 8.5B-parameter open language model from Google in the Gemma family. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Mellum 4B Base

JetBrains · 4.0B · runs from 2.8 GB

2.4K 449

Mellum 4B Base is a 4.0B-parameter open language model from JetBrains in the Mellum family. It supports a context window of up to 8,192 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Kimi Dev 72B

Moonshot AI · 72.7B · runs from 21.0 GB

2.4K 387

Kimi Dev 72B is Moonshot AI's developer-focused model built on the Qwen2.5-72B architecture, specifically optimized for coding tasks, tool use, and agentic workflows. It combines strong general-purpose chat abilities with specialized developer capabilities, making it a compelling choice for software engineering assistance. At 72 billion parameters it requires substantial hardware, typically needing 40+ GB of VRAM at 4-bit quantization, which puts it in reach of dual consumer GPU setups or single professional cards like the A100 or RTX 6000 Ada. If you are primarily looking for a local coding assistant with strong reasoning skills, Kimi Dev is a top-tier option in the 70B class.

ChatCode

Qwen2.5 Coder 7B Bird Cot

jk200201 · 7.6B · runs from 3.6 GB

2.0K 2

Qwen2.5 Coder 7B Bird Cot is a 7.6B-parameter open language model from jk200201 in the Qwen 2.5 family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatReasoningCode

Qwen3 42B A3B 2507 Thinking Abliterated Uncensored TOTAL RECALL v2 Medium MASTER CODER

DavidAU · 42.4B · runs from 18.4 GB

1.9K 35

Qwen3 42B A3B 2507 Thinking Abliterated Uncensored TOTAL RECALL v2 Medium MASTER CODER is a 42.4B-parameter open language model from DavidAU in the Qwen 3 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeReasoning

NEXUS Coder

fableforge-ai · 1.5B · runs from 1.0 GB

1.8K 4

NEXUS Coder is a 1.5B-parameter open language model from fableforge-ai. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Fluxion 370M Instruct

nareshmeena12 · 430M · runs from 0.6 GB

1.5K 5

Fluxion 370M Instruct is a 430M-parameter open language model from nareshmeena12. It supports a context window of up to 4,096 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeMath

Gemma 4 E2B IT Qat Q4 0 Unquantized Heretic

coder3101 · 5.1B · runs from 2.5 GB

1.5K 4

Gemma 4 E2B IT Qat Q4 0 Unquantized Heretic is a 5.1B-parameter open language model from coder3101 in the Gemma 4 family. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

Code

Qwopus3.5 4B Coder

Jackrong · 4.7B · runs from 9.8 GB

1.4K 11

Qwopus3.5 4B Coder is a 4.7B-parameter open language model from Jackrong. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatReasoningFunctionsCode

Kimi K2.7 Code DFlash

NVIDIA · 3.5B · runs from 1.8 GB

1.3K 10

Kimi K2.7 Code DFlash is a 3.5B-parameter open language model from NVIDIA in the Kimi K2 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Jan Code 4B

janhq · 4.4B · runs from 2.4 GB

1.3K 81

Jan Code 4B is a 4.4B-parameter open language model from janhq. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatFunctionsCode

LocoTrainer 4B

LocoreMind · 4.0B · runs from 2.2 GB

1.2K 163

LocoTrainer 4B is a 4.0B-parameter open language model from LocoreMind. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeFunctions

Fable Coder 35B A3B

Achilles1089 · 36.0B · runs from 72.3 GB

1.2K 6

Fable Coder 35B A3B is a 36.0B-parameter open language model from Achilles1089. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

OmniCoder 9B

Tesslate · 9.4B · runs from 3.5 GB

1.2K 662

OmniCoder 9B is a 9.4B-parameter open language model from Tesslate. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeFunctions

Soren 1 Small

syntropy-ai · 1.9B · runs from 4.2 GB

1.2K 32

Soren 1 Small is a 1.9B-parameter open language model from syntropy-ai. It supports a context window of up to 1,048,576 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatReasoningCodeMath

Phi 4 Mini Flash Reasoning

Microsoft · 3.9B · runs from 2.3 GB

1.1K 279

Phi 4 Mini Flash Reasoning is a 3.9B-parameter open language model from Microsoft in the Phi 4 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathCodeReasoning

Sweep Next Edit v2 7B

sweepai · 7.6B · runs from 3.6 GB

995 32

Sweep Next Edit v2 7B is a 7.6B-parameter open language model from sweepai. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

VibeThinker 1.5B

WeiboAI · 1.8B · runs from 1.1 GB

968 524

VibeThinker 1.5B is a 1.8B-parameter open language model from WeiboAI. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathCode

MiMo V2.5 Pro Base

Xiaomi · 1023.2B · runs from 435.4 GB

899 40

MiMo V2.5 Pro Base is a 1023.2B-parameter open language model from Xiaomi. It supports a context window of up to 1,048,576 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatFunctionsCode

OpenReasoning Nemotron 32B

NVIDIA · 32.8B · runs from 14.8 GB

702 126

OpenReasoning Nemotron 32B is a 32.8B-parameter open language model from NVIDIA in the Nemotron family. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeReasoning

Jan v3 4B Base Instruct

janhq · 4.4B · runs from 2.0 GB

692 62

Jan v3 4B Base Instruct is a 4.4B-parameter open language model from janhq. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Stable DiffCoder 8B Instruct

ByteDance-Seed · 8.3B · runs from 17.1 GB

691 126

Stable DiffCoder 8B Instruct is a 8.3B-parameter open language model from ByteDance-Seed. It supports a context window of up to 8,192 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Steelman 14B Ada

the-clanker-lover · 14B · runs from 6.5 GB

524 4

Steelman 14B Ada is a 14B-parameter open language model from the-clanker-lover. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Kai 30B Instruct

NoesisLab · 32.8B · runs from 14.8 GB

490 21

Kai 30B Instruct is a 32.8B-parameter open language model from NoesisLab. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathReasoningCode

Phi 4 Quantized.w8a8

RedHatAI · 14.7B · runs from 7.0 GB

438 3

Phi 4 Quantized.w8a8 is a 14.7B-parameter open language model from RedHatAI in the Phi 4 family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatMathCode

Dhara 70M

codelion · 71M · runs from 0.5 GB

357 47

Dhara 70M is a 71M-parameter open language model from codelion. It supports a context window of up to 1,024 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Nerdsking Python Coder 7B I

Nerdsking · 7B · runs from 3.3 GB

311 18

Nerdsking Python Coder 7B I is a 7B-parameter open language model from Nerdsking. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Qwen3 Code Reasoning 4B

GetSoloTech · 4B · runs from 2.2 GB

284 15

Qwen3 Code Reasoning 4B is a 4B-parameter open language model from GetSoloTech in the Qwen 3 family. It supports a context window of up to 262,144 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeReasoning

NousCoder 14B

Nous Research · 14.8B · runs from 6.9 GB

215 219

NousCoder 14B is a 14.8B-parameter open language model from Nous Research. It supports a context window of up to 81,920 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

SmolLM2 70M

codelion · 69M · runs from 0.4 GB

197 3

SmolLM2 70M is a 69M-parameter open language model from codelion in the SmolLM family. It supports a context window of up to 8,192 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Mistral Small 3.2 24B Qiskit

Qiskit · 24.0B · runs from 10.9 GB

184 7

Mistral Small 3.2 24B Qiskit is a 24.0B-parameter open language model from Qiskit in the Mistral family. It supports a context window of up to 131,072 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

OpenCodeReasoning Nemotron 1.1 32B

NVIDIA · 32.8B · runs from 14.8 GB

136 48

OpenCodeReasoning Nemotron 1.1 32B is a 32.8B-parameter open language model from NVIDIA in the Nemotron family. It supports a context window of up to 65,536 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCodeReasoning

NextCoder 7B

Microsoft · 7.6B · runs from 3.6 GB

135 33

NextCoder 7B is a 7.6B-parameter open language model from Microsoft. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

XiYanSQL QwenCoder 32B 2504

XGenerationLab · 32B · runs from 14.4 GB

127 19

XiYanSQL QwenCoder 32B 2504 is a 32B-parameter open language model from XGenerationLab in the Qwen family. It supports a context window of up to 32,768 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

Deepseek Coder 1.3B Kexer

JetBrains · 1.3B · runs from 1.3 GB

18 9

Deepseek Coder 1.3B Kexer is a 1.3B-parameter open language model from JetBrains in the DeepSeek Coder family. It supports a context window of up to 16,384 tokens. See its VRAM requirements by quantization and which GPUs and Macs can run it locally below.

ChatCode

How much VRAM do you need for a local coding model?

A coding model's hardware needs scale with parameter count and quantization. A 7B model runs comfortably on an 8 GB GPU at Q4_K_M; a 32B coder wants ~20 GB (a 24 GB card like the RTX 3090/4090); and mixture-of-experts coders like Qwen3-Coder-30B-A3B run far faster than their total size suggests because only a few billion parameters are active per token. Apple Silicon Macs with 32 GB+ of unified memory are excellent for larger coders. Open any model to see its full VRAM-by-quantization table and the exact hardware that fits.

Frequently Asked Questions

What is the best local LLM for coding in 2026?

For most setups, Qwen2.5-Coder (7B for 8 GB GPUs, 32B for 24 GB) and Qwen3-Coder-30B-A3B are the strongest open coding models you can run locally. Microsoft's Phi-4 is a great smaller all-rounder. The right pick depends on your VRAM — open any model below to confirm it fits your hardware.

Can I run a coding LLM on my laptop?

Yes. 1.5B–7B coding models (e.g. Qwen2.5-Coder 1.5B/7B) run on laptops with 8–16 GB of RAM or VRAM via Ollama or LM Studio. MoE models with low active-parameter counts also run well on modest hardware.

Are local coding models as good as cloud models?

The best open coders (32B+ and large MoE) now rival mid-tier cloud models for everyday coding, autocomplete, and refactoring, while running fully offline and privately. Very large frontier models still lead on the hardest tasks, but the gap keeps closing.

How do I run these coding models?

Install Ollama or LM Studio, then pull the model — for example `ollama run qwen2.5-coder:7b`. Each model page lists the exact install command and the GPUs and Macs that can run it at each quantization level.