Free tools / LLM memory calculator / DeepSeek R1 70B

DeepSeek R1 70B VRAM and RAM requirements

DeepSeek R1 70B needs about 45 GB of VRAM in Q4_K_M, the quantization Ollama downloads by default, at a 4K context, and about 87 GB at its full 128K context. The weights take about 43 GB and the rest is the context cache plus about 1 GB for the GPU runtime. On a CPU server without a GPU it needs about 46 GB of RAM at 4K.

DeepSeek R1 70B is the largest dense R1 distill and writes out its chain of thought before the answer. It is a distill: DeepSeek trained Llama 3.3 70B on reasoning output from the full DeepSeek R1, so the memory follows the architecture of Llama 3.3 70B.

Open DeepSeek R1 70B in the calculator

DeepSeek R1 70B memory by quantization and context

Memory DeepSeek R1 70B needs for each quantization at 4K, 32K, 128K tokens of context. VRAM total adds about 1 GB for the GPU runtime, RAM total about 1.5 GB for the system and Ollama on a CPU server.

QuantizationContextWeightsKV cacheVRAM totalRAM total (CPU)
Q4_K_M4K43 GB1.3 GB45 GB46 GB
32K43 GB11 GB55 GB55 GB
128K43 GB43 GB87 GB87 GB
Q5_K_M4K50 GB1.3 GB53 GB53 GB
32K50 GB11 GB62 GB62 GB
128K50 GB43 GB94 GB95 GB
Q6_K4K58 GB1.3 GB60 GB61 GB
32K58 GB11 GB70 GB70 GB
128K58 GB43 GB102 GB102 GB
Q8_04K75 GB1.3 GB77 GB78 GB
32K75 GB11 GB87 GB87 GB
128K75 GB43 GB119 GB119 GB
FP164K141 GB1.3 GB143 GB144 GB
32K141 GB11 GB153 GB153 GB
128K141 GB43 GB185 GB186 GB

Weights are the parameter count times the bits per weight of each quantization, the KV cache comes from the layer and attention head counts in the model config at FP16, as Ollama stores it by default. The sizes match Ollama downloads within a few percent.

GPUs that fit DeepSeek R1 70B

In Q4_K_M at 4K, the cheapest GPU server that holds DeepSeek R1 70B is the L40S (48 GB) at about $2.16 an hour, generating about 12 tokens per second. A 24 GB card such as the L4 or A10 is too small for it even at a short context, so Ollama would move part of the model to system RAM and run several times slower. Unquantized FP16 needs about 143 GB, which starts at the 4× A40 (192 GB).

DeepSeek R1 70B setupVRAM neededCheapest GPU servers that fit
Q4_K_M at 4K45 GB
  • L40S 48 GB, $2.16/hr, about 12 tok/s
  • A40 48 GB, $2.40/hr, about 11 tok/s
  • 4× RTX 4000 Ada 80 GB, $4.14/hr, about 7 tok/s
Q4_K_M at 128K87 GB
  • 4× A40 192 GB, $9.59/hr, about 11 tok/s
Q8_0 at 4K77 GB
  • 4× RTX 4000 Ada 80 GB, $4.14/hr, about 4 tok/s
  • A100 80 GB, $4.23/hr, about 11 tok/s
  • H100 80 GB, $4.32/hr, about 11 tok/s
FP16 at 4K143 GB
  • 4× A40 192 GB, $9.59/hr, about 3 tok/s

Prices are for the cheapest city of each card, billed by the hour. Speed is generation with Ollama, estimated from memory bandwidth and our runs on the LLM speed benchmark. All cards are on the GPU servers page.

Running DeepSeek R1 70B on a CPU server

Yes, a CPU-only server with 48 GB of RAM holds DeepSeek R1 70B in Q4_K_M at 4K, since it needs about 45.6 GB. On 12 shared vCPU expect under 1 token per second, suited to batch jobs that can wait. At the full 128K context the RAM need grows to about 87 GB.

CPU serverRAMTokens/s in Q4_K_MPrice
12 shared vCPUVultr48 GBunder 1$385/mo$0.527/hr
2 dedicated vCPULinode48 GBunder 1$180/mo$0.247/hr

DeepSeek R1 70B in Ollama

ollama run deepseek-r1:70b downloads the Q4_K_M build. Every quantization in the table has its own tag, listed next to its row.

  • Q4_K_Mollama run deepseek-r1:70b
  • Q5_K_Mollama run deepseek-r1:70b-llama-distill-q5_K_M
  • Q6_Kollama run deepseek-r1:70b-llama-distill-q6_K
  • Q8_0ollama run deepseek-r1:70b-llama-distill-q8_0
  • FP16ollama run deepseek-r1:70b-llama-distill-fp16

What to know about DeepSeek R1 70B

  • At 128K the context cache takes about 43 GB, as much again as the Q4_K_M weights. Raise num_ctx only as far as your prompts need.
  • DeepSeek R1 70B writes its reasoning into the context before the answer, so plan for a longer context than a plain chat model needs and raise num_ctx above the 4K default for multi step problems.

Frequently asked questions

How much VRAM does DeepSeek R1 70B need?

About 45 GB in Q4_K_M at a 4K context, about 77 GB in Q8_0 and about 143 GB in FP16. The cheapest GPU that holds it in Q4_K_M is the L40S (48 GB). A longer context adds more: about 87 GB in Q4_K_M at 128K.

Can DeepSeek R1 70B run on a CPU without a GPU?

Yes, a CPU-only server with 48 GB of RAM holds DeepSeek R1 70B in Q4_K_M at 4K, since it needs about 45.6 GB. On 12 shared vCPU expect under 1 token per second, suited to batch jobs that can wait. At the full 128K context the RAM need grows to about 87 GB.

How much memory does DeepSeek R1 70B need for a 128K context?

About 87 GB of VRAM or 87 GB of RAM in Q4_K_M. The context cache alone takes about 43 GB at 128K tokens, next to about 43 GB of weights. Ollama uses a 4K context unless you raise num_ctx, so the cache stays small by default.

Similar models

Further reading

VRAM and RAM for other models

Another model, quantization or context? Use the LLM VRAM and RAM calculator