Vibeleaderboard
← All Intel
Intel / article

DeepSeek open-sources DeepInfer, its V4.1-Flash inference stack

Source
github.com
Publisher
DeepSeek
Author
deepseek_ai
Date
From the Daily Brief

DeepSeek released DeepInfer, the inference engine that serves its V4.1 Flash model in production, under the Apache 2.0 license. It started as a customized vLLM and adds DeepSeek's own kernels, expert-parallel load balancing, a DSpark draft-token decoder with confidence-scheduled verification, and an asynchronous batch scheduler. Two features stand out for anyone who needs reproducible outputs: batch-invariant inference keeps results identical regardless of which requests share a batch, and deterministic sampling returns the same tokens for the same input and seed, both on NVIDIA hardware only. The release runs offline inference on NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs. It is not a full service: the KV cache system, prefill and decode disaggregation, and replica load balancing are left out, and DeepSeek's report credits much of its economics to a 96% input cache hit rate served from shared storage. The headline 155 trillion tokens a day and $38 revenue per accelerator-hour are first-party claims, and Latent Space's margin estimate is its own extrapolation. vLLM has already reported decode throughput within 6% of DeepInfer's published numbers on GB200 under a matched setup, so the engine is a useful reference rather than a moat.

Read the 2026-10-21 Brief →

Context

DeepSeek has released the engine it uses to run DeepSeek-V4.1-Flash in production, not a complete serving system. The DeepInfer README calls it the inference framework behind DeepSeek's large-scale production services. The open-source release covers offline inference only: a script loads the model and generates output directly, rather than answering requests as a hosted service. The README lists three parts of a full inference service that are missing. The first is a system, which stores the state of tokens already processed so it can be reused instead of recomputed. The second is disaggregation of the VE, prefill and decode stages onto separate workers; the README says most of the engine functionality this needs is already implemented. The third is load balancing across data-parallel replicas.

The scope is also narrow. DeepInfer supports one model, V4.1-Flash, on two kinds of hardware: NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs. When DeepSeek launched V4.1-Flash, it described a 552-billion-parameter model and said it would work with the open-source community on inference support. DeepInfer's feature list is tuned to that kind of model. Expert parallelism with load balancing spreads the experts across devices and evens out their load. DSpark speeds up decoding with draft tokens and uses confidence estimates to decide when to verify them. Batch-invariant inference keeps a request's results identical whatever else shares its batch, and deterministic sampling returns the same output for the same input tokens and settings. Both of those last two are NVIDIA-only.

DeepSeek's announcement says the engine serves V4.1-Flash with high throughput and low latency. It presents the release as a way for others to cut compute costs and energy use. The README gives its performance results only as prefill and decode charts, measured on 4 SM100 GPUs for prefill and 64 for decode, with a script to reproduce them. It also credits vLLM as the original foundation. That is the same open-source engine that SemiAnalysis reported running V4.1-Flash on day one across NVIDIA hardware. The code is released under Apache 2.0.

Key takeaways · AI-distilled
  • The open DeepInfer release covers offline inference only. DeepSeek lists a KV cache system, prefill/decode disaggregation, and load balancing across data-parallel replicas as required for a complete serving stack and not included.
  • DeepInfer supports a single model, DeepSeek-V4.1-Flash, on NVIDIA SM100 GPUs or Huawei Ascend 950 NPUs. Its batch-invariant mode, which keeps results identical across batch compositions, and its deterministic sampling are NVIDIA-only.
  • Decoding is accelerated with DSpark draft tokens and confidence-scheduled verification, with a default maximum draft length of 5. DeepSeek says the framework was originally built primarily on vLLM, with ideas from SGLang and TensorRT-.
Terms in this piece · Glossary
  • KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.
  • attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
  • mixture-of-experts — A model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.
  • Large language model — A model trained on large amounts of data to process and generate language.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from deepseek_ai
Recommended reads