DeepInfer
A high-performance, large-scale large-model inference framework open-sourced by DeepSeek, aimed at deployment and inference optimization for DeepSeek models. It involves engineering optimizations such as KV Cache management and batching strategies.
Core Facts
The header of DeepInfer's LLM class file states 'Derived from vLLM, Modified by DeepSeek', indicating it is built on vLLM and also references SGLang and TensorRT-LLM.
According to DeepSeek's disclosures, a single cluster running the DeepInfra stack can serve 155 trillion tokens per day.
The vLLM team integrated the new kernels open-sourced by DeepSeek into the inference engine, further improving underlying computational efficiency.
Timeline (last 90 days)
DeepSeek officially built a PB-scale SSD cache pool that retains context for more than 72 hours, with an online average cache hit rate as high as 97.2%.
DeepInfer achieves zero-overhead scheduling, with the CPU completing the wrap-up of the previous step synchronously while the chip computes the next step, eliminating chip idle waiting.
At an average input length of more than 98,000 tokens, the median first-response latency of the Ascend 950DT supernode is 277 milliseconds.
The distributed cache pool deeply bound to the data center and the global routing are not included in the open-source code repository.
DeepInfer supports dynamically replicating hot experts to prevent a single card from becoming a bottleneck.
The Ascend 950DT supernode can output 138 words per second after the first response.
DeepInfer uses Ascend's low-level language to rewrite custom kernels, fusing normalization, positional encoding, low-precision quantization and cache write-back into a single operator.
Third-party testing shows that under low concurrency (below 16 streams) DeepInfer's single-user speed is about 0.6 times that of SGLang and vLLM, because its fused expert kernel still has fixed per-step overhead under a single request.
The vLLM team says that on GB200 hardware its decode throughput is within 6% of DeepInfer's published curve.
The DeepInfer benchmark script forces perfectly balanced MoE expert load via environment variables, eliminating the expert skew present in real traffic.
40 more timeline events
All Facts (20)
The header of DeepInfer's LLM class file states 'Derived from vLLM, Modified by DeepSeek', indicating it is built on vLLM and also references SGLang and TensorRT-LLM.
80%VerifiedAccording to DeepSeek's disclosures, a single cluster running the DeepInfra stack can serve 155 trillion tokens per day.
80%VerifiedThe vLLM team integrated the new kernels open-sourced by DeepSeek into the inference engine, further improving underlying computational efficiency.
80%VerifiedDeepSeek V4.1 Flash scores lower than the previous version on GPQA, HLE, and other benchmarks.
80%VerifiedDeepSeek is developed by DeepSeek (深度求索) company.
80%VerifiedDeepInfer supports two types of hardware: NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs.
75%VerifiedThe open-source version of DeepInfer is not a complete production system and does not include parts coupled with internal infrastructure, such as KV buffer management, cross-machine prefill-decode disaggregation, and load balancing across replicas.
70%VerifiedWhat DeepInfer open-sourced is the offline inference core; the complete online service chain still requires filling in the caching layer and load balancing yourself.
70%VerifiedDeepSeek adopts a relatively permissive license that allows commercial secondary development.
70%VerifiedA single DeepSeek cluster processes 155 trillion tokens per day, equivalent to generating about 1.8 billion words per second.
65%VerifiedA single DeepInfer cluster processes up to 155 trillion tokens per day, earns 38 USD per GPU hour, with an estimated gross margin of about 80% (counting only GPU costs), and an input cache hit rate of 96%.
65%VerifiedWhat DeepInfer open-sources is the inference stack used in production environments, not the model weights.
65%VerifiedDeepInfer splits inference into two stages, prefill and decode, and uses disaggregated deployment: prefill uses 8-card machines, decode uses supernodes of 64 to 128 cards, and the card requirements of the two are roughly 1 to 1.
65%VerifiedAccording to the video information, DeepInfer is compatible with both the NVIDIA and Huawei Ascend platforms, a single cluster can reach a daily throughput of 155 trillion tokens, and each GPU can earn $38 per hour.
65%VerifiedDeepSeek adopts a PD-separated architecture, deploying the Pre-fill stage and the Decode stage on different machines: an 8-card server for reading the question and a 64-to-128-card supernode for writing the answer.
65%VerifiedDeepInfer only supports the V4.1-Flash model.
65%VerifiedDeepInfer currently provides only offline inference capabilities and does not support online serving scenarios.
65%VerifiedDeepSeek open-sourced the inference framework DeepInfer on October 20, providing optimized operators, multi-card parallelism and asynchronous scheduling capabilities for V4.1 Flash, under the Apache 2.0 license.
80%VerifiedDeepSeek V5 will use Huawei Ascend 950 as its core training compute for the first time, with implementation expected next year.
70%VerifiedDeepSeek has open-sourced infrastructure components for the Ascend platform, covering the TileLang compiler, compute library, and communication library.
70%