A senior DeepSeek researcher described the divide between open-source and closed-source AI as a battle between "light and darkness" as the lab released the production inference engine it had previously called impractical to share6,2.
DeepSeek's DeepInfer cluster serves 155 trillion tokens per day at off-peak revenue of $38 per GPU per hour, according to a deployment Q&A document posted with the code3. DeepSeek describes reaching a massive user base at a reasonable price as the core problem an inference framework must solve.
DeepSeek released DeepInfer, the high-performance inference framework that powers its production-scale model deployments, as an open-source project under the Apache-2.0 license on October 20, 20265,7. The release puts the same serving software the lab runs internally into the hands of outside developers and businesses1. DeepSeek said on X that it was sharing its production stack to help the community lower compute costs, reduce energy use, and make AI more affordable.
Hardware support and constraints
DeepInfer supports Nvidia Corp.'s SM100 architecture, used in Blackwell data-center GPUs, and Huawei Technologies' Ascend 950 NPU series. Older Nvidia architectures, including Hopper, are not on the supported list. Two features that keep outputs identical from run to run, batch-invariant inference and deterministic sampling, work only on Nvidia hardware. All published performance benchmarks ran on Nvidia chips, using four SM100 GPUs for prefill and 64 for decoding, and the figures are DeepSeek's own.
What the framework bundles
DeepInfer is built specifically for DeepSeek models and currently drives the lab's DeepSeek-V4.1-Flash deployments. The framework bundles custom kernels, including FlashMLA, DeepGEMM, and DeepEP, along with distributed parallelism, speculative decoding, asynchronous scheduling, and structured output support. Distributed parallelism splits model workloads across many processors simultaneously, and the framework includes MoE expert parallelism suited to mixture-of-experts architectures that route queries to specialized sub-networks rather than activating the full model.
Speculative decoding in DeepInfer runs through DSpark, a system in which a draft model proposes five tokens at a time and a confidence head predicts which of them the main model will accept. Verification compute goes only to the likeliest candidates. Structured output support keeps responses in predictable formats such as JSON.
Gaps and framing
The framework currently supports offline inference only. It lacks a KV cache management system, infrastructure for separating different stages of inference across machines, and load balancing across replicas. ANALYSIS Those gaps mean DeepInfer is not yet a drop-in replacement for full-featured serving frameworks such as vLLM in online production settings; developers would need to build or source those components separately.
Alongside DeepInfer, DeepSeek released deepseek-recipe, a companion library available for Rust and Python that converts API requests into model inputs and processes outputs into responses.
DeepSeek said in April 2025 that its inference engine was impractical for public deployment without significant modifications. DeepSeek-V4.1-Flash-1017 was released just days before the DeepInfer announcement, and support for future DeepSeek models is also planned.
The GitHub repository had accumulated 2,013 points and 784 comments on Hacker News as of October 204. Bloomberg reported that the open-sourced software could make DeepSeek's technology cheaper and easier for businesses to operate.