← CanIRunLocal · All hardware · All models

Can I run DeepSeek Coder V2 Lite 16B (MoE) locally?

DeepSeek · 15.7B parameters (2.4B active) · coding.

Ollama weight files: Q5_K_M 12 GB (deepseek-coder-v2:16b-lite-instruct-q5_K_M); Q8_0 17 GB (deepseek-coder-v2:16b-lite-instruct-q8_0); Q4_0 8.9 GB (deepseek-coder-v2:16b); Q4_K_M 10 GB (deepseek-coder-v2:16b-lite-instruct-q4_K_M).

Yes on 59 machines in this list. The smallest is RTX 3060 Ti 8GB: Q4_K_M, about 11 GB, roughly 31 tokens per second, via Ollama. ollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M

Setup on DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte)

Open DeepSeek Coder V2 Lite 16B (MoE) in the checker

Hardware that fits

HardwareRuntimeQuantMemoryFitSpeedCommand
RTX 3060 Ti 8GBOllamaQ4_K_M11 GBpartial offload (slower)~31 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
RTX 3070 8GBOllamaQ4_K_M11 GBpartial offload (slower)~31 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
RTX 4060 8GBOllamaQ4_K_M11 GBpartial offload (slower)~27 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
RX 7600 8GBOllamaQ4_K_M11 GBpartial offload (slower)~27 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
RTX 3080 10GBOllamaQ4_K_M11 GBpartial offload (slower)~62 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
M1 16GBOllamaQ4_09.9 GBfits in fast memory~20 tok/sollama run deepseek-coder-v2:16b
M2 16GBOllamaQ4_09.9 GBfits in fast memory~29 tok/sollama run deepseek-coder-v2:16b
M3 16GBOllamaQ4_09.9 GBfits in fast memory~29 tok/sollama run deepseek-coder-v2:16b
M4 16GBOllamaQ4_09.9 GBfits in fast memory~35 tok/sollama run deepseek-coder-v2:16b
RTX 3060 12GBOllamaQ4_K_M11 GBfits in fast memory~71 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
RTX 4070 12GBOllamaQ4_K_M11 GBfits in fast memory~99 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
RTX 5070 12GBOllamaQ4_K_M11 GBfits in fast memory~132 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q4_K_M
RTX 4060 Ti 16GBOllamaQ5_K_M13 GBfits in fast memory~47 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
RTX 4070 Ti Super 16GBOllamaQ5_K_M13 GBfits in fast memory~110 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
RTX 4080 16GBOllamaQ5_K_M13 GBfits in fast memory~117 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
RTX 5080 16GBOllamaQ5_K_M13 GBfits in fast memory~157 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
RX 7800 XT 16GBOllamaQ5_K_M13 GBfits in fast memory~102 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
RX 9070 XT 16GBOllamaQ5_K_M13 GBfits in fast memory~105 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
M2 24GBOllamaQ5_K_M13 GBfits in fast memory~22 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
M3 24GBOllamaQ5_K_M13 GBfits in fast memory~22 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
M4 24GBOllamaQ5_K_M13 GBfits in fast memory~26 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
RTX 3090 24GBOllamaQ8_018 GBfits in fast memory~108 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
RTX 4090 24GBOllamaQ8_018 GBfits in fast memory~116 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
RX 7900 XTX 24GBOllamaQ8_018 GBfits in fast memory~111 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M1 Pro 32GBOllamaQ8_018 GBfits in fast memory~31 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M2 Pro 32GBOllamaQ8_018 GBfits in fast memory~31 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M4 32GBOllamaQ8_018 GBfits in fast memory~18 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M3 Pro 36GBOllamaQ8_018 GBfits in fast memory~23 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M4 Max (32c GPU) 36GBOllamaQ8_018 GBfits in fast memory~63 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M5 Max (32c GPU) 36GBOllamaQ8_018 GBfits in fast memory~71 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
RTX 5090 32GBOllamaQ8_018 GBfits in fast memory~207 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M4 Pro 48GBOllamaQ8_018 GBfits in fast memory~42 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M4 Max (40c GPU) 48GBOllamaQ8_018 GBfits in fast memory~84 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M5 Max (40c GPU) 48GBOllamaQ8_018 GBfits in fast memory~95 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M1 Max 64GBOllamaQ8_018 GBfits in fast memory~62 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M2 Max 64GBOllamaQ8_018 GBfits in fast memory~62 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M3 Max 64GBOllamaQ8_018 GBfits in fast memory~62 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M4 Max 64GBOllamaQ8_018 GBfits in fast memory~84 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M4 Max (40c GPU) 64GBOllamaQ8_018 GBfits in fast memory~84 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M5 Max (40c GPU) 64GBOllamaQ8_018 GBfits in fast memory~95 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
DGX Spark 64GB (ASUS, Dell, HP, MSI, Acer, Gigabyte)OllamaQ8_018 GBfits in fast memory~60 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M3 Ultra 96GBOllamaQ8_018 GBfits in fast memory~126 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M5 Ultra 96GBOllamaQ8_018 GBfits in fast memory~185 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M3 Max 128GBOllamaQ8_018 GBfits in fast memory~62 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M4 Max 128GBOllamaQ8_018 GBfits in fast memory~84 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M4 Max (40c GPU) 128GBOllamaQ8_018 GBfits in fast memory~84 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M5 Max (40c GPU) 128GBOllamaQ8_018 GBfits in fast memory~95 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte)OllamaQ8_018 GBfits in fast memory~60 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
M2 Ultra 192GBOllamaQ8_018 GBfits in fast memory~123 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
2x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ8_0 GGUF34.8 GBfits in fast memory~40 tok/sllama-server -hf bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra 256GBOllamaQ8_018 GBfits in fast memory~126 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M5 Ultra (64c GPU) 256GBOllamaQ8_018 GBfits in fast memory~185 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
Mac Studio M5 Ultra (80c GPU) 256GBOllamaQ8_018 GBfits in fast memory~185 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
2x DGX Spark 128GBllama.cppQ8_0 GGUF34.8 GBfits in fast memory~26 tok/sllama-server -hf bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ8_0 GGUF34.8 GBfits in fast memory~36 tok/sllama-server -hf bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
2x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ8_0 GGUF34.8 GBfits in fast memory~79 tok/sllama-server -hf bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra (80c GPU) 512GBOllamaQ8_018 GBfits in fast memory~126 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
4x DGX Spark 128GBllama.cppQ8_0 GGUF34.8 GBfits in fast memory~23 tok/sllama-server -hf bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ8_0 GGUF34.8 GBfits in fast memory~70 tok/sllama-server -hf bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-16.

A project by OnDevice Labs · llms.txt