Search
AIDeepSeekHow-to

How to Run DeepSeek Locally (and Why Privacy Is the Main Reason To)

Published 2 min readBy Programming4us Editorial Team

DeepSeek publishes open weights for its models, which means you can download and run them yourself instead of using the hosted app. For many people and companies, that's the most important feature, because the hosted DeepSeek service processes data on servers in China, and several governments restrict its use on official devices.

What you can realistically run

Model Size Hardware needed
DeepSeek-V4 Pro (preview) 1.6T total / 49B active parameters multi-GPU server
DeepSeek-V4 Flash (preview) 284B total / 13B active parameters high-end server with lots of GPU memory
Distilled DeepSeek-R1 models 1.5B to 70B parameters from laptops (small models) to a PC with a strong GPU (14B–32B)

On a normal PC, the distilled models are the practical choice. As a rough guide with 4-bit quantisation: 7–8B models run on 8 GB of GPU memory, 14B on about 12–16 GB, and 32B on 24 GB. Without a GPU they still run on CPU, just slowly.

Option 1: Ollama (simplest)

  1. Install Ollama from its official site (Windows, macOS, Linux).
  2. Open a terminal and run:
ollama run deepseek-r1:8b

Ollama downloads the model and opens a chat prompt. Try deepseek-r1:14b or :32b if your GPU has enough memory.

  1. Use it from other apps through Ollama's local API at http://localhost:11434. Many editors and chat front-ends, such as Open WebUI, connect to it directly.

Option 2: LM Studio (graphical)

  1. Install LM Studio.
  2. Search for "DeepSeek" in the model browser and pick a GGUF build that fits your memory (LM Studio shows whether it will fit).
  3. Load it and chat, or start the local server to use it from other tools via an OpenAI-compatible API.

Privacy: what stays local

When the model runs on your hardware, prompts and answers never leave the machine. That makes local models suitable for internal documents and code that can't go to cloud services. Remember that:

  • tools you connect (web search plugins, cloud sync) can still send data out,
  • downloaded model files should come from trusted sources.

Expectations

Reasoning models like DeepSeek-R1 "think" before answering, so responses take longer and include a visible reasoning section. Small local models also make more mistakes than frontier cloud models. Use them for drafting, summarising, code explanations and internal Q&A, and verify important answers.

When to use the hosted API instead

For the full V4 models at low cost and you're comfortable with the data handling terms, DeepSeek's API is inexpensive. Some cloud providers also host DeepSeek's open models in their own regions, offering a middle ground between self-hosting and the official service.

Frequently asked questions

Can I run DeepSeek-V4 Pro on a gaming PC?

No. V4-Pro has 1.6 trillion total parameters and needs multiple data-centre GPUs. On a PC, use smaller distilled DeepSeek models in the 7B–32B range.

Does a local model send data to DeepSeek?

No. When the model runs in Ollama or LM Studio on your machine, prompts and answers stay on your computer unless you connect it to online tools.

Are local models as good as the hosted DeepSeek app?

Small local models are noticeably weaker than the full hosted model, especially at complex reasoning, but they are good enough for many writing, summarising and coding tasks.