DeepSeek R1 671B in Q4_K_M with an 8k context takes 378.7 GB of GPU memory. The cheapest option right now is 8× A100 SXM4 80 GB, from $22.42/h.
The weight file and the total GPU memory with the context cache. One GPU, one request.
| Quantisation | File | 8K context | 32K context | 128K context | Fits on |
|---|---|---|---|---|---|
| FP8native | 641.3 | 642.8 | 644.4 | 650.9 | 2+ GPUs |
| BF16 | 1,250.1 | 1,251.6 | 1,253.2 | 1,259.7 | 2+ GPUs |
| Q8_0 | 664.3 | 665.8 | 667.4 | 673.9 | 2+ GPUs |
| Q6_K | 513.2 | 514.7 | 516.3 | 522.8 | 2+ GPUs |
| Q5_K_M | 443.1 | 444.6 | 446.2 | 452.7 | 2+ GPUs |
| Q4_K_M | 377.1 | 378.7 | 380.3 | 386.7 | 2+ GPUs |
| Q3_K_M | 297.9 | 299.4 | 301.0 | 307.5 | 2+ GPUs |
| Q2_K | 228.0 | 229.5 | 231.1 | 237.5 | GB300 251 GB |
How much memory the cache takes per request in FP16. A Q8 cache is about half. 69 KB per token.
GPUs from the catalog the model fits on, by price per hour.
Each price is for the cheapest listed server with that exact GPU count. The final rate depends on the disk you choose and current availability.
For an API under load there is the vLLM template with an OpenAI-compatible API.
File sizes checked against Hugging Face on 2026-10-19. 1 GB here is 1024³ bytes, like GPU memory. Hugging Face lists decimal gigabytes, so its numbers are 7% larger.