LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/DeepSeek/DeepSeek-R1/Ollama · Q4_K_M
Ollama · Q4_K_M · macOS · Linux · Windows

DeepSeek-R1 on Ollama at Q4_K_M

Local serving with built-in model pulling. One command to download and run. Library coverage skews toward the popular; check first. The practical default. Noticeable only on the hardest reasoning tasks.

At a glance The numbers

Model
DeepSeek DeepSeek-R1
Family
DeepSeek
Params
671B / 37B
License
MIT
Engine
Ollama
Quantization
Q4_K_M
Bytes per param
0.57
Platform
macOS · Linux · Windows

The command Copy and run

What Ollama expects you to type to serve DeepSeek-R1 at Q4_K_M. Adjust the paths for your filesystem; the structure holds.

# Check the library first — not every model is in Ollama
# https://ollama.com/library

ollama pull deepseek-r1
ollama run deepseek-r1

Why this quant The trade-off

Q4_K_M — The practical default. Noticeable only on the hardest reasoning tasks.

Expect to need around 387 GB of VRAM to hold the weights at this precision. This is a mixture-of-experts model: all 671B params load into memory, but only about 37B are active per generated token. That means load VRAM is large but compute scales with the active count — tok/s on a serving stack like vLLM reflects the smaller number. Fits on 8× H100 — 640 GB — Full HGX H100 node, or 8× H200.

Common failures What breaks, and the fix

Model not found
The slug may not exist in Ollama's library. Browse ollama.com/library first.
Quant level not what you expected
Ollama hides the quant by default. Use the explicit tag, e.g. `ollama run llama3.3:70b-q4_K_M`.

Alternatives Other ways to run this model

About the model

First open reasoning model to approach o1; wiped $600B off Nvidia in one day.

Open the full model page →