DeepSeek details its open-sourced inference stack: 155T tokens/day per cluster at ~80% gross margin
AI寒武纪 · wechat · 2026-10-21
Following its open-sourced production inference framework, DeepSeek published a Zhihu technical report detailing its massive inference cluster: V4.1 Flash serves 155T tokens/day per cluster at $38/GPU-hour revenue (per Google-listed prices), sustaining 80% gross margin despite low API pricing.
- Prefill/Decode separation: 8-card nodes for prefill (EP2–EP8), 64–128 card supernodes for decode (EP64–EP128); image encoding isolated on cheapest GPUs.
- KV cache reuse: Block KVCache stored in a 100PB 3FS filesystem (10TB/s read bandwidth), kept 3 days for agent sessions and 7 days for chats to eliminate recomputation.
- SWA Bounded Replay: sliding-window cache held in memory 180s (98%+ hit rate), then only the last 128 tokens are recomputed — nearly halving prefill compute.
- Four-layer load balancing, expert migration keeping slowest-card deviation within 10%, in-place reorganization on node failure.
- Rust-rewritten tokenizer/protocol layer prevents special-token injection; a cross-slice streaming state machine minimizes time-to-first-token.
- DSpark speculative decoding with a confidence head lifts throughput 6%.
More from Infra
- Ingot losslessly compresses BF16 LLM weights to 10.43 bits, bit-identical via sha256 — Electrical_Ninja3805 · 2026-12-06
- 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