DeepSeek open-sources DeepInfer, the inference engine behind 155T tokens/day

量子位 · wechat · 2026-10-20

DeepSeek has open-sourced DeepInfer, its production inference framework powering V4.1-Flash on both NVIDIA GPUs and Huawei Ascend NPUs, plus deepseek-recipe, a token encoding/decoding component that mirrors official API behavior. The stack handles 155 trillion tokens daily per cluster with 400ms first-token latency and 230 tokens/s generation.

Key techniques: MoE expert parallelism with load balancing (2–8-way in prefill, 64–128-way in decode); DSpark speculative decoding with confidence-based dynamic verification (+6% throughput vs fixed-length); and SWA Bounded Replay, which skips persisting sliding-window KV cache and recomputes only the last 128 tokens when missing. deepseek-recipe unifies ChatCompletions/Responses/Messages requests and parses tool calls and thinking output for consistent third-party deployments.

Related event: DeepSeek open-sources DeepInfer production inference stack and reveals revenue figures(60 posts)→

Original post →

More from Infra

Infra channel →