DeepSeek Coder
DeepSeek's code completion model. Strong for the size, especially at 6.7B and 33B.
Best for small-footprint code completion
Sizes 1.3B · 6.7B · 33B
Context 16K
License DeepSeek License
Min VRAM (default size, Q4) 1 GB
Rec VRAM 8 GB
What is DeepSeek Coder?
DeepSeek Coder is DeepSeek's open-weights language model. Released in 2023-11, it ships in 3 sizes (1.3B, 6.7B, 33B) and is licensed DeepSeek License. The most popular use case is small-footprint code completion.
VRAM and hardware
The smallest 1.3B size needs at least 1 GB VRAM; the largest 33B needs around 1 GB.
| Size | Min VRAM (Q4_K_M) | Recommended VRAM | Tokens/sec on 3090 |
|---|---|---|---|
| 1.3B | 1 GB | 2 GB | ~34 tok/s |
| 6.7B | 5 GB | 8 GB | ~25 tok/s |
| 33B | 20 GB | 30 GB | ~17 tok/s |
How to run DeepSeek Coder locally
Option 1: Ollama (simplest)
ollama pull deepseek-coder
ollama run deepseek-coder Option 2: Mullama (production)
mullama pull deepseek-coder
mullama run deepseek-coder Option 3: llama.cpp (CLI)
# Download a GGUF from Hugging Face (search "deepseek-coder gguf")
./llama-cli -m deepseek-coder.Q4_K_M.gguf -p "Hello, AI!" Option 4: Python with Mullama or llama-cpp-python
from mullama import Model, Context
model = Model.load("deepseek-coder.Q4_K_M.gguf", n_gpu_layers=99)
ctx = Context(model, n_ctx=4096)
print(ctx.generate("Hello, AI!", 256)) What you can build with DeepSeek Coder
- code completion
- VS Code extensions
Hardware it fits on
- Apple Silicon (8GB): 1.3B in MLX
- Apple Silicon (16GB): 6.7B in MLX
- Apple Silicon (32GB): 33B in MLX or GGUF
- Apple Silicon (64GB+): 33B in MLX
- RTX 3090 (24GB): 33B at Q4_K_M
- RTX 4090 (24GB): same as 3090, ~30% faster
- RTX 5090 (32GB): 33B at Q8_0
- 2× RTX 6000 Ada (96GB total): 33B at Q4_K_M
Related models in the DeepSeek family
- DeepSeek R1 — 1.5B, 7B, 8B, 14B, 32B, 70B, 671B · reasoning, math, step-by-step problem solving
- DeepSeek V3 — 671B (37B active MoE) · frontier-class open-weights LLM (needs data-center GPUs)
- DeepSeek Coder V2 — 16B, 236B · strong 16B code model with MoE efficiency
Other models you might consider
- Llama 3.1 (Meta) — 8B, general-purpose chat, agentic workflows, code
- Llama 3.2 (Meta) — 1B, low-end hardware, mobile, edge deployment
- Llama 3.2 Vision (Meta) — 11B, vision + chat on desktop GPUs
- Llama 3.3 (Meta) — 70B, best-in-class 70B for desktops
- Llama 4 (Meta) — Scout 17B (109B MoE), vision + long context (10M tokens)
- Qwen 2.5 (Alibaba) — 0.5B, strongest 7B-32B on consumer hardware