DeepSeek Coder V2 Lite (16B MoE)

MoE · 2.4B active

16B code model with 2.4B active parameters, trained on more than 300 programming languages.

DeepSeek·15.7B params·27 layers / 16 KV heads·Max 160K ctx·DeepSeek License
Local Run Command
Q4_K_M minimum memory: 11.3 GB at 16K context.
Artificial Analysis Benchmarkartificialanalysis.ai ↗
Intelligence Index
—

Independent benchmark scores sourced from Artificial Analysis.

OpenRouter API & Cloud GPU
No live OpenRouter route synced.

VRAM by Quantization (16K context)

Q4_K_M (4-bit)9.7 GB
real file size
0.5 GB11.3 GB11.1 GBBest speed-to-quality balance for local inference (~98% quality)
ollama run deepseek-coder-v2:16b-lite-base-q4_K_M
Q6_K (6-bit)13.1 GB
real file size
0.5 GB14.9 GB14.7 GBNear-lossless quality with ~35% larger footprint than Q4
ollama run deepseek-coder-v2:16b-lite-base-q6_K
Q8_0 (8-bit)15.6 GB
real file size
0.5 GB17.5 GB17.3 GBVirtually indistinguishable from FP16 for coding & reasoning
ollama run deepseek-coder-v2:16b-lite-base-q8_0
FP16 / BF16 (16-bit)29.3 GB
real file size
0.5 GB31.8 GB31.6 GBFull native precision; standard for production GPU serving
ollama run deepseek-coder-v2:16b-lite-base-fp16

Layer and head counts are read from the published config.json. KV cache is an approximation for this architecture: multi-head latent attention: assumes the runtime caches the compressed latents.

Run DeepSeek Coder V2 Lite (16B MoE) with Ollama, LM Studio, llama.cpp, MLX or vLLM

Command
Ollama
Q4_K_M
deepseek-coder-v2:16b-lite-base-q4_K_M
9.7 GB
real file size
LM Studio
Q4_K_M
lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF
9.7 GB
real file size
llama.cpp
Q4_K_M
lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF
9.7 GB
real file size
MLX
4-bit
mlx-community/DeepSeek-Coder-V2-Lite-Instruct-4bit
8.2 GB
real file size
vLLM
INT4
9.1 GB
estimate
No INT4 build of this model found for vLLM.

Each runtime loads its own build of the model, so download sizes differ. Sizes marked as real are file sizes read from the Ollama registry or Hugging Face.

Hardware Compatibility Matrix (Q4_K_M · 16K context)

Details
11.5 GBTight fit15.1–31 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M1 16GB →
48.0 GBFits comfortably51–107 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M1 Max 64GB →
98.0 GBFits comfortably70–145 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M1 Ultra 128GB →
18.0 GBFits comfortably23–48 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M2 24GB →
48.0 GBFits comfortably61–127 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M2 Max 64GB →
152 GBFits comfortably79–164 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M2 Ultra 192GB →
27.0 GBFits comfortably32–66 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M3 Pro 36GB →
48.0 GBFits comfortably61–127 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M3 Max 64GB →
98.0 GBFits comfortably61–127 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M3 Max 128GB →
11.5 GBTight fit25–51 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M4 16GB →
24.0 GBFits comfortably26–54 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M4 32GB →
36.0 GBFits comfortably49–101 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M4 Pro 48GB →
48.0 GBFits comfortably49–101 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M4 Pro 64GB →
48.0 GBFits comfortably72–149 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M4 Max 64GB →
98.0 GBFits comfortably72–149 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M4 Max 128GB →
98.0 GBFits comfortably72–149 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Studio M4 Max 128GB →
204 GBFits comfortably79–164 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M3 Ultra 256GB →
430 GBFits comfortably79–164 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M3 Ultra 512GB →
24.0 GBFits comfortably38–79 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M1 Pro 32GB →
24.0 GBFits comfortably39–82 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M2 Pro 32GB →
27.0 GBFits comfortably52–107 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M3 Max 36GB →
11.5 GBTight fit25–51 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Air M4 16GB →
24.0 GBFits comfortably26–54 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Air M4 32GB →
18.0 GBFits comfortably49–101 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M4 Pro 24GB →
11.5 GBTight fit31–64 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Air M5 16GB →
24.0 GBFits comfortably32–67 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Air M5 32GB →
48.0 GBFits comfortably52–109 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M5 Pro 64GB →
98.0 GBFits comfortably76–157 tok/s—DeepSeek Coder V2 Lite (16B MoE) on M5 Max 128GB →
24.0 GBFits comfortably35–73 tok/s—DeepSeek Coder V2 Lite (16B MoE) on mini M6 32GB →
48.0 GBFits comfortably52–109 tok/s—DeepSeek Coder V2 Lite (16B MoE) on mini M5 Pro 64GB →
98.0 GBFits comfortably76–157 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Studio M5 Max 128GB →
430 GBFits comfortably97–201 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Studio M5 Ultra 512GB →
11.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 3060 12GB →
9.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 3080 10GB →
22.8 GBFits comfortably158–328 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 3090 24GB →
15.0 GBFits comfortably75–156 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 4060 Ti 16GB →
15.0 GBFits comfortably136–282 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 4070 Ti S 16GB →
15.0 GBFits comfortably143–296 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 4080 S 16GB →
22.8 GBFits comfortably165–343 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 4090 24GB →
15.0 GBFits comfortably157–326 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 5070 Ti 16GB →
15.0 GBFits comfortably162–336 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 5080 16GB →
30.5 GBFits comfortably203–422 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 5090 32GB →
22.8 GBFits comfortably152–315 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RX 7900 XTX 24GB →
15.0 GBFits comfortably120–248 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RX 9070 XT 16GB →
10.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 2080 Ti 11GB →
7.3 GBToo large—2×DeepSeek Coder V2 Lite (16B MoE) on RTX 3060 Ti 8GB →
7.3 GBToo large—2×DeepSeek Coder V2 Lite (16B MoE) on RTX 3070 8GB →
11.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 3080 Ti 12GB →
22.8 GBFits comfortably165–343 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 3090 Ti 24GB →
7.3 GBToo large—2×DeepSeek Coder V2 Lite (16B MoE) on RTX 4060 8GB →
7.3 GBToo large—2×DeepSeek Coder V2 Lite (16B MoE) on RTX 4060 Ti 8GB →
11.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 4070 12GB →
11.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 4070 S 12GB →
11.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 4070 Ti 12GB →
15.0 GBFits comfortably141–292 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 4080 16GB →
15.0 GBFits comfortably96–199 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 5060 Ti 16GB →
11.2 GBPartial offload12.0 tok/s2×DeepSeek Coder V2 Lite (16B MoE) on RTX 5070 12GB →
15.0 GBFits comfortably115–240 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RX 7800 XT 16GB →
18.9 GBFits comfortably122–253 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RX 7900 XT 20GB →
15.0 GBFits comfortably120–248 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RX 9070 16GB →
15.0 GBFits comfortably73–152 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RX 9060 XT 16GB →
46.2 GBFits comfortably146–302 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX A6000 48GB →
46.2 GBFits comfortably162–336 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 6000 Ada 48GB →
93.0 GBFits comfortably203–422 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on PRO 6000 96GB →
15.0 GBFits comfortably95–198 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX A4000 16GB →
22.8 GBFits comfortably141–294 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX A5000 24GB →
18.9 GBFits comfortably89–184 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 4000 Ada 20GB →
30.5 GBFits comfortably125–260 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on RTX 5000 Ada 32GB →
46.2 GBFits comfortably185–384 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on PRO 5000 48GB →
46.2 GBFits comfortably122–253 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on PRO W7900 48GB →
30.5 GBFits comfortably120–248 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on AI PRO R9700 32GB →
22.8 GBFits comfortably82–171 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on L4 24GB →
46.2 GBFits comfortably154–320 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on L40S 48GB →
38.5 GBFits comfortably194–404 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on A100 40GB →
77.5 GBFits comfortably182–377 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on A100 80GB →
77.5 GBFits comfortably207–430 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on H100 80GB →
137 GBFits comfortably250–518 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on H200 141GB →
175 GBFits comfortably264–548 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on B200 180GB →
15.0 GBFits comfortably60–125 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on T4 16GB →
46.2 GBFits comfortably129–267 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on A40 48GB →
46.2 GBFits comfortably154–320 tok/s1×DeepSeek Coder V2 Lite (16B MoE) on L40 48GB →
115 GBFits comfortably68–142 tok/s—DeepSeek Coder V2 Lite (16B MoE) on DGX Spark 128GB →
96.0 GBFits comfortably59–123 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Ryzen AI Max+ 395 128GB →
48.0 GBFits comfortably59–123 tok/s—DeepSeek Coder V2 Lite (16B MoE) on Ryzen AI Max+ 395 64GB →

Frequently asked questions

How much VRAM does DeepSeek Coder V2 Lite (16B MoE) require?

At Q4_K_M quantization with a 16K context window, DeepSeek Coder V2 Lite (16B MoE) needs 11.3 GB total VRAM (9.7 GB weights + 0.5 GB KV cache + runtime overhead). In full FP16 precision, it requires 31.8 GB.

Can an RTX 4090 (24 GB) run DeepSeek Coder V2 Lite (16B MoE)?

Yes. At Q4_K_M with 16K context DeepSeek Coder V2 Lite (16B MoE) needs 11.3 GB, which fits a single 24 GB RTX 4090 at an estimated 165–343 tok/s.

How do I run DeepSeek Coder V2 Lite (16B MoE) locally with Ollama?

Install Ollama and run `ollama run deepseek-coder-v2:16b` in your terminal. Make sure your GPU or Apple Silicon unified memory meets the 11.3 GB Q4_K_M requirement.