HARDWARE FIT CHECK • DeepSeek Coder V2 236B MoE + NVIDIA DGX Spark (128GB Grace-Blackwell Unified)151.34 GB / 118 GB VRAM

Can I Run DeepSeek Coder V2 236B MoE on NVIDIA DGX Spark (128GB Grace-Blackwell Unified)?

Full VRAM footprint analysis, tokens/sec generation benchmark, and copy-paste Ollama & vLLM runtime commands for running DeepSeek Coder V2 236B MoE (236B) on NVIDIA DGX Spark (128GB Grace-Blackwell Unified) (118 GB).

⚡ PARTIAL OFFLOAD151.34 GB (128%)~4 t/s

Model & Target Hardware

interactive
Frontier 338-Language Coding & Multi-Repo Math on 64GB–128GB Rigs
GPU Topology / Quantity:Single GPU / Unified SoC
DeepSeek Coder V2 236B MoE on NVIDIA DGX Spark (128GB Grace-Blackwell Unified)

⚠️ Partial Offload — Slow CPU/RAM Spillover

⚡ PARTIAL OFFLOAD
Required VRAM
151.34 GB
128% of hardware capacity (118 GB)
Est. Decode Speed
~4 tok/s
16B active params @ 273 GB/s
Available Headroom
-33.34 GB
Needs +33.34 GB more VRAM
Memory Allocation & Headroom
151.34 GB allocated of 118 GB capacity
128% utilized
Weights: 141.6 GB
KV: (32K): 4.03 GB
Overhead: 5.71 GB
Deficit: -33.34 GB
⚡ Architecture & Throughput Transparency: Single-user decode speed (~4 tok/s) is memory-bandwidth bound at batch size = 1 on NVIDIA DGX Spark (128GB Grace-Blackwell Unified) (273 GB/s). Prompt prefill / TTFT (~58 tok/s) is compute-bound and utilizes GPU Tensor cores. Actual latency varies with FlashAttention-2 and runtime engine (Ollama/vLLM/llama.cpp).
OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 ollama run deepseek-coder-v2:236b

Local Hardware Configurations & Pricing

⚡ Partial Offload: Dedicated 100% GPU Options
High-bandwidth VRAM specs and current market prices
Multi-GPU Rig
48 GB VRAM

2x NVIDIA RTX 3090 Dual Rig (48GB Total VRAM)

Best price-to-VRAM homelab rig for 70B Q4_K_M & Qwen 3.8 27B Q8

936 GB/s700W TDP
Apple Silicon
112 GB VRAM

Apple Mac Studio M4 Max (128GB Unified Memory)

Running Llama 4 Scout 109B & 70B Q8 locally with 128K+ context

546 GB/s145W TDP
AI Appliance
118 GB VRAM

NVIDIA DGX Spark (128GB Grace-Blackwell Unified)

128GB Unified Memory with native CUDA + Blackwell FP4 support

273 GB/s170W TDP

Quantization Precision Matrix

32K ctx • KV: Q8_0
QuantizationWeightsKV CacheTotal VRAMEst. SpeedFit Status
FP1616 bpw472 GB4.03 GB493.3 GB (418%)0 t/sOOM
Q8_08.5 bpw250.16 GB4.03 GB263.7 GB (223%)0 t/sOOM
Q6_K6.56 bpw193.52 GB4.03 GB205.07 GB (174%)0 t/sOOM
Q5_K_M5.68 bpw167.56 GB4.03 GB178.2 GB (151%)0 t/sOOM
Q4_K_M4.8 bpw141.6 GB4.03 GB151.34 GB (128%)~4 t/sPARTIAL
FP44.25 bpw125.08 GB4.03 GB134.24 GB (114%)~4 t/sPARTIAL
IQ3_XS3.3 bpw96.76 GB4.03 GB104.93 GB (89%)~24 t/sFITS

Export Full Architecture & Infrastructure Spec

Get an executive-ready PDF report with exact memory math, hardware benchmarks, and cost comparisons.

FAQ & Reference

Frequently Asked Questions: DeepSeek Coder V2 236B MoE on NVIDIA DGX Spark (128GB Grace-Blackwell Unified)

How much VRAM does DeepSeek Coder V2 236B MoE need on NVIDIA DGX Spark (128GB Grace-Blackwell Unified)?

At standard 4-bit quantization (Q4_K_M) with 32K context, DeepSeek Coder V2 236B MoE requires 151.34 GB of total VRAM (weights + KV cache + CUDA runtime overhead).

What inference speed will DeepSeek Coder V2 236B MoE achieve on NVIDIA DGX Spark (128GB Grace-Blackwell Unified)?

Based on NVIDIA DGX Spark (128GB Grace-Blackwell Unified)'s 273 GB/s memory bandwidth, expected decode speed is approximately 4 tokens per second.

Can I expand context beyond 32K tokens?

Each additional 32K tokens of context requires additional KV cache memory. For longer context windows, consider 8-bit or 4-bit KV cache quantization.