Skip to content
English

Switch theme

// DeepSeek · Text LLM

DeepSeek-Coder-V2-Instruct: VRAM & local deployment

236B total · 21B active (MoE) parameters. About 159 GB at 4-bit and 520 GB at BF16 with one 8K-token request.

released 2024-06-14licence: Commercial with conditionsmemory figures are estimates

01Specs

PublisherDeepSeek · deepseek-ai
Family / seriesDeepSeek · DeepSeek-Coder
TypeText LLM (text-generation)
Parameters236B total · 21B active (MoE) Source: official model card“DeepSeek-Coder-V2 with 16B and 236B parameters … actived parameters of only 2.4B and 21B”
Context length160K tokens (163,840)max_position_embeddings in config.json
Architecture60 layers · MLA · MoE
Released weightsBF16 · 471 GBdownload
Licencedeepseek-license · Commercial with conditionsCommercial use allowed under the publisher’s own licence terms (user caps, acceptable-use policy, attribution or region limits). Read it before shipping.
Released2024-06-14 (Hugging Face repo created)

02How much VRAM it needs (estimate)

Total = weights + 10% + 0.5GB overhead + KV cache for one request (FP16 KV). More concurrent users multiply the KV column.

PrecisionWeightsTotal @ 8KTotal @ 32KTotal @ 128KSmallest GPUMac
BF16 / FP16 (original)472 GB 520 GB522 GB529 GB 8 × H100 (640GB)—
FP8 / INT8 / Q8_0251 GB 277 GB279 GB285 GB 4 × RTX PRO 6000 (384GB)Mac 512GB
4-bit (Q4_K_M / AWQ / GPTQ-Int4)143 GB 158 GB160 GB167 GB 4 × RTX PRO 6000 (384GB)Mac 256GB

KV cache per request: 8K 0.6 GB · 32K 2.3 GB · 128K 9.1 GB

Bits per weight: BF16 16, FP8 8.5, 4-bit 4.85. “Fits” = total ≤ 90% of memory; Mac GPU can use ~2/3 of unified memory (≤36GB) or ~3/4 (larger). For MoE, all experts must be in memory, so size by total parameters. Method →

03How to run it

Only runtimes the publisher or the runtime’s official library names for this model.

ollama run deepseek-coder-v2

Which inference engine to choose →

04Official repositories & quantised builds

2 official repo(s) from deepseek-ai.

05Other DeepSeek models

All 34 →
ModelParams4-bit totalReleased
DeepSeek-Coder-V2-Instruct-0724 · same series236B / 21B159 GB2024-09-05
DeepSeek-V4.1-Flash-1017748B / 16B499 GB2026-10-17
DeepSeek-V4.1-Flash748B / 16B499 GB2026-09-10
DeepSeek-V4-Pro-08131.65T1.10 TB2026-08-13
DeepSeek-V4-Flash-0731304.2B203 GB2026-07-31
DeepSeek-V4-Flash284B / 13B190 GB2026-04-22
DeepSeek-V4-Pro1.6T / 49B1.07 TB2026-04-22
DeepSeek-OCR-23.39B3.3 GB2026-01-27
DeepSeek-V3.2685.4B458 GB2025-12-01

06Similar-size Text LLM models from other families

Within ±35% of 236B parameters; same estimate method, so the memory columns are directly comparable.

ModelFamilyParamsContext4-bit totalLicenceReleased
DeepSeek-Coder-V2-InstructDeepSeek236B160K159 GBCommercial with conditions2024-06-14
Baichuan-M3-235BBaichuan235.1B40K159 GBCommercial OK2026-01-13
Qwen3-235B-A22B-Thinking-2507Qwen235.1B / 22B256K159 GBCommercial OK2025-07-25
Qwen3-235B-A22B-Instruct-2507Qwen235.1B / 22B256K159 GBCommercial OK2025-07-21
Qwen3-235B-A22BQwen235.1B / 22B40K159 GBCommercial OK2025-04-27
MiniMax-M2MiniMax230B / 10B192K156 GBCommercial with conditions2025-10-22
MiniMax-M2.7MiniMax228.7B200K155 GBCustom licence – read it2026-04-09

07Sources

Data checked 2024-08-21. Parameters, context and licence are copied from the official repository; memory figures are our estimates.

Data updated: Self-host open models