DeepSeek R1 Zero

671.2B total, 37.7B active · 160k context · MIT License · released 2025-01-20

reasoningchatcoding

In short

DeepSeek R1 Zero is an open model from DeepSeek with 671.2B parameters (37.7B active per token). At Q4_K_M, DeepSeek R1 Zero needs about 378 GB of memory at 8k context and 382 GB at 64k, counting the weights, the KV cache and runtime buffers. Nothing we price in Canada runs DeepSeek R1 Zero fully in memory at 64k context at a usable speed; see the table for what comes closest.

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in Canada today

Nothing in stock in Canada today runs DeepSeek R1 Zero fully in memory at 64k context at 15 tok/s or more. A shorter context needs less memory; the table below shows what comes closest.

What to run it on in Canada

Fully in memory at 64k context, priced at retailers today.

Something we price holds it fully in memory, but none reaches 15 tok/s, our bar for recommending it. The table below has the speeds.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
Mac Studio M3 Ultra 512GBQ4_K_Mfits12 tok/s$28,0000.4

62 other cards and machines we price cannot hold it at this context.

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
Q4_K_Mgguf376.7 GB377.9 GB379.7 GB382.0 GB386.7 GB

Run it

Copy a command for the runtime you use.

  • Q4_K_M
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Zero-GGUF:Q4_K_M
    • LM Studiolms get unsloth/DeepSeek-R1-Zero-GGUF@q4_k_m
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Zero-GGUF:Q4_K_M

Notes

Trained with pure RL without SFT; the card notes endless repetition, poor readability and language mixing. Hugging Face Transformers is not directly supported; see the DeepSeek-V3 repo for running it locally. Excludes 13.4B parameters of multi-token-prediction layers, which local runtimes do not load.

Questions

How much VRAM does DeepSeek R1 Zero need?
At Q4_K_M, DeepSeek R1 Zero needs about 378 GB of memory at 8k context and 382 GB at 64k, counting the weights, the KV cache and runtime buffers.
Can I run DeepSeek R1 Zero on a 16 GB GPU?
No: it does not fit in 16 GB at 64k context, even with system RAM.
Can I run DeepSeek R1 Zero on a 24 GB GPU?
No: it does not fit in 24 GB at 64k context, even with system RAM.
How do I run DeepSeek R1 Zero locally?
With Ollama: ollama run hf.co/unsloth/DeepSeek-R1-Zero-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
What licence is DeepSeek R1 Zero released under?
MIT License, which allows commercial use.

More hardware for local AI