DeepSeek has long published its model weights for anyone to download and run using third-party software such as vLLM. But the software that manages requests, distributes work across chips and generates responses has a significant impact on speed, throughput and computing costs. DeepInfer gives developers access to DeepSeek's own approach to those problems. "We're sharing our production stack to help the community lower compute costs, reduce energy use, and make AI more affordable," the company said on X.
The framework includes optimized computing kernels and communication libraries, including the previously open-sourced FlashMLA, DeepGEMM and DeepEP, alongside mechanisms for distributing inference across multiple chips. It supports speculative decoding, a technique that predicts and verifies multiple tokens at once to speed up response generation, plus asynchronous scheduling and structured outputs. Alongside DeepInfer, DeepSeek is open-sourcing deepseek-recipe, a companion Rust and Python library designed to help developers reproduce the behavior of DeepSeek's official API by handling the conversion of API requests into model inputs and outputs. The release follows an updated version of V4.1 Flash and the company's new Search and Fetch APIs for its in-house web search technology this week.
The move reverses a position DeepSeek took in April 2025, when it said its inference engine was too tightly coupled to internal infrastructure to share. "The engine is tightly coupled with our internal infrastructure, including cluster management tools, making it impractical for public deployment without significant modifications," the company wrote at the time. It has not detailed how it overcame those difficulties, although the scope of the release offers clues. DeepInfer currently supports offline inference with, in the company's words, "the core features needed for serving at scale," but lacks a KV cache management system, infrastructure for separating inference stages across machines, and load balancing across replicas. Developers must supply much of the surrounding infrastructure for a full production service.
The hardware line-up is the release's most striking detail. Nvidia support is restricted to the SM100 architecture used in Blackwell data center GPUs, with older architectures such as Hopper absent, while Huawei's Ascend 950 NPU series is supported from day one. DeepSeek committed in 2025 to working with hardware makers so its models run across different chip architectures from launch, and it has since been reported to be planning large-scale Ascend deployments, including a new data center in Inner Mongolia, greater use of Huawei chips for training, and collaboration on Ascend programming tools. Feature support differs between the two platforms: batch-invariant inference and deterministic sampling are available only on Nvidia hardware.
The Huawei inclusion drew attention in developer communities. On Reddit, one commenter singled out the two supported platforms as the highlight of the news, while another pointed to DeepSeek's origins in quantitative finance as an explanation for its optimization expertise. A third joked about reported safeguards around Anthropic's Claude models and Huawei kernel programming tasks.