DeepSeek open-sources DeepInfer inference stack serving 155 trillion tokens a day
新智元 · wechat · 2026-10-20
DeepSeek fully open-sourced its in-house inference framework DeepInfer (Apache 2.0) and the deepseek-recipe token codec component, exposing how it serves V4.1Flash at massive scale — 155 trillion tokens per day per cluster, supporting both NVIDIA SM100 GPUs and Huawei Ascend 950 NPUs.
Key production stats
- 77K input tokens per request on average, 400ms time-to-first-token, 230 tok/s decode (300 for coding)
- 96% cache hit rate on input; $38 revenue per GPU-hour at off-peak pricing
Core techniques
- Prefill/Decode disaggregation: 8-GPU prefill machines vs 64–128 GPU supernodes for decode; recommended minimum unit is 64+64 GPUs
- KV cache stored in a 100PiB 3FS SSD cluster (3-day TTL for agent traffic, 7-day for chat); cache-aware prefill boosts throughput 25x
- Sliding-window attention makes cache recompute cost constant, nearly halving prefill compute for 20 layers
- DSpark multi-token prediction with acceptance-probability-based verification adds 6% throughput
- 384 routed experts spread across 64 GPUs with one hot-expert replica each; busiest GPU only 9% above average load
Cache management and load-balancing code remain partially closed due to infrastructure coupling, but full design details are published in a technical blog and deployment Q&A.
More from Infra
- JetBrains runs 500k context on a 16GB GPU with two-tier Q8 KV cache — yogthos · 2026-12-06
- MiniMax H3 image gen runs locally on RTX 3060 12GB with 8-step turbo — Ok_Roll_8698 · 2026-12-06
- Complex compilers and unreadable instruction streams may signal bad hardware design — mike64_t · 2026-12-06
- China moves to restrict NAND bonding tech exports, threatening Samsung and SK Hynix licenses of YMTC's Xtacking patents — zephyr_z9 · 2026-12-06
- qwengine: C++20/CUDA engine runs Qwen4-35B-A3B NVFP4 on a single RTX 5090 — AIFlow_ML · 2026-12-06
- The 'compute man' parable: an AI founder who bet big on compute prices finds no buyer — toptickcrypto · 2026-12-06