DeepSeek open-sources inference framework DeepInfer and token codec component deepseek-recipe
DeepSeek has open-sourced its internal large-scale cloud service inference framework DeepInfer and the production-grade token codec component deepseek-recipe. The former supports distributed inference, speculative decoding, SWA Bounded Replay, and structured output, and can run on NVIDIA and Huawei Ascend platforms. DeepSeek says the high-throughput, low-latency inference service of DeepSeek V4.1 Flash is based on this framework, with a single cluster serving 155 trillion Tokens/day in throughput, at 38 US dollars per card per hour calculated at off-peak prices. The processing logic of deepseek-recipe is fully aligned with the official DeepSeek API. The team also explained that the KVCache management and load balancing components are deeply coupled with internal infrastructure, so the relevant code has not yet been fully open-sourced.
Why read this
SelectedAI score 83
DeepSeek disclosed three optimization paths for the inference framework—throughput, cost, and latency—which can be used to understand the engineering trade-offs of large-scale inference services.
Topics
Body
The English body is being prepared. You can open the original source.