DeepSeek publishes the production code running V4.1 Flash on Huawei Ascend chips — with live traffic numbers to back it
DeepSeek has published the production inference code it uses to run V4.1 Flash on Huawei’s Ascend 950 chips, plus live operating figures from its own deployment — the strongest public evidence yet that its flagship model runs at scale on domestic Chinese silicon.
- Who: DeepSeek, the Chinese AI lab, publishing into its open-source DeepInfer repository on GitHub.
- What: production-grade inference code for Huawei’s Ascend 950 NPUs, running DeepSeek-V4.1-Flash, under the Apache 2.0 license.
- When: the code drop landed December 1, 2026; a deployment Q&A with the economics followed on December 2.
- The numbers: a two-hour live snapshot averaged about 98,000 input tokens per request, 277 ms to first token, and roughly 138 tokens per second per stream; one cluster serves 155 trillion tokens a day.
- The catch: offline inference only — the KV cache, disaggregation, and replica load balancing a full service needs are explicitly not included, and all figures are DeepSeek-reported, not independently audited.
- Why it matters: months of Ascend performance claims were leak-driven slides; shipping production code is inspectable evidence engineers can build, test, and diff.

DeepSeek has published the production code it uses to run its flagship model on Huawei’s chips — and, unusually, it attached the operating numbers to prove the setup works. On December 1, the company pushed production-grade inference code for Huawei’s Ascend 950 processors into its open-source DeepInfer repository, along with a two-hour snapshot of live traffic and a deployment Q&A that puts dollar figures on running its V4.1 Flash model on domestic silicon.
It is the most concrete step yet in DeepSeek’s effort to make its models run well without Nvidia hardware — and it lands in a week when Washington is tightening scrutiny of chip flows to China, with Nvidia’s chief executive testifying behind closed doors to Congress on December 1. The code is real, the numbers are DeepSeek’s own, and the gaps are stated up front.
What DeepSeek actually released#
DeepInfer is the inference framework behind DeepSeek’s large-scale production services. The framework itself was open-sourced on October 20; the December 1 push is the production Ascend code inside it — the part that makes the framework run on Huawei hardware rather than Nvidia’s. The repository describes itself as providing offline inference “with the core features needed for serving at scale,” and it is released under the Apache 2.0 license.
The Ascend-specific work is the kind of integration glue that leak-driven benchmark slides never show. A PlatformNPU module maps CUDA-style environment variables onto Ascend, wires up HCCL as the distributed backend, and sets TileLang to compile for the Ascend target instead of CUDA. It runs DeepSeek-V4.1-Flash on Nvidia’s SM100 Blackwell GPUs and Huawei Ascend 950 NPUs on aarch64 hosts. Building the Ascend path needs Linux, GCC 13 or later, Python 3.12, and Huawei’s CANN 9.3 stack, plus one environment flag — DEEPINFER_ACCELERATOR=ascend — before ./build.sh.
A November 28 update to the repository’s README, folded into the same release, lists the Ascend 950DT optimizations DeepSeek has been landing: fused attention, FP8 einsum output, native DeepSelect, and deterministic sampling. The message is that Ascend is a first-class build target, not a port bolted onto a CUDA codebase.

The numbers, and what they are worth#
Code alone would have been a notable release. The figures DeepSeek attached make it a story. In a two-hour operating snapshot disclosed on December 1, requests to the production service averaged about 98,000 input tokens, with a median time to first token of 277 milliseconds and generation of roughly 138 tokens per second per stream — on very long inputs, most of them served with the help of caching. A deployment Q&A added to the repository on December 2 goes further: a single cluster currently serves 155 trillion tokens per day on V4.1 Flash.
The Q&A also prices the two hardware paths against each other. At DeepSeek’s off-peak API tariff, revenue per accelerator-hour is $17.60 on an Ascend 950DT-PC16 UBL128 system, against $47.50 on Nvidia’s SM100 — the Ascend setup earns roughly 37% of the Nvidia figure per accelerator-hour.
| DeepSeek-reported figure | Ascend 950DT | Nvidia SM100 |
|---|---|---|
| Off-peak revenue per accelerator-hour | $17.60 | $47.50 |
| Median time to first token (2-hour snapshot) | 277 ms | Not disclosed |
| Single-stream generation speed | ~138 tokens/second | Not disclosed |
| Cluster throughput | 155 trillion tokens/day (single cluster, V4.1 Flash) | |
Read those numbers for what they are. They are DeepSeek-reported, relayed through Chinese press and the company’s own repository Q&A, and no independent auditor has confirmed them. The revenue figures are gross API revenue under DeepSeek’s off-peak tariff and utilization assumptions — not margin, not lease cost, not electricity. And the latency figures describe DeepSeek’s own deployment, with long cached inputs, not a general benchmark.

Why this release lands differently#
For months, the debate over Huawei’s Ascend 950 ran on leaked slides and anonymous throughput claims, with the 950DT measured against Nvidia’s H200 in decks nobody could check. Shipping production code changes the terms of that debate: engineers can now clone the repository, build the Ascend path on a CANN 9.3 machine, diff the platform code against their own CUDA inference fork, and run parity tests on prompts they already serve. A claim you can compile is worth more than a chart you cannot reproduce.
The release completes a pattern DeepSeek and Huawei have been building since the autumn: open programming tools for Ascend in late September, a full software stack in early October, and now the inference engine itself, with a 128-card Ascend 950 supernode co-designed along the way. DeepSeek’s strategy is dual-stack, not a clean break — Nvidia’s Blackwell chips remain the path for global and research workloads, while Ascend becomes the domestic lane. The point is optionality: the ability to keep serving if the Nvidia lane narrows.
The timing matters because U.S. export controls already restrict the most advanced chips China can buy, and the past week brought fresh enforcement pressure, including a congressional hearing into how Nvidia chips reached China. Every Chinese lab now has to prove its models run on domestic silicon, not just claim it — and production code is the strongest form of that proof short of an independent audit.
What it doesn’t prove#
The release is deliberately bounded, and DeepSeek says so in its own README. What is public is offline inference. A complete online service still needs a KV cache system, disaggregation of prefill and decode work, and load balancing across data-parallel replicas — all listed as “required for a complete inference service (not included in this release).” The live traffic DeepSeek describes presumably runs on closed components built atop this open core, so downloading the repository is not the same as replicating DeepSeek’s service.
The economics need the same care. An Ascend accelerator-hour earning $17.60 against Nvidia’s $47.50 is a revenue comparison under one vendor’s pricing and utilization, not a capability verdict — and it says nothing about what the hardware costs to buy or power. Where policy mandates domestic accelerators, Ascend can be the right choice at a lower revenue line. And the code is software-readiness evidence, not hardware availability: Ascend 950 racks remain scarce outside China.
What to watch#
Three things will tell us how much this release actually moves. First, whether DeepSeek follows through on the missing pieces — the KV cache and disaggregation modules its README flags — which would turn an offline-inference drop into a servable stack. Second, what independent teams find when they build the Ascend path and publish their own numbers; until then, every performance claim traces back to the vendor. And third, whether other Chinese labs follow the same pattern of publishing weights and runtime together. The Senate’s public hearing on chip diversion, scheduled for December 3, is the other half of the same story — the controls that make releases like this one necessary in the first place.
Sources: TechNode, “DeepSeek opens production inference code for Huawei Ascend chips” (December 2, 2026); explainx.ai, “DeepInfer Ascend: DeepSeek Production Code GitHub” (December 2026); DeepSeek, DeepInfer repository on GitHub (README, performance benchmarks, and deployment Q&A); AI.info, “DeepSeek opens production inference code for Huawei Ascend” (December 2, 2026)