deepseek-r1:70b: how much VRAM does it need?
DeepSeek-R1 70B (Llama distill). Run it with ollama run deepseek-r1:70b. VRAM figures are estimates: model file (the download size listed by Ollama) + KV cache (computed layer by layer from the official Hugging Face config.json, f16) + 1 GB headroom. ollama ps shows real usage.
At a glance
| Item | Value |
|---|---|
| Download size | 43GB |
| Context (Ollama tag page) | 128K |
| KV cache per 1K tokens (f16, full-attention layers) | 320 MB |
VRAM by context length
| Context | KV cache f16 | Total (f16) | Total (q8_0 KV) |
|---|---|---|---|
| 4K | 1.25 GB | 45.2 GB | 44.6 GB |
| 8K | 2.50 GB | 46.5 GB | 45.2 GB |
| 32K | 10.00 GB | 54.0 GB | 49.0 GB |
| 128K | 40.00 GB | 84.0 GB | 64.0 GB |
Ollama uses a 4096-token context by default; a q8_0 KV cache is about half of f16 and needs Flash Attention (Ollama FAQ).
Which GPU sizes fit it
| VRAM | 4K | 8K | 32K |
|---|---|---|---|
| 8 GB | — | — | — |
| 12 GB | — | — | — |
| 16 GB | — | — | — |
| 24 GB | — | — | — |
| 32 GB | — | — | — |
| 48 GB | ✅ | ✅ | — |
| 80 GB | ✅ | ✅ | ✅ |
Models that do not fit still run, with part of the model in system memory on the CPU, just slower. Try other settings in the VRAM calculator.
FAQ
How much VRAM does deepseek-r1:70b need?
About 45.2 GB at 4K context (Ollama default) and 54.0 GB at 32K with an f16 KV cache and 1 GB headroom.
How big is the deepseek-r1:70b download?
The Ollama library lists 43GB.
Sources
- Ollama:https://ollama.com/library/deepseek-r1/tags
- config.json:https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-70B
More: all models · VRAM calculator · token counter