https://www.youtube.com/watch?v=YX6QdIYVSgY
TLDR DeepSeek’s open-source DeepInfer serving stack shows how careful systems engineering can make frontier-scale AI cheaper and faster, with claimed high margins and massive throughput. Its architecture and optimizations cut compute and memory costs, while support for Huawei Ascend chips reflects efforts to work around US trade restrictions. DeepSeek has kept key infrastructure private, and the best performance still requires large GPU clusters, but the release could pressure cloud providers to lower AI costs.
DeepSeek’s causal encoder-decoder design assigns prompt reading and text generation to different parts of the model. Its serving setup also uses standard eight-GPU servers for prompt processing and larger 64–128-GPU systems for generation. This division can help operators match hardware to each stage instead of using the same configuration for every task. When planning an AI serving system, measure prompt and generation workloads separately before choosing infrastructure.
DeepSeek’s mixture-of-experts model activates only a portion of its 748 billion parameters for each task, and DeepInfer distributes its experts across GPUs. Its load balancer can create copies of busy experts on less occupied GPUs, helping reduce queues and unused capacity. The reported setup uses 128 GPUs to distribute 384 experts and reduce memory traffic. For teams serving expert-based models, monitor demand by expert and rebalance capacity as usage changes.
DeepInfer’s DSpark method has a smaller model draft several words for a larger model to check. A confidence mechanism can stop verification early when later drafts are unlikely to be accepted. DeepSeek reports a 4–7% increase in cluster speed without reducing accuracy. This approach is worth evaluating when generation throughput matters, but benchmark it on your own prompts and hardware before relying on vendor-reported gains.
For long-running chats, DeepInfer keeps active context in local memory for about three minutes. After that period, DeepSeek says the system can resume by rereading only the last 140 words rather than the full conversation. This can reduce repeated processing, though the reported behavior depends on the serving system and its context-handling design. When building conversational applications, test how memory expiration and replay affect response quality as well as latency.
DeepInfer splits prompts at structural boundaries and tokenizes the resulting chunks in parallel across CPU cores. It also encodes user input as plain text, a measure intended to help prevent prompt-injection attacks. Parallel tokenization can speed up preprocessing, while strict input handling can make the boundary between instructions and user content clearer. Treat these as complementary measures, not substitutes for broader security testing and prompt-injection defenses.
DeepInfer supports Nvidia Blackwell and Huawei Ascend 950 chips, but the source says it does not support Nvidia Hopper hardware such as the H100. The advertised performance also requires at least 128 GPUs running DeepSeek V4.1 Flash, and DeepSeek has kept major infrastructure—including its storage cluster and network systems—private. Before estimating costs or performance, verify model, chip, and cluster compatibility and distinguish open-source software from the infrastructure needed to run it.
DeepSeek reports that one cluster can handle 155 trillion tokens per day and estimates hourly GPU revenue of about $38 against operating costs of $5–$10. These figures are company-reported estimates, not independent guarantees, but they highlight how serving software, hardware allocation, and workload management can affect unit economics. Compare systems using measured throughput, utilization, latency, and total operating cost—not model size or hardware spending alone. Efficient engineering can lower the cost of delivering AI, but results will vary with the deployment and workload.
DeepSeek released DeepInfer, an open-source AI serving engine, along with a companion gateway called DeepSeek Recipe.
DeepSeek said one cluster can handle 155 trillion tokens per day. It estimated that a GPU generates about $38 in hourly revenue against operating costs of $5–$10, implying roughly 80% gross margins.
Its causal encoder-decoder design splits the model into reader and writer halves: prompts pass through the first 20 of roughly 40 layers, while the upper half’s work is mathematically projected. The model is also a mixture of experts with 748 billion total parameters, activating about 8 billion for reading and 16 billion for generation.
It uses ordinary eight-GPU servers for prompt processing and 64–128-GPU supernodes for generation. It distributes 384 experts across 128 GPUs to reduce memory traffic by nearly 88%, and its EPLB load balancer copies busy experts onto idle GPUs to ease bottlenecks.
DSpark speculative decoding has a small model draft words for a larger model to verify, with a confidence head stopping verification early when guesses are unlikely to be accepted. DeepSeek says it improves cluster speed by 4–7% without reducing accuracy. For long conversations, bounded replay keeps active context in local RAM for about three minutes; afterward, it reportedly needs to reread only the last 140 words.
Its Rust-based prompt processing splits text along structural boundaries and tokenizes chunks in parallel across CPU cores. It also encodes user input strictly as plain text to help prevent prompt-injection attacks.
DeepInfer supports Nvidia Blackwell and Huawei Ascend 950 chips, but not Nvidia Hopper chips such as the H100. Reaching the advertised performance requires at least 128 GPUs running DeepSeek V4.1 Flash.
No. It retained its 100-petabyte storage cluster, specialized network routing, and global internet load balancer.
The release suggests that systems engineering can rival brute-force spending, potentially putting pressure on cloud providers and lowering AI costs. It also marks a shift from DeepSeek’s earlier view that open-sourcing production serving code was impractical because it was intertwined with private data-center infrastructure.