LLMs · DeepSeek
DeepSeek Coder V2 Lite (16B)
- Parameters
- 16B (2.4B active)
- Architecture
- Mixture of experts
- Max context
- 160K tokens
- License
- deepseek
- Released
- 2024-06
How to run it
- Install PocketPal AI (free) and open it.
- Tap the menu (☰), then Models, then + and Add from Hugging Face.
- Search for
lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF, open it and downloadDeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf. - Tap Load next to the model and start a chat. It runs on the device, with no connection needed from then on.
- Install PocketPal AI (free) and open it.
- Tap the menu (☰), then Models, then + and Add from Hugging Face.
- Search for
lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF, open it and downloadDeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf. - Tap Load next to the model and start a chat. It runs on the device, with no connection needed from then on.
On a mobile device
DeepSeek Coder V2 Lite (16B) is too big for a device like yours: it needs more memory than the device has. Models that run on mobile devices.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run deepseek-coder-v2:16bQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF (opens in a new tab)
ollama run hf.co/lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUFOriginal weights · Hugging Face
Full-precision files from DeepSeek, for fine-tuning, vLLM, Transformers.
huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct (opens in a new tab)
Official repo · GitHub
Reference code, inference scripts and docs from DeepSeek. The weights themselves download from Hugging Face.
github.com/deepseek-ai/DeepSeek-Coder-V2 (opens in a new tab)
git clone https://github.com/deepseek-ai/DeepSeek-Coder-V2Apps that run DeepSeek Coder V2 Lite (16B)
Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or device in the Model Finder for an exact answer.
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| LM Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in LM Studio | |
| Ollama | CLI + API | Ollama library | macOSWindowsLinux |
|
|
| llama.cpp | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Jan | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Jan | |
| MLX LM | CLI + API | MLX | macOS |
|
|
| vLLM | Server | Original weights | WSLWindowsLinux |
|
|
| SGLang | Server | Original weights | WSLWindowsLinux |
|
|
| Docker Model Runner | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Lemonade | Desktop app | GGUF | macOSWindowsLinux |
|
|
| Unsloth Desktop | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Unsloth Desktop | |
| Atomic Chat | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Atomic Chat | |
| Pi | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Hermes Agent | Assistant | GGUF or MLX | macOSWSLWindowsLinux | ||
| OpenClaw | Assistant | GGUF or MLX | macOSWSLWindowsLinux | ||
| OpenCode | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Codex CLI | Coding agent | GGUF or MLX | macOSWSLWindowsLinux | ||
| OpenHands | Coding agent | GGUF or MLX | macOSWSLWindowsLinux | ||
| Zed | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Cline | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Open Interpreter | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Goose | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Aider | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Crush | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Qwen Code | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Kilo Code | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Open WebUI | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Khoj | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Letta | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| GPT4All | Desktop app | GGUF | macOSWindowsLinux | Get GPT4All | |
| KoboldCpp | Desktop app | GGUF | macOSWindowsLinux | Get KoboldCpp | |
| Text Generation WebUI | Desktop app | GGUF | macOSWindowsLinux | Get Text Generation WebUI | |
| llamafile | CLI + API | GGUF | macOSWindowsLinux | Get llamafile | |
| Msty Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Msty Studio | |
| Llama (macOS) | Desktop app | GGUF | macOS | Open in Llama (macOS) | |
| RecurseChat | Desktop app | GGUF | macOS | Open in RecurseChat | |
| Inferencer | Desktop app | MLX | macOS | Get Inferencer | |
| node-llama-cpp | Library | GGUF | macOSWindowsLinux | Get node-llama-cpp | |
| exo | Server | MLX | macOSLinux | Get exo | |
| Continue | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| SillyTavern | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| LibreChat | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Cherry Studio | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Chatbox | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| PrivateGPT | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| PocketPal AI | Mobile app | GGUF | iOSAndroid | App Store Google Play | |
| ChatterUI | Mobile app | GGUF | Android | Download the APK | |
| LLM Farm | Mobile app | GGUF | iOS |
Memory needed
Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps. Try another context length.
| Quantization | Quality | Weights | Total at 8K context | Total at 32K context | Download |
|---|---|---|---|---|---|
Q2_K |
Low | 6.3 GB | 7.1 GB | 7.9 GB | |
Q3_K_M |
Low | 7.7 GB | 8.6 GB | 9.3 GB | GGUF (Q3_K_L) (opens in a new tab) |
Q4_K_M |
Good | 9.6 GB | 10.4 GB | 11.2 GB | GGUF (opens in a new tab) |
Q5_K_M |
High | 11.2 GB | 12.0 GB | 12.8 GB | GGUF (opens in a new tab) |
Q6_K |
High | 12.9 GB | 13.7 GB | 14.5 GB | GGUF (opens in a new tab) |
Q8_0 |
Very high | 16.7 GB | 17.5 GB | 18.3 GB | GGUF (opens in a new tab) |
F16 |
Full | 31.4 GB | 32.3 GB | 33.0 GB | Original weights (opens in a new tab) |
Best hardware for DeepSeek Coder V2 Lite (16B)
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A580 (launch price $179) at Q2_K.
| Quality | Hardware | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 52Fair quality (C) · 52 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 7900 XTX |
Q8_0 | 18.7 GB / 24.0 GB | 118 tok/s | Runs great |
| 52Fair quality (C) · 52 of 100: how capable the model is at F16, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 Max (64 GB) |
F16 | 36.1 GB / 48.0 GB | 45.3 tok/s | Runs great |
| 52Fair quality (C) · 52 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 3090 |
Q8_0 | 18.7 GB / 24.0 GB | 126 tok/s | Runs great |
| 52Fair quality (C) · 52 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4090 |
Q8_0 | 18.7 GB / 24.0 GB | 131 tok/s | Runs great |
| 50Fair quality (C) · 50 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 9070 XT |
Q5_K_M | 12.8 GB / 16.0 GB | 128 tok/s | Runs great |
| 50Fair quality (C) · 50 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 Pro (24 GB) |
Q5_K_M | 13.3 GB / 16.1 GB | 73.7 tok/s | Runs great |
| 50Fair quality (C) · 50 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4060 Ti 16GB |
Q5_K_M | 12.8 GB / 16.0 GB | 85.3 tok/s | Runs great |
| 50Fair quality (C) · 50 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4070 Ti SUPER |
Q5_K_M | 12.8 GB / 16.0 GB | 142 tok/s | Runs great |
| 50Fair quality (C) · 50 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4080 SUPER |
Q5_K_M | 12.8 GB / 16.0 GB | 149 tok/s | Runs great |
| 50Fair quality (C) · 50 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5060 Ti 16GB |
Q5_K_M | 12.8 GB / 16.0 GB | 114 tok/s | Runs great |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.








