LLMs · DeepSeek
DeepSeek Coder V2 (236B)
- Parameters
- 236B (21.0B active)
- Architecture
- Mixture of experts
- Max context
- 160K tokens
- License
- deepseek
- Released
- 2024-07
How to run it
On a mobile device
DeepSeek Coder V2 (236B) 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:236bQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/lmstudio-community/DeepSeek-Coder-V2-Instruct-0724-GGUF (opens in a new tab)
ollama run hf.co/lmstudio-community/DeepSeek-Coder-V2-Instruct-0724-GGUFOriginal weights · Hugging Face
Full-precision files from DeepSeek, for fine-tuning, vLLM, Transformers.
huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Instruct-0724 (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 (236B)
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 | macOSWindowsLinux | Open in LM Studio | |
| Ollama | CLI + API | Ollama library | macOSWindowsLinux |
|
|
| llama.cpp | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Jan | Desktop app | GGUF | macOSWindowsLinux | Open in Jan | |
| 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 | macOSWindowsLinux | Open in Unsloth Desktop | |
| Atomic Chat | Desktop app | GGUF | macOSWindowsLinux | Open in Atomic Chat | |
| Pi | Coding agent | GGUF | macOSWindowsLinux | ||
| Hermes Agent | Assistant | GGUF | macOSWSLWindowsLinux | ||
| OpenClaw | Assistant | GGUF | macOSWSLWindowsLinux | ||
| OpenCode | Coding agent | GGUF | macOSWindowsLinux | ||
| Codex CLI | Coding agent | GGUF | macOSWSLWindowsLinux | ||
| OpenHands | Coding agent | GGUF | macOSWSLWindowsLinux | ||
| Zed | Coding agent | GGUF | macOSWindowsLinux | ||
| Cline | Coding agent | GGUF | macOSWindowsLinux | ||
| Open Interpreter | Coding agent | GGUF | macOSWindowsLinux | ||
| Goose | Coding agent | GGUF | macOSWindowsLinux | ||
| Aider | Coding agent | GGUF | macOSWindowsLinux | ||
| Crush | Coding agent | GGUF | macOSWindowsLinux | ||
| Qwen Code | Coding agent | GGUF | macOSWindowsLinux | ||
| Kilo Code | Coding agent | GGUF | macOSWindowsLinux | ||
| Open WebUI | Assistant | GGUF | macOSWindowsLinux | ||
| Khoj | Assistant | GGUF | macOSWindowsLinux | ||
| Letta | Assistant | GGUF | 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 | macOSWindowsLinux | Open in Msty Studio | |
| Llama (macOS) | Desktop app | GGUF | macOS | Open in Llama (macOS) | |
| RecurseChat | Desktop app | GGUF | macOS | Open in RecurseChat | |
| node-llama-cpp | Library | GGUF | macOSWindowsLinux | Get node-llama-cpp | |
| Continue | Coding agent | GGUF | macOSWindowsLinux | ||
| SillyTavern | Assistant | GGUF | macOSWindowsLinux | ||
| LibreChat | Assistant | GGUF | macOSWindowsLinux | ||
| Cherry Studio | Assistant | GGUF | macOSWindowsLinux | ||
| Chatbox | Assistant | GGUF | macOSWindowsLinux | ||
| PrivateGPT | Assistant | GGUF | 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 | 94.3 GB | 95.5 GB | 97.2 GB | |
Q3_K_M |
Low | 116 GB | 117 GB | 118 GB | GGUF (Q3_K_L) · part 1 of 4 (opens in a new tab) |
Q4_K_M |
Good | 144 GB | 145 GB | 147 GB | GGUF · part 1 of 4 (opens in a new tab) |
Q5_K_M |
High | 167 GB | 169 GB | 170 GB | |
Q6_K |
High | 193 GB | 194 GB | 196 GB | GGUF · part 1 of 5 (opens in a new tab) |
Q8_0 |
Very high | 250 GB | 251 GB | 253 GB | GGUF · part 1 of 7 (opens in a new tab) |
F16 |
Full | 471 GB | 473 GB | 474 GB | Original weights (opens in a new tab) |
Best hardware for DeepSeek Coder V2 (236B)
| Quality | Hardware | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 70Great quality (A) · 70 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (256 GB) |
Q4_K_M | 160 GB / 192 GB | 36.2 tok/s | Runs great |
| 62Good quality (B) · 62 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. | Apple M2 Ultra (192 GB) |
Q3_K_M | 128 GB / 144 GB | 44.5 tok/s | Runs welltight fit |
| 70Great quality (A) · 70 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (512 GB) |
Q4_K_M | 176 GB / 384 GB | 36.2 tok/s | Runs great |
| 51Fair quality (C) · 51 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GB10 (128 GB) |
Q2_K | 105 GB / 115 GB | 24.2 tok/s | Runs welltight fit |
| 51Fair quality (C) · 51 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 63/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA RTX PRO 6000 Blackwell |
Q2_K | 100 GB / 96.0 GB | 63.5 tok/s | Runs welloffloads to RAM |
| 51Fair quality (C) · 51 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 Max (128 GB) |
Q2_K | 103 GB / 96.0 GB | 33.6 tok/s | Runs wellover GPU memory limit |
| 51Fair quality (C) · 51 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA RTX Spark N1X (6144-core GPU) (128 GB) |
Q2_K | 104 GB / 102 GB | 22.5 tok/s | Runs wellover GPU memory limit |
| 51Fair quality (C) · 51 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. | AMD Ryzen AI Max+ 395 (128 GB) |
Q2_K | 103 GB / 96.0 GB | 16.9 tok/s | Runs wellover GPU memory limit |
| 73Great quality (A) · 73 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. | AMD Instinct MI325X |
Q6_K | 207 GB / 256 GB | 119 tok/s | Runs great |
| 73Great quality (A) · 73 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. | AMD Instinct MI350X |
Q6_K | 209 GB / 288 GB | 139 tok/s | Runs great |
Run it on a cluster
Devices that can’t run DeepSeek Coder V2 (236B) alone can run it together. These example clusters do:
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.








