Skip to main content

Guides

Run DeepSeek-R1 Locally: Model Names and First Setup

The 8B name alone does not identify a DeepSeek-R1 download. Check whether yours is the Qwen3-based release or the older Llama-based distill before comparing.

By Updated 7 min read

For a personal computer, choose an exact DeepSeek-R1 distilled model since the flagship download does not fit. Start with a small download, confirm a short task works, and increase size only when it improves your actual work. R1-style reasoning suits mathematics and code but takes longer to reach a final answer.

Use this path if you want to compare a reasoning model on tasks with answers you can check. For quick rewriting or ordinary chat, also compare a supported instruction model; a longer reasoning trace is not automatically a better result.

Know which model you are downloading

The original full DeepSeek-R1 is a mixture-of-experts model with 671B total parameters and 37B active per token. The active count describes computation, not the complete weight-storage requirement. Idealized four-bit storage alone is about 335.5 billion bytes before format overhead and higher-precision tensors. This is a specialist high-memory workload, far beyond an ordinary laptop or 24 GB graphics card.

The original distilled releases are smaller dense models:

Exact releaseBase familyPractical starting investigation
R1-Distill-Qwen-1.5BQwen2.5-MathSmall-machine setup check; modest task expectations
R1-Distill-Qwen-7BQwen2.5-MathSelected four-bit download on a supported 8 GB GPU or 16 GB system
Original R1-Distill-Llama-8BLlama 3.1Similar memory class, with different weights and license ancestry
R1-Distill-Qwen-14BQwen2.5Investigate 16 GB dedicated VRAM or 24 GB–32 GB unified memory
R1-Distill-Qwen-32BQwen2.5Investigate 24 GB dedicated VRAM or a larger shared-memory machine
R1-Distill-Llama-70BLlama 3.3High-memory hardware; Ollama's Q4_K_M download is about 43 GB before context

Two 24 GB cards do not behave like one 48 GB card unless the selected runtime supports the split.

Plan the full memory requirement

Use the memory calculator with the actual compression, file size, context, and hardware. Begin at about 4096 tokens for a setup check. Reasoning output takes part of the output budget and working context; a long response can become impractical even when the weights fit.

For a smaller GPU, start with a smaller distilled download that leaves room for the conversation and buffers. On a Mac, leave room for macOS and other apps in the same unified-memory pool. On CPU-only hardware, a short small-model comparison can work, but a long reasoning response takes too long.

Do not allocate all available memory to weights or set the largest advertised context. See context length and model compression for download names and settings.

Choose the Ollama model name

Use an explicit tag so you know which package you requested. These examples are different models, not three compression settings for the same weights:

Ollama tagExact checkpointWhen to investigate it
deepseek-r1:1.5bDeepSeek-R1-Distill-Qwen-1.5BA small first installation and reasoning check
deepseek-r1:8bDeepSeek-R1-0528-Qwen3-8BAn 8B option after an exact-file memory check
deepseek-r1:14bDeepSeek-R1-Distill-Qwen-14BA larger dense model when the full memory estimate leaves room

deepseek-r1:8b currently identifies the 0528 Qwen3-based model on Ollama. Looking for the older Llama-based 8B distillation? Select the explicitly named publisher checkpoint before comparing answers. Record the displayed model and file details; a tag may be updated.

Set up Ollama

Use the Ollama installation guide for your operating system and start the installed app or intended service. Confirm ollama --version works. Choose one model for the first run:

ollama run deepseek-r1:1.5b

For a supported machine with more memory, investigate deepseek-r1:8b or deepseek-r1:14b after the smaller setup works. ollama run downloads the named package if needed, so the first run requires a connection and disk space.

At the interactive chat prompt, set a modest context:

/set parameter num_ctx 4096

Ask a checkable question such as “Which prime numbers are strictly between 20 and 40? Give the final list.” The expected final list is 23, 29, 31, 37. Check the conclusion yourself.

While the model is loaded, run ollama ps in another terminal. It shows CPU/GPU placement and context. A CPU/GPU split can result from memory limits or backend selection; it is not by itself proof of a broken installation. If speed is unacceptable, shorten the response, reduce context, or compare a smaller model that can use the intended accelerator.

Exit with /bye, confirm the model appears in ollama list, and run it again. Reopening a downloaded model and receiving a correct short answer is the useful setup result.

Set up LM Studio

Install the app for a supported machine, then search Discover for the exact distilled checkpoint. Read the model card, publisher, and complete file name. A GGUF conversion and the original checkpoint have different packaging; check both the conversion's details and its source model.

  1. Choose a supported four-bit GGUF download as the first comparison. On Apple Silicon, a supported MLX package is another option; it is a different file.
  2. Complete the download and load one model with modest context.
  3. Use GPU offload only within the available memory. Raising it can cause an allocation failure if the GPU has no room left.
  4. Ask the same prime-number question and check the final list.
  5. Quit and reopen the app, load the same model, and repeat a short task.

The optional CLI can estimate memory before loading: use lms ls to obtain the model key, then lms load "MODEL_KEY" --context-length 4096 --estimate-only. Replace MODEL_KEY with your own listed key.

Reasoning settings and output

DeepSeek's original R1 usage recommendations suggest temperature 0.5–0.7, with 0.6 as its example, and putting instructions in the user prompt rather than adding a system prompt. Its reported sampling evaluations use top-p 0.95. These settings are specific to this model.

An interface can display a reasoning section before the final response. Depending on the model and template, raw output may contain <think> tags. Current Ollama APIs also separate reasoning and answer fields: chat returns message.thinking and message.content, while generate returns thinking and response. A program consuming those APIs should read the documented fields rather than assume all reasoning is embedded inside one tagged text string.

Ollama's available thinking controls depend on the model. Check /api/show to see whether thinking can be disabled. Hiding a reasoning panel does not stop generating those tokens.

What to compare and when to stop

Compare Qwen3.5 4B or Qwen3.5 9B on the same checkable arithmetic or code task. On a larger computer try Qwen3.8 27B after checking full fit. Use their model guides' exact local tags and compare correctness and time to the final answer. A hosted DeepSeek API is not a local R1 download. The newer DeepSeek-V4.1-Flash has downloadable MIT-licensed weights and native image input, but the publisher describes a 552B-parameter backbone. Its lower active-parameter counts do not make it fit a 16 GB or 32 GB machine. The API release is a separate hosted service; use an exact R1 distill or another compatible compact model for a consumer computer.

Try a small coding function with explicit input/output checks, an arithmetic problem with an independently known answer, or a source passage with conditions that must remain intact. Keep the same question when comparing model sizes or compression options. Record correctness and whether the response arrives at a pace you can use.

A reasoning model can loop, mix languages, or ignore an output format. Supply current sources for current facts.

If output repeats or never reaches the conclusion, check the intended template, publisher's sampling guidance, and output limit. If the runner crashes, use memory checks or LM Studio loading checks. If it loads but invents answers, use answer-quality checks.

License and privacy

DeepSeek publishes its R1 code and weights under MIT, while also identifying the base-model ancestry of its distills. The original Qwen distills derive from Apache 2.0 Qwen models; the original Llama 8B and 70B distills derive from models under their respective Llama licenses.

A connected cloud provider, remote tool, document embedding service, or exposed API sends data off your computer. Follow the offline restart check to run without a connection.

Sources