DeepSeek-R1-Distill-Qwen-14B: how much VRAM does it need?
This page was written and translated automatically by AI and checked by software against its sources, with no human editing. Specifications come from the sources listed; memory requirements and speeds are estimates calculated with published formulas. How we use AI
DeepSeek-R1-Distill-Qwen-14B has 14.8B parameters. At Q4_K_M with a context of 8,192 tokens, a single GPU needs 11.3 GiB of available memory for the result to be “Fits”.
File sizes are the real files on Hugging Face. The other columns give X, the available memory one GPU needs for the result to be “Fits” (largest buffer estimate ÷ 0.95 + 1 GiB), with llama.cpp, Flash Attention, F16 KV cache, 4 parallel sequences and micro-batch 512. They do not depend on any particular GPU.
Quantization
File size
X at 4,096 context
X at 8,192 context
X at 32,768 context
X at 131,072 context
F16
27.52 GiB
29.5 GiB
30.3 GiB
35.1 GiB
54.3 GiB
Q8_0
14.62 GiB
16.7 GiB
17.5 GiB
22.3 GiB
41.4 GiB
Q6_K
11.29 GiB
13.4 GiB
14.2 GiB
18.9 GiB
38.1 GiB
Q5_K_M
9.79 GiB
11.9 GiB
12.7 GiB
17.5 GiB
36.6 GiB
Q4_K_M
8.37 GiB
10.5 GiB
11.3 GiB
16.1 GiB
35.2 GiB
Q3_K_M
6.84 GiB
9.0 GiB
9.8 GiB
14.5 GiB
33.7 GiB
Q2_K
5.37 GiB
7.5 GiB
8.3 GiB
13.1 GiB
32.2 GiB
Smallest GPU for each quantization
For each quantization: the listed GPU with the least memory whose estimate is “Fits” on one card at 8,192 tokens of context. GPUs whose result is “Unknown” (no runtime profile, workstation and data-center cards, unified memory) are not considered.
Quantization
Smallest GPU that fits (one card)
Memory
F16
No listed GPU fits on one card. For several cards, use the Calculator
“Fits” means llama.cpp's default --fit load check would place all layers on the GPU: our estimate of llama.cpp's buffers, plus its error margin, plus llama.cpp's 1 GiB per-card reserve, is within the memory counted as available. It does not promise that peak memory while generating fits. How results are decided
Context 8,192 tokens. Highest quantization that fits on one card, its longest context and the speed ceiling.
Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown.
Unknown
CUDA (NVIDIA): llama.cpp, CUDA back end (NVIDIA discrete GPU), all layers on the GPU, Flash Attention on, micro-batch (-ub) 512, F16 KV cache, context (-c) as shown; “Fits” is judged with llama-server’s default 4 parallel sequences (-np auto, unified KV cache) and “Doesn’t fit” with 1 sequence; idle GPU with no other programs using its memory.
ROCm on Linux (AMD): llama.cpp, ROCm back end on Linux (AMD discrete GPU), all layers on the GPU, Flash Attention on, micro-batch (-ub) 512, F16 KV cache, context (-c) as shown; “Fits” is judged with llama-server’s default 4 parallel sequences (-np auto, unified KV cache) and “Doesn’t fit” with 1 sequence; idle GPU with no other programs using its memory.
The speed ceiling is memory bandwidth divided by the bytes read per generated token. It is a theoretical upper bound; public llama.cpp benchmarks typically reach about half to four-fifths of it, and small models and mixture-of-experts models often less. Public benchmarks
Original weights
The model’s original weight files (safetensors, counted as described in the methodology) total 27.5 GiB. They are listed for reference only; every estimate on this page is for the GGUF files above, run with llama.cpp. deepseek-ai/DeepSeek-R1-Distill-Qwen-14B · Methodology