presentofai

DeepSeek Open-Sources DeepInfer Inference Framework

TL;DR

DeepSeek has fully open-sourced DeepInfer, its production inference framework, delivering 155 trillion tokens per day on a single cluster and $38 per card per hour in revenue, while running on both NVIDIA and Huawei Ascend hardware.

What happened

  • DeepInfer fully open-sourced on October 20, 2026, alongside the Token codec component deepseek-recipe, giving developers access to DeepSeek's internal production inference stack.
  • A single DeepSeek V4.1 Flash cluster running on DeepInfer achieves 155 trillion tokens per day in throughput.
  • Revenue per card per hour is $38 USD calculated at off-peak electricity prices, a rare public disclosure of inference economics at scale.
  • The framework supports both NVIDIA GPUs and Huawei Ascend chips, with distributed inference, speculative decoding, structured output, and SWA Bounded Replay built in.
  • KVCache retention reaches 7 days for chatbot traffic and 3 days for Agent traffic, backed by roughly 100 PiB of storage in DeepSeek's 3FS distributed file system with 10 TiB/s peak read bandwidth.

Why it matters

  • Dual-hardware compatibility (NVIDIA and Ascend) means DeepInfer is immediately relevant to operators in China who face US chip export controls and need Ascend-native performance.
  • Prefill-Decode separation with 8-card machines for Prefill and 64-to-128-card supernodes for Decode sets a concrete architectural blueprint that competitors and cloud providers will benchmark against.
  • SWA KVCache hit rate above 98% with 180-second retention, plus a Bounded Replay fallback recalculating only 128 tokens on miss, shows a mature cost-reduction playbook that most inference providers have not published openly.
  • The DSpark speculative decoding framework dynamically adjusts verification scope by expected acceptance probability, avoiding wasted compute on low-probability candidates, a meaningful efficiency edge at this token volume.
  • Open-sourcing the full inference stack, after previously releasing models, TileLang, and operator libraries, positions DeepSeek as an end-to-end open infrastructure provider, not just a model lab.

What to watch next

  • Whether major cloud providers (AWS, Azure, Google, Alibaba Cloud) adopt or fork DeepInfer components, particularly the Prefill-Decode separation architecture and 3FS cache layer.
  • How quickly the Huawei Ascend ecosystem integrates DeepInfer, which would signal a credible non-NVIDIA inference stack at hyperscale.
  • DeepSeek's commitment to open-source future model inference code in this framework means the next model release will be a live test of whether the open-sourcing pledge holds under competitive pressure.

Originally published on Present of AI, a daily source-linked AI news timeline. Read the full timeline or browse the open dataset.