DeepSeek releases DeepInfer as an earlier US civilian-agency restriction is published
DeepSeek released DeepInfer, the inference framework behind DeepSeek-V4.1-Flash, under Apache 2.0 on October 20. Separately, the Federal Register published notice of a July 24 DHS order restricting DeepSeek procurement and use on federal civilian agency systems.
- Event or announcement
- Sources checked
What happened
On October 20, DeepSeek announced on X that DeepInfer, "our in-house inference framework," is now open source. DeepSeek says it powers DeepSeek-V4.1-Flash at scale. Separately, the Federal Register notice and signed order published on October 20 describe a DHS exclusion and removal order dated July 24, 2026. The notice was filed for public inspection on October 19.
Key facts
What DeepInfer is: The README calls it the framework "that powers DeepSeek's large-scale production services." This release covers offline inference and supports one model, DeepSeek-V4.1-Flash. It's licensed under Apache 2.0 and, per the README, was "originally built primarily on vLLM."
Hardware: The release currently supports NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs. DeepSeek's benchmarks used 4 SM100 GPUs for prefill and 64 for decode, each within one scale-up domain. These are DeepSeek's measurements, not our own tests.
What's missing: The README says a full serving setup still needs a KV cache system, prefill/decode disaggregation and load balancing, which aren't in this release.
Features: Structured outputs (regex, JSON schema or grammar), opt-in deterministic sampling on NVIDIA with a fixed seed, speculative decoding and asynchronous scheduling.
A second release: DeepSeek also open-sourced deepseek-recipe (MIT License), which converts Messages, Chat Completions and Responses API requests into DeepSeek prompts and parses the output back. It's installable with pip install deepseek-recipe. It does not provide model inference, tool execution or HTTP transport.
The federal order: The DHS order restricts civilian-agency procurement and requires removal of DeepSeek and affiliate products, including third-party products and services developed using DeepSeek implementations. It does not cover Defense Department or intelligence-community systems under their separate authorities, and excludes national-security and compartmented systems.
Why it matters
Our take: DeepInfer is a rare look at the stack a major lab uses to serve its own model, and it's free to reuse under Apache 2.0. But it isn't a laptop tool. It targets one model on top-end accelerators, and you still have to build the serving layer around it.
Federal civilian suppliers should review DeepSeek dependencies with their contracting officer or counsel. The order does not name DeepInfer; whether a particular integration falls within its scope requires assessment. This is not a general prohibition on private use.
How to use it
1. If you use DeepSeek's hosted app or API, this open-source release does not itself require installing DeepInfer. Applicable government and workplace restrictions still matter.
2. If your team already runs inference on SM100 or Ascend 950 hardware, start with the README's examples/offline_inference.py and budget time for the serving pieces DeepSeek left out.
3. If you're building a DeepSeek-compatible API, look at deepseek-recipe before writing your own prompt formatting.
4. If you sell to federal civilian agencies, list every place DeepSeek models or software appear in your product, and check with your contracting officer or counsel. Write down what you decided and when to revisit it with Record decision reasons and revisit triggers.
5. Weighing DeepInfer against vLLM or another engine? Test on your own workload and compare with Compare product features without inventing a winner.
Read the sources
- DeepSeek on X — DeepInfer announcement thread (opens in a new tab)
- GitHub — deepseek-ai/DeepInfer (opens in a new tab)
- GitHub — deepseek-ai/deepseek-recipe (opens in a new tab)
- Federal Register — DHS notice of order on DeepSeek products (2026-21447) (opens in a new tab)
This is a source-based summary. Product performance and account access have not been independently tested here. Practical suggestions are editorial.