October 27, 2026 · Updated on November 12, 2026 · 17 min read

Running DeepSeek Locally: What V4 Needs

Graphic title card for the article “Running DeepSeek Locally: What V4 Needs” with a stylised motif: a large model block sticking out over the edge of a small computer, next to it four linked computers and a cloud with a crossed-out arrow.
Graphic: HumanITy

You may run DeepSeek V4 locally: the weights have been on Hugging Face under the MIT license since April 22, 2026. On a typical single machine with up to 128 GB, though, V4 doesn't run in its original form: even the smallest model, DeepSeek-V4-Flash with 284 billion parameters, takes up about 160 GB. With 128 GB you can only run a more heavily compressed version, such as Unsloth's 3-bit build at about 103 GB; for full quality you need a Mac Studio with 256 or 512 GB or a server with several GPUs.

  • Ollama: the Ollama library only has V4 as a cloud model, so your input goes to Ollama's servers.
  • deepseek-r1 isn't V4: what runs locally under deepseek-r1 in Ollama is mostly small models from 2025 that were further trained on DeepSeek R1's outputs. They run on a machine with 8 GB.
  • Privacy depends on where it runs: through DeepSeek's app and API, your data is processed and stored in China according to the privacy policy. With your own weights on your own hardware, nothing goes to DeepSeek.

I don't run DeepSeek myself; all DeepSeek figures come from the model cards, the Hugging Face API and Unsloth's guides, as of November 2026. My DGX Spark runs Qwen3.8-27B, which I use as the reference for the numbers below; how I run it there and what it manages is in Run Qwen 3.8 Locally: 27B on a DGX Spark. Everything I write about local AI is collected on the AI page, and the overview of all open models is in Open Source AI Models 2026 Compared.

Which DeepSeek models are there?

Model On Hugging Face since Parameters total / active Context License
DeepSeek-V4-Pro April 22, 2026 1.6T / 49B 1M tokens MIT
DeepSeek-V4-Flash April 22, 2026 284B / 13B 1M tokens MIT
DeepSeek-V4.1-Flash September 10, 2026 552B backbone plus 196B Engram memory; 8B active when reading input, 16B when generating up to 1M tokens MIT
DeepSeek-V4.1-Flash-1017 October 17, 2026 same as V4.1-Flash up to 1M tokens MIT
DeepSeek-R1-0528-Qwen3-8B May 29, 2025 8.2B 128K according to Ollama MIT

Table as of November 2026. DeepSeek calls V4 a preview in the model card ("a preview version of DeepSeek-V4 series"). Updates followed as separate repositories, such as V4-Flash-0731 and V4-Pro-0813. V4.1-Flash is a new model that processes text and images. According to DeepSeek, the 1017 version is a minor update that finishes tasks faster and with shorter outputs. All models in the V4 line are under MIT. So you may use them commercially, modify them and pass them on, as long as you include the copyright and license notice.

How much memory DeepSeek V4 needs

The V4 weights are already stored in compressed form. According to DeepSeek, the experts are in FP4 and most of the rest in FP8. That's why a 4-bit version is hardly smaller than the original. V4 only gets noticeably smaller below 4 bits, and then the expert weights get rounded. Unsloth, which builds GGUF versions for llama.cpp, measured the effect: for another provider's 2-bit version at 87 GB, the most likely next token matches the original for only about 78 percent of tokens. Memory use according to the Hugging Face API and Unsloth:

Model and version Memory Assessment
DeepSeek-V4-Flash, original about 160 GB in the repository; for the lossless GGUF (162 GB), Unsloth recommends at least 169 GB too big for machines up to 128 GB such as the DGX Spark; fits a Mac Studio M5 Ultra with 256 or 512 GB on paper, and Nvidia lists models up to 400B parameters for two linked Sparks
DeepSeek-V4-Flash, 3-bit (Unsloth UD-IQ3_XXS) about 103 GB, Unsloth recommends at least 110 GB for 128 GB machines according to Unsloth; with some loss in quality
DeepSeek-V4.1-Flash, original about 510 GB in the repository Hugging Face counts 763B parameters, more than the 700B Nvidia lists for four linked Sparks
DeepSeek-V4.1-Flash, Unsloth GGUF 1-bit 233 GB, of which 110.6 GB is an Engram table that can stay on the SSD according to Unsloth, 1-bit from 128 GB, 3-bit from 256 GB as in a Mac Studio; only with Unsloth's llama.cpp extension or Unsloth Desktop
DeepSeek-V4-Pro about 865 GB data center
for comparison: Qwen3.8-27B as NVFP4 21.9 GB on my DGX Spark runs at 50.7 tokens per second on my machine

Memory for the context comes on top. For the strongest reasoning mode, DeepSeek recommends a context window of at least 384,000 tokens. My DGX Spark reports about 119 GB as usable, my MacBook Pro M3 Max has 64 GB. The 3-bit version of V4-Flash fits the Spark on paper, with little room for long context; no version of V4-Flash fits the MacBook. Which Mac handles which model size, from the Mac mini up to the 512 GB Mac Studio, is in Local AI on a Mac: Mini as AI Server.

DeepSeek's own instructions assume several GPUs too. In its example, the reference implementation in the repository splits the model across four processes using model parallelism, and across eight for V4.1-Flash. Nvidia writes that up to four DGX Sparks can be linked into a cluster. What a machine for the different model classes costs is in Your Own AI Server: Hardware and Cost.

DeepSeek in Ollama: V4 cloud only

In the Ollama library, V4-Pro and V4.1-Flash only exist with the cloud tag, for example deepseek-v4-pro:cloud or deepseek-v4.1-flash:1017-cloud, with no local size listed. The page for deepseek-v4-flash says: "deepseek-v4-flash was retired on August 27, 2026" and "No models have been pushed." The GGUF versions in the table above don't come from the Ollama library; Unsloth describes running them with llama.cpp and with its own app, Unsloth Desktop.

A cloud model in Ollama doesn't run on your machine. Ollama describes it this way: "Run models in Ollama's cloud from your apps or terminal. No model or app download required." Your input goes to Ollama's servers. According to Ollama, the service processes it to answer the request and doesn't use it for training. So typing ollama run deepseek-v4.1-flash:cloud doesn't run DeepSeek locally, it runs it in someone else's cloud. How to set up Ollama for models that really are local is in Setting Up Local AI: Ollama to SGLang.

What "deepseek-r1" in Ollama is

Most guides on installing DeepSeek locally date from 2025 and mean ollama run deepseek-r1. That doesn't load V4, it loads an 8-billion-parameter model by default. Ollama lists these sizes for deepseek-r1:

Ollama tag Size Runs from (rule of thumb below) Origin according to Ollama
deepseek-r1:1.5b, 7b, 14b, 32b 1.1 GB, 4.7 GB, 9.0 GB, 20 GB 8, 8, 16, 32 GB Qwen 2.5, further trained on R1 outputs
deepseek-r1:8b (default) 5.2 GB 8 GB, tight DeepSeek-R1-0528-Qwen3-8B
deepseek-r1:70b 43 GB 64 GB Llama 3.3 70B, further trained on R1 outputs
deepseek-r1:671b 404 GB server with several GPUs the full R1

DeepSeek calls these small models "distilled". They learned R1's reasoning pattern, but at their core they are Qwen or Llama models. That affects the license. According to Ollama, the Qwen variants derive from Qwen 2.5 under Apache 2.0, and the 70-billion-parameter variant from Llama 3.3, originally under its license. For DeepSeek-R1-0528-Qwen3-8B, the model card states MIT. If you want to use "DeepSeek locally" for client work, check the base model's license too. How different these licenses are is in Open Weight vs Open Source: Licenses.

Which DeepSeek model runs on your machine?

What you actually install locally with Ollama are the R1 models from 2025, not V4. What matters is your RAM, or on a Mac or a DGX Spark the unified memory. As a rule of thumb, the model file should take up no more than about two thirds of it; the rest goes to context, the operating system and other programs.

Memory What fits Command
8 GB R1 with 1.5 or 7 billion parameters; the 8B default gets tight ollama run deepseek-r1:1.5b
16 GB the default model (5.2 GB) or the 14B variant (9.0 GB) ollama run deepseek-r1:8b or ollama run deepseek-r1:14b
32 GB R1 with 32 billion parameters based on Qwen 2.5 (20 GB) ollama run deepseek-r1:32b
64 GB R1 with 70 billion parameters based on Llama 3.3 (43 GB) ollama run deepseek-r1:70b
128 GB V4-Flash as Unsloth's 3-bit GGUF (about 103 GB; from 110 GB of memory according to Unsloth, so tighter than the rule of thumb) with llama.cpp or Unsloth Desktop, not from the Ollama library
256 or 512 GB V4-Flash in original quality (162 GB) or V4.1-Flash as a 3-bit GGUF with llama.cpp; for V4.1, according to Unsloth, only with their extension

Three steps to a local DeepSeek:

  1. Install Ollama: on macOS and Linux with curl -fsSL https://ollama.com/install.sh | sh, on Windows in PowerShell with irm https://ollama.com/install.ps1 | iex, or as a download from ollama.com/download.
  2. Pull the tag that fits your memory: from the table above, for example ollama run deepseek-r1:14b with 16 GB.
  3. Avoid cloud tags: according to Ollama, tags with cloud in the name run on its servers, not on your machine.

The setup in detail, and when another tool is worth it instead of Ollama, is in Setting Up Local AI: Ollama to SGLang. A complete walkthrough with every command is in Installing Qwen 3.8 with Ollama.

Privacy: app, API or your own weights

Here I compare what the providers themselves say.

Route Where the model computes What the providers say
DeepSeek app or website DeepSeek's servers The controller is Hangzhou DeepSeek Artificial Intelligence Co., Ltd. in China. According to the privacy policy, data is collected, processed and stored "in People's Republic of China". Training the models is also listed as a purpose
DeepSeek API DeepSeek's servers The API terms refer to the same privacy policy for personal data and place the contract under the law of the People's Republic of China. If you build the API into your own applications, you have to inform your users yourself
Ollama cloud model Ollama's servers Ollama processes prompts and responses to answer the request and doesn't use them for training
your own weights on your own hardware your computer or your server no transfer to DeepSeek or Ollama; the MIT license only governs use of the weights

According to its privacy policy, DeepSeek has appointed a representative for the EU, and the policy lists rights such as access and erasure. That doesn't change the fact that with the app and API, your input goes to a country outside the EU. What that means for client data needs to be checked before you use it.

Run locally, DeepSeek is no different from any other open model in terms of data flow. Where your data goes isn't decided by where the model comes from, but by where it runs. Why "local" still doesn't automatically mean "privacy-compliant" is covered in Local AI and Privacy: Cloud or Server?.

When running DeepSeek locally pays off

Running DeepSeek V4 locally pays off if you already operate servers with several large GPUs, want to build a cluster of several machines or have a Mac Studio with 256 or 512 GB. Then you get a large model under MIT without any data going to DeepSeek. On a 128 GB machine like the DGX Spark, only the versions of V4-Flash below 4 bits are left, with some loss in quality and little room for context. For everyone else, two routes are more realistic. Either an open model between 20 and 35 billion parameters that runs on a single machine, such as Qwen3.8-27B, Muse Glimmer 30B or Gemma 4, all under Apache 2.0. Or a provider in the EU that runs open weights itself and offers a data processing agreement; I compare the options in European AI Providers Beyond ChatGPT. The comparison of models for a single machine is in Open Source AI Models 2026 Compared, and my experience with the DGX Spark in DGX Spark Tested: Worth Buying?.

Frequently asked questions

Can I install DeepSeek V4 locally?

You may, the weights are on Hugging Face under MIT. On machines up to 128 GB, V4 doesn't run in its original form; the V4-Flash files alone take up about 160 GB. With 128 GB, according to Unsloth, a 3-bit version runs with llama.cpp; for full quality you need a Mac Studio with 256 or 512 GB or several GPUs.

How much memory does DeepSeek V4 Flash need?

The files in the repository take up about 160 GB, plus memory for the context. Unsloth recommends at least 169 GB for the lossless GGUF and at least 110 GB for the 3-bit version at 103 GB. Nvidia lists models up to 200 billion parameters for a DGX Spark with 128 GB; V4-Flash, with 284 billion, only fits there in a version below 4 bits, such as the 3-bit one.

Which DeepSeek model runs on a normal computer?

The R1 models from 2025 in the Ollama library. With 16 GB of RAM, deepseek-r1:8b or deepseek-r1:14b runs; with 32 GB, deepseek-r1:32b. These are Qwen and Llama models further trained on DeepSeek R1, not V4.

Is running DeepSeek locally GDPR-compliant?

Run locally, no input goes to DeepSeek, and that's the big difference from the app and API. Whether your whole setup is privacy-compliant depends on more than the model, though: on tools, logs and access.

Can I use DeepSeek commercially?

The weights of V4 and V4.1 are under the MIT license, so commercial use is allowed. The condition is that you include the copyright and license notice when you pass the model on. For the small R1 models in Ollama, the base model's license also applies, for example Llama 3.3 for the 70B model.

What does "ollama run deepseek-r1" load?

By default DeepSeek-R1-0528-Qwen3-8B, an 8-billion-parameter model of 5.2 GB that builds on Qwen3 and was trained on R1's outputs. It's not DeepSeek V4 and not the full R1 with 671 billion parameters.

Where you go from here

If you're looking for an open model on your own hardware, start with the overview in Open Source AI Models 2026 Compared and choose by memory and license. I describe the setup with Ollama in Setting Up Local AI: Ollama to SGLang. And if you're thinking about buying hardware, do the math first with Your Own AI Server: Hardware and Cost.

Keep reading

Kevin Welter

Kevin Welter

Developer, IT architect, author of technical books (Kubernetes, cloud infrastructures) and speaker. Runs his business with an AI workforce of fifteen AI employees and shows solo business owners in his community how to hire their first AI employee.

More about AI employees

Your first AI employee up and running within an hour

Join the community

$5/month founding price, first 50 members