LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/DeepSeek/DeepSeek-R1/llama.cpp · Q8_0
llama.cpp · Q8_0 · Cross-platform · CPU + CUDA + Metal

DeepSeek-R1 on llama.cpp at Q8_0

Pure C++. Runs on anything with a CPU or a modest GPU. Community packagers (bartowski, mradermacher) quantize most popular models within days of release. GGUF 8-bit. Near-reference quality.

At a glance The numbers

Model
DeepSeek DeepSeek-R1
Family
DeepSeek
Params
671B / 37B
License
MIT
Engine
llama.cpp
Quantization
Q8_0
Bytes per param
1.06
Platform
Cross-platform · CPU + CUDA + Metal

The command Copy and run

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

# Pull a GGUF quant from bartowski's mirror
huggingface-cli download bartowski/DeepSeek-R1-GGUF \
  --include "*Q8_0*"

# Serve on port 8080
./llama-server -m deepseek-r1.Q8_0.gguf -c 8192 --port 8080

Why this quant The trade-off

Q8_0 — GGUF 8-bit. Near-reference quality.

Expect to need around 716 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 Multi-node cluster — More than one 8-GPU server, pipeline-parallel.

Common failures What breaks, and the fix

Model fails to load
Check the GGUF file is complete (sha256) and the quant level matches your flags.
Low tok/s on CPU
Set -t to physical cores (not SMT threads); batch requests; enable AVX-512 build.
Garbage output
Verify you downloaded the instruct variant, not the base model.

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 →