DeepSeek Opens Its Ascend Playbook. The Cache Does the Heavy Lifting

DeepSeek published the code it uses to serve real traffic on Huawei silicon. Its own two-hour log shows a workable alternative to Nvidia — and a 2.7-fold revenue gap that open source does not close.

On 1 December, DeepSeek released the production inference code behind DeepSeek V4.1 Flash on Huawei’s Ascend platform under an Apache 2.0 licence. The framework itself had been open since 20 October; what changed this week was the Ascend production path, a commit touching 259 files that brought kernels, communication, memory management and task scheduling into one public repository. A separate deployment document disclosed the operating numbers from a two-hour window of live traffic. Read together, they are the clearest evidence yet that Chinese models can be served at scale on Chinese accelerators. They are also a precise measurement of how far that path still sits from Nvidia.

What the two-hour log actually shows

DeepSeek recorded the data between 16:00 and 18:00 Beijing time on 1 December on an Ascend 950DT-PC16 UBL128 configuration. Average input length was 98.44K tokens. Median time to first token was 277 milliseconds, with the 90th percentile at 459 milliseconds. Single-stream output ran at 137.9 tokens per second. Decode throughput was 7.409K tokens per second per card.

The comparison table in the announcement uses an unnamed “competitor”. Caijing reported that the technical documents identify it as Nvidia’s B200; DeepSeek’s own deployment Q&A prices the alternative as an SM100, Nvidia’s Blackwell-class accelerator. Either way, the direction is unambiguous. The competitor’s P50 first-token latency was 205 milliseconds, its output speed 238.9 tokens per second, its decode throughput 17.84K tokens per second per card. Uncached prefill throughput was 26.03K tokens per second per card on Ascend against 77.74K on the comparison chip. Caijing calculated that the Ascend card delivered roughly 33% of the competitor’s prefill throughput and 42% of its decode throughput.

DeepSeek told SCMP and Caixin that the optimisation had reached “world-first-tier” low latency and cost efficiency. That claim does not survive contact with the company’s own table. A first token that takes 35% longer and an output stream that runs 42% slower are not first-tier against the machine in the same row. The honest reading is narrower and more interesting: a domestic accelerator is now carrying a major model’s production traffic with published, reproducible engineering detail. That is a genuine threshold. It is not parity.

The 97.2 percent hiding in plain sight

The number that explains most of the performance is not 277 milliseconds. It is 97.2%, the average input cache hit rate in that two-hour sample. DeepSeek says it retains KV cache for more than 72 hours so repeated context does not need to be recomputed. With inputs averaging nearly 100,000 tokens, a cache hit removes the overwhelming share of prefill work. This is why cached prefill throughput reaches 929.6K tokens per second per card rather than 26.03K.

That makes the result workload-specific. A service handling repeated long contexts — coding agents, document analysis, multi-turn sessions — benefits enormously. A service facing mostly novel, short prompts does not get the same rescue. TechNode explicitly flagged the caching advantage when it reported the figures on 2 December. Anyone treating the 277-millisecond median as a hardware benchmark is measuring DeepSeek’s traffic pattern as much as Huawei’s silicon.

The revenue figure needs the same treatment. DeepSeek’s Q&A reports $17.6 of revenue per accelerator-hour on the Ascend configuration and $47.5 on SM100, at off-peak prices. The Chinese-language statement sets out the assumptions: ¥0.02 per million cached input tokens, ¥1 per million uncached input tokens, ¥4 per million output tokens, prefill load at 80%, and an exchange rate of 6.7 yuan to the dollar. That is a billing calculation applied to one observed traffic mix. It is not a cost curve, a margin, or a market price. It excludes power, networking, floor space, capital charges and the engineering cost of keeping 72 hours of cache alive.

We should still take it seriously. A single DeepSeek cluster serves 155 trillion tokens a day, according to the same Q&A. If a domestic stack can bill $17.6 per card-hour while holding interactive latency, it is commercially usable, not merely demonstrable. But the ratio is the story: DeepSeek’s own numbers put the Ascend card at roughly 37% of the comparison chip’s revenue per hour. Open-sourcing the software does not change that arithmetic.

One code tree, two accelerators

The technical release explains how the result was obtained. DeepInfer began as a fork of vLLM, with inspiration from SGLang and TensorRT-LLM. The public version supports one model, DeepSeek-V4.1-Flash, and two accelerator families: Nvidia SM100 GPUs and Huawei Ascend 950 NPUs on aarch64 hosts. Switching backend is an environment variable. The 28 November changelog lists fused attention, Mega Gate, FP8 einsum output, native DeepSelect, batch-invariant inference and deterministic sampling for Ascend, alongside UDMA-accelerated expert shuffling and hugepage-backed KV cache allocation.

This matters more than another benchmark slide. When two accelerators live in the same code tree with equal build status, an engineering team no longer starts from the assumption that Nvidia is the default and Ascend is the porting project. The switching cost falls from a rewrite to a compilation target. DeepSeek also released deepseek-recipe, a token-encoding component that aligns third-party deployments with the official API behaviour.

Do not mistake this for a complete production service. The README says a KV cache system, prefill/decode disaggregation across machines and load balancing across data-parallel replicas are not included. DeepSeek says those pieces are tightly coupled to its internal infrastructure. The published Ascend benchmarks use eight NPUs for prefill and 64 for decode inside one scale-up domain. A company can open-source an engine without handing over the chassis.

The budget sheets moved first

The policy consequence arrived the same day. Reuters reported on 2 December, citing four people familiar with the matter, that Tencent, Alibaba and ByteDance are redirecting part of their 2027 budgets for Nvidia chips and computing services toward domestic alternatives. Tencent is considering moving as much as half of its Nvidia hardware budget locally; one source said it had planned to spend at least 30 billion yuan, about $4.2 billion, on Nvidia chips next year. Huawei is expected to remain Tencent’s largest domestic supplier. Alibaba plans more spending on its T-Head unit; ByteDance on its own chips and existing suppliers including Huawei and Cambricon. None of the companies commented. Nvidia declined to comment.

The trigger is visible. The US Bureau of Industry and Security issued an interim final rule on 16 November, effective 19 November, covering remote access to advanced semiconductors and imposing licence requirements tied to Singapore, Malaysia, Thailand, Indonesia and Brazil. Cloud operators serving customers in those jurisdictions have roughly 90 days to obtain licences and show that restricted end users are excluded. Reports that Nvidia paused server shipments to four Southeast Asian markets followed. Renting overseas compute had been the main workaround for Chinese developers shut out of advanced chips at home.

Notice the sequence. Controls changed procurement plans before they changed relative capability. Capital is being redirected on the expectation of scarcity, not on a finding that domestic hardware has won. That is how export controls often work in practice: they reshape the buying table first, then force the engineering to catch up. DeepSeek’s release is what catching up looks like at the inference layer.

Capacity, not CUDA, is the next wall

The remaining constraint is physical. Reuters’ sources said domestic capacity may not keep pace with demand. Caijing reached the same conclusion from the DeepSeek data: the bottleneck is shifting from per-card performance to supply volume. That inversion is important. A 37% revenue-per-hour gap can be absorbed when cards are available cheaply and in quantity; it becomes a hard ceiling when the alternative cannot be shipped.

There is a second asymmetry. DeepSeek open-sourced inference, not training. Serving a finished model on Ascend is a different problem from training the next model on it, and the performance headroom at training scale has not been published. Reports that DeepSeek intends to train a future model on domestic chips remain unverified. Until that happens, the technology stack has proven it can consume capability created elsewhere, not that it can generate it independently.

Our judgment is that Washington’s controls have produced a software dividend they did not intend. By closing the remote-access route, they gave Chinese labs a reason to spend engineering time on non-CUDA paths and a market for the results. DeepSeek then published the work, which lowers the cost for every other Chinese team. That is a real strategic loss of exclusivity for Nvidia, even though the hardware comparison still favours Nvidia by a wide margin.

The next proof cannot come from DeepSeek

Three things would change this assessment. First, independent benchmarks on a shared workload — same model, same context distribution, same power budget — rather than a vendor’s own traffic log. Second, adoption by a lab other than the one that wrote the code, especially if it ports a different model family or opens the missing cache and load-balancing pieces. Third, credible shipment data on Ascend 950DT volume, because a 37% efficiency gap only becomes a strategic asset at sufficient scale.

The policy question is harder. Export controls are easiest to justify when the gap is obvious. If the software layer narrows the effective difference in production, the case for extending them has to be argued on training and frontier capability instead of on compute access in general. Neither side has made that argument with evidence.

The release removes an excuse, not a gap. DeepSeek has shown that Huawei silicon can carry a real service and that the engineering path can be copied. Its own numbers also show what copying buys: a working stack, a 97.2% cache hit rate, and roughly a third of the revenue per card. Both facts belong in the same sentence.

发表评论