AI Security

DeepSeek On-Premise: A Provenance and Risk Review Before You Self-Host V4

Self-hosting DeepSeek weights is a different risk decision from using DeepSeek's app or API. This review covers the September 2026 lineup, what public-sector restrictions actually cover, a provenance checklist for the weights, and the GPU arithmetic.

DeepSeek on premise means running DeepSeek's published open weights on your own GPUs, with no connection to DeepSeek's app, website or API. The V4 and V4.1 checkpoints carry the MIT License, so the review that matters is provenance and behaviour: pin the exact files, verify their hashes, control executable code, block egress, and red-team the model yourself.

Security leads tend to meet DeepSeek as a headline about a government ban. Architects meet it as a model card with an MIT badge and a one-million-token context window. Those are descriptions of two different things. The bans are aimed at a hosted service that processes user data in China. The model card describes a set of files you can copy into a data centre with no route to the internet.

This review keeps the two apart and turns the second into something a security team can sign off. If you are new to self-hosted models, start with what a local LLM is. Facts below were checked against Hugging Face, DeepSeek’s announcements and the named regulators on 27 September 2026. DeepSeek ships new checkpoints most months, so re-check before you pin anything.

The DeepSeek open-weight lineup in September 2026

DeepSeek released the V4 series as a preview on 24 April 2026 (announcement) and replaced each preview with an official checkpoint over the summer. All of them are mixture-of-experts models: total parameters set the memory bill, active parameters set the compute per token.

CheckpointReleasedTotal / active parametersContextWeights on diskLicense
DeepSeek-V4-Flash-073131 Jul 2026284B / 13B, plus a speculative-decoding module1M tokens≈167 GBMIT
DeepSeek-V4-Pro-081313 Aug 20261.6T / 49B, plus a speculative-decoding module1M tokens≈893 GBMIT
DeepSeek-V4.1-Flash10 Sep 2026552B backbone; 8B active in prefill, 16B in decode1M tokens≈510 GBMIT

Weights-on-disk figures are totals from the Hugging Face file listing. A few details change how you deploy them:

  • Precision is baked in. The V4 model card describes the instruct weights as FP4 + FP8 mixed: expert parameters in FP4, most others in FP8. The base checkpoints are FP8 mixed. You are not choosing a quantization; you are inheriting one.
  • The 0731 and 0813 releases supersede the April previews and carry a DSpark speculative-decoding module inside the same checkpoint.
  • V4.1-Flash is a new architecture. DeepSeek describes it as a natively multimodal causal encoder-decoder with 196B parameters of Engram conditional memory. An experimental V4-Flash-Vision-Exp checkpoint also exists.
  • There is no Jinja chat template. Each repository ships a Python reference encoder instead, and DeepSeek added a Rust library, deepseek-recipe, for V4.1. If your serving engine formats prompts incorrectly, tool calls degrade without an obvious error.

Self-hosted weights are not the DeepSeek service

Three differences decide most of the risk conversation.

Where the data goes. DeepSeek’s privacy policy, last updated 10 February 2026, says the company collects, processes and stores personal data in the People’s Republic of China to provide its services. A self-hosted checkpoint has no such path. Prompts, retrieved documents and outputs stay on your hardware unless software you installed sends them somewhere.

What the model name points to. On a hosted API, a model name is a pointer the provider can move. When V4.1-Flash launched, DeepSeek’s API changelog recorded that the V4 Flash names were retired and temporarily routed to the new model. Earlier, deepseek-chat and deepseek-reasoner were retired after 24 July 2026. On premises, a checkpoint is identified by a repository commit hash and per-file SHA-256 digests. It changes only when your team changes it.

Who can switch it off. A service can be withdrawn, re-priced or blocked in a jurisdiction. Weights already in your registry keep running. The trade is that you inherit the work the provider used to do: patching the serving stack, planning capacity, evaluating new releases and handling incidents.

What public-sector restrictions on DeepSeek cover

Several public bodies have acted against DeepSeek. Read the scope of each carefully, because most target the service rather than weights running in your environment (status as of 27 September 2026):

  • Italy. On 30 January 2025 the Garante ordered, with immediate effect, a limitation on the processing of Italian users’ data by the two Chinese companies that provide the DeepSeek chatbot service, and opened an investigation (Garante press release).
  • New York State. On 10 February 2025 the Governor banned the DeepSeek application from being downloaded on ITS-managed government devices and networks (Governor’s announcement).
  • Berlin. On 27 June 2025 the Berlin data protection commissioner reported the DeepSeek app to Apple and Google as illegal content under Article 16 of the Digital Services Act, citing unlawful transfers of personal data to China (BlnBDI press release).
  • Czech Republic. On 10 July 2025 the national cyber security agency NÚKIB warned entities under the Cyber Security Act against DeepSeek products, applications, websites, web services and APIs. The warning says it does not apply to DeepSeek’s open-source models deployed locally without any capability to communicate with servers used by DeepSeek or its related entities (NÚKIB warning).

The Czech carve-out is the most explicit statement we found, and it sets a useful bar. The exemption depends on the deployment genuinely being unable to reach DeepSeek. That is a network property you can test and evidence, not a clause in a supplier contract. Other directives are worded around “products” and an auditor may read them broadly, so security and legal should read the text that governs your sector before a pilot starts.

A provenance checklist for DeepSeek weights

Provenance review answers one question: are the bytes on the GPU exactly the bytes DeepSeek published, and did nothing else arrive with them? For the general pattern, see our model import pipeline. Applied to DeepSeek:

  1. Pull only from the official organisation. Use deepseek-ai on Hugging Face, or the ModelScope mirror linked from the model card. Third-party quantizations and GGUF conversions are derivative builds with their own supply chain, even when the publisher is reputable. Give each one its own review or leave it out.
  2. Pin the commit. Record the repository commit hash, which the Hub API returns as sha, rather than only the model name.
  3. Verify every shard. The Hub API (/api/models/<repo>?blobs=true) lists a SHA-256 digest for each large file. V4-Flash-0731 has 48 safetensors shards. Hash each one after it crosses into the restricted zone and compare against the manifest you recorded.
  4. Accept safetensors only. The V4 weights ship as .safetensors, a format that stores tensors without executable code. Reject any variant that asks you to load pickle-based .bin or .pt files.
  5. Inventory the Python. The repositories also contain Python: an encoding folder for prompt formatting and an inference folder with DeepSeek’s reference implementation. Neither runs unless you run it. The V4-Flash-0731 config.json and tokenizer_config.json declare no custom classes, yet the official vLLM and SGLang commands still pass --trust-remote-code. Treat that flag as a change-controlled setting. Confirm in staging whether your pinned engine build needs it, and if it stays, diff the repository’s code files at every update.
  6. Serve with egress blocked, then prove it. Run inference in a network segment with no outbound route. Set HF_HUB_OFFLINE=1 so the Hugging Face client makes no Hub calls, and HF_HUB_DISABLE_TELEMETRY=1 (Hugging Face docs). vLLM collects anonymous usage statistics by default; turn that off with VLLM_NO_USAGE_STATS=1 or DO_NOT_TRACK=1 (vLLM docs). Then capture egress logs during a load test, as described in our guide to proving no hidden callouts.
  7. Keep the license with the artifact. Store the MIT LICENSE file as it stood at download next to the manifest. The MIT terms are light, but the license clauses that create real work still apply the moment you copy weights to another legal entity.

Red-team the checkpoint you will actually serve

Provenance shows the files are genuine. It says nothing about how the model behaves on your prompts, and the published evidence gives reasons to test with care.

In September 2025, NIST’s Center for AI Standards and Innovation (CAISI) evaluated three earlier DeepSeek models: R1, R1-0528 and V3.1 (CAISI evaluation). It reported that agents based on R1-0528 were on average 12 times more likely than the evaluated US frontier models to follow malicious instructions designed to derail them. Under a common jailbreaking technique, R1-0528 answered 94% of overtly malicious requests, against 8% for the US reference models, and the DeepSeek models echoed four times as many inaccurate and misleading CCP narratives. In May 2026, CAISI’s evaluation of V4 Pro focused on capability and found V4 scored better on DeepSeek’s self-reported evaluations than on CAISI’s own.

Those findings describe other checkpoints, so treat them as a reason to test rather than a verdict on V4. A pilot test plan should cover:

  • Agent hijacking. Plant instructions in retrieved documents, tool outputs and pages the agent reads, then measure how often it obeys them. Once a model can call tools, this matters more than chat jailbreaks.
  • Jailbreak resistance across the harmful-request categories your acceptable-use policy forbids.
  • Sensitive and contested topics. Write prompts on subjects your organisation actually handles, such as sanctions screening, Taiwan-related supply chains or human-rights due diligence, and check for refusals, omissions and one-sided framing.
  • Refusals of routine work. Count how often the model declines ordinary tasks in your domain.
  • Your own quality bar. Re-run your golden set instead of relying on DeepSeek’s published tables.

Record results per checkpoint and per reasoning setting. The 0731 and 0813 releases accept low, high and max reasoning effort, V4.1-Flash takes an integer from 1 to 100, and behaviour can differ between settings.

Serving engines and hardware arithmetic

vLLM and SGLang both support DeepSeek V4, and the official model cards give launch commands for each. The vLLM recipe for V4-Flash calls for vLLM 0.20.0 or later (0.25.0 for DSpark speculative decoding), uses the deepseek_v4 tokenizer mode, tool-call parser and reasoning parser, and requires --max-model-len of at least 393,216 for the maximum reasoning mode. V4.1-Flash needs vLLM 0.30.0 or later.

Sizing starts from the weights, because V4’s compressed attention makes the KV cache unusually small. DeepSeek reports a global KV cache of 890 bytes per token for V4.1-Flash, roughly a quarter of V4-Flash. At that rate a 128K-token session holds about 117 MB of global KV cache, and a full one-million-token session less than 1 GB. The weights run to hundreds of gigabytes.

CheckpointWeights on disk8× H100 80 GB (640 GB)8× H200 141 GB (1,128 GB)Configurations documented by DeepSeek or vLLM
V4-Flash-0731≈167 GB≈473 GB spare≈961 GB spareOne 4× GB300 node (model card); H200, 8× RTX PRO 6000, MI300X and MI355X (vLLM recipe)
V4.1-Flash≈510 GB, of which 183 GiB are Engram tables≈130 GB spare, too tight to plan on≈618 GB spare8-GPU H200 node at TP4 with Engram tables offloaded to CPU memory (vLLM recipe)
V4-Pro-0813≈893 GBDoes not fit≈235 GB spareOne 4× GB300 node (model card)

GPU capacities are from NVIDIA’s H100 and H200 pages. “Spare” is raw memory left after the weights, before activations, runtime overhead and KV cache. It also assumes the engine holds the FP4 and FP8 formats as shipped. The H100 column is arithmetic only, because H100 is not among the configurations the vLLM recipe lists.

Two conclusions follow. V4-Flash-0731 is the realistic pilot: it occupies a fraction of one node and leaves room for replicas or a second model. V4-Pro-0813 is a whole-node commitment on H200-class hardware, so justify it with evidence from your own tasks before buying for it. The method behind these numbers is in our GPU sizing arithmetic. If the provenance review rules DeepSeek out, the Qwen size tiers cover similar ground under Apache-2.0.

How VDF AI fits

VDF AI treats a self-hosted DeepSeek checkpoint like any other local model: registered once, then routed under policy. VDF AI Router has an air-gap mode that disables external APIs and restricts routing to local models. A domain flagged as regulated only ever considers explicitly approved models, and allow and deny lists can keep a DeepSeek checkpoint out of workflows your policy excludes. Each routing decision comes back with its reason, candidate list and scores, so auditors can see which model handled which request.

Before a checkpoint is approved, the Model Evaluation Suite runs your domain test cases against it inside your own deployment, keeps every response with timestamps and flags regressions between versions. The red-team and golden-set results above then exist as stored evidence for the approval decision.

Sources

Frequently asked questions

Is it safe to run DeepSeek on premise?

It can be, provided you treat safety as two separate questions. The first is provenance: are the files on your GPUs exactly the ones DeepSeek published, loaded without unreviewed code, on servers with no route to the internet? The second is behaviour: how does the checkpoint respond to jailbreaks, injected instructions and politically sensitive prompts in your domain? Self-hosting removes the data-transfer concern that drove most public-sector actions against DeepSeek's app, but it does not answer the behaviour question. Only your own red-team and evaluation results can do that.

Do government bans on DeepSeek apply to self-hosted weights?

Most of the actions we reviewed target DeepSeek's app, website or API rather than weights running in your own environment. Italy's Garante limited the chatbot service's processing of Italian users' data, New York banned the app on state-managed devices, and Berlin's data protection commissioner reported the app to Apple and Google. The Czech NÚKIB warning is the most explicit: it excludes DeepSeek's open-source models deployed locally with no capability to communicate with DeepSeek's servers. Your sector's rules may be worded more broadly, so legal should read them.

What license do DeepSeek V4 weights use?

Each DeepSeek V4 and V4.1 repository we checked in September 2026 states that the repository and the model weights are licensed under the MIT License. That means no user thresholds, no naming requirements and no acceptable-use policy travelling with the files, which is simpler than most open-weight licenses. The usual MIT obligations still apply: keep the copyright and permission notice with any copy you distribute, and accept that the software comes without warranty. Store the license file with the weights at download time.

How much GPU memory does DeepSeek V4 need?

Start from the weights, because the V4 family's compressed attention keeps the KV cache small. On the Hugging Face file listing, DeepSeek-V4-Flash-0731 is about 167 GB, DeepSeek-V4.1-Flash about 510 GB and DeepSeek-V4-Pro-0813 about 893 GB. Flash fits inside a fraction of one 8-GPU H200 node, while Pro needs most of that node's 1,128 GB before any KV cache or runtime overhead. Validate with the engine configurations that vLLM and DeepSeek document, then load-test at your real concurrency.

Which DeepSeek checkpoint should an enterprise pilot first?

DeepSeek-V4-Flash-0731 is the practical starting point. It is the official, non-preview Flash release, it has the widest set of documented serving configurations, and its roughly 167 GB of weights leave room on a single node for replicas or a second model. Move to V4-Pro-0813 or V4.1-Flash only if your own evaluation shows a gain on tasks that matter. V4.1-Flash is newer and multimodal, but it needs a more recent engine build and has been public for a shorter time.

Filed under
DeepSeekopen-weight modelslocal LLMmodel provenanceon-premises AIAI security
On-Prem AI

Plan your on-prem AI deployment

Book an architecture call and we will scope a private, on-prem AI deployment for your environment — integrations, hardware, and governance included.

Keep reading