DeepSeek open-sources the inference engine behind its production services
DeepSeek just open-sourced its inference engine

DeepInfer is the high-performance framework that powers DeepSeek's large-scale production serving, now released under Apache 2.0 for offline inference. It supports DeepSeek-V4.1-Flash with optimized kernels like FlashMLA, DeepGEMM, and DeepEP, plus attention DP, MoE expert parallelism with EPLB, DSpark speculative decoding, batch-invariant and deterministic inference, and structured outputs. It runs on NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs. A KV cache system, disaggregation, and cross-replica load balancing are not included.
DeepInfer is the high-performance inference framework that powers DeepSeek's large-scale production services.
- schneehertz
A nuclear bomb
"Based on this framework, we have achieved high-throughput, low-latency large-scale inference services for DeepSeek V4.1 Flash. Currently, the service throughput of a single cluster is 155 trillion tokens/day, and the overall revenue is $38 per card per hour (at off-peak pricing)"
- mmaunder
Interesting that the DHS "Exclusion and Removal Order #2026-01" that was made public yesterday was actually released July 24th, 2026 and appears to have taken effect then. Agencies would have started pulling deepseek at that time. Which means it's likely DS became aware of the memo around then.
The release of this repo hours after the DHS order is a tactical move they started preparing when the DHS order was issued almost 3 months ago, and they timed publishing the repo right as the order hit the federal register.
DHS: "China bad and scary. Don't send them data."
DS: "You don't have to. Happy xmass kids."
- wg0
That's Kami Kaze for US frontier labs. There's no way from here for them towards trillion dollar valuations.
That's strategic sabotage to say the least.
Ban all open weight models! Cried the VCs.
- GreenWatermelon
Relevant: Deepseek reports its Revenue per GPU per hour at off peak prices (38$) [reddit link] https://www.reddit.com/r/DeepSeek/comments/1xanexq/deepseek_...
Also cool (from the translated screenshot since original is in Chineese https://zhuanlan.zhihu.com/p/2095560295930508953)
> the DeepSeek V4.1 Flash inference system has established
three goals
> 1-..... 2-..... 3. Supports retaining KVCache for more than 72 hours
This is awesome
- Bengalilol
Whatever the consequences, I have to admit China has understood that all those are raw materials and that open sourcing everything will help growing their economy (as a whole).
The worst idea was to build corporations providing services with AI. It was an extension of the latest 50 years model, which is about to crumble. Now, we have our revolution. (Ok, ok, I am a little bit too enthusiastic, I now need a fallout shelter).
- yaoke259
Supporting Huawei Ascend 950 NPUs with open source inference code has huge implications in the global AI hardware market. Imagine if all smaller labs now can build on top of this stack and add increasing support for more compatible hardware , software and models. This could seriously challenge NVidias death grip. Although inference is still only a part of all AI workloads and open sourcing training on Huawei chips would be even bigger.
- bertili
DeepSeek is truly making a difference on many levels, but the one most refreshing is how they just deliver once again with no fanfare or drama. Not even a website. Just hand us over the goods for free the DeepSeek way.
- phoghed
Lot of comments proclaiming it’s over for Anthropic and OpenAI, but none really explaining why. Many replies asking why and being wholesale ignored. Love to see it.
- VonLuderitz
This month I changed my Claude Max Subscription to DeepSeek API. V4.1 Flash is fast and perfect for everything and refuses to almost nothing.
Hope DeepSeek starts month plans soon.
- theplumber
Let’s hope this is just the beginning of bringing the drama queens (Dario and Sam) closer to planet Earth.