News

DeepSeek open-sources DeepInfer for Ascend: 277 ms first token at 98K input, 118 yuan per card-hour (December 1, 2026)

On December 1, 2026, DeepSeek formally open-sourced its production inference code for Huawei Ascend, covering core operators, communication and memory management, inference flow and task scheduling. This release supports offline inference of DeepSeek-V4.1-Flash on both NVIDIA SM100 GPUs and Ascend 950 NPUs paired with aarch64 hosts. DeepSeek's published online figures for an Ascend 950DT-PC16 UBL128 machine: at an average 98K-token input, P50 time-to-first-token of 277 ms, 138 tokens per second on a single stream, and 118 yuan of revenue per card per hour at idle pricing.

One-line summary

What shipped is code that already runs in front of real traffic, not a benchmark slide. The claim is that domestic chips can hold inference to commercial standards, not merely that they can run.

What happened ​

On December 1, 2026, DeepSeek announced that it had open-sourced its production inference code for Huawei's Ascend platform, at github.com/deepseek-ai/DeepInfer. The announcement is specific: the release systematically optimizes core operators, communication and memory management, inference flow and task scheduling, and the system already serves large-scale user traffic for DeepSeek-V4.1-Flash in production.

Chinese outlets including Beijing News and QuantumBit followed that evening, and both led with the same two numbers: 277 ms to first token, and 118 yuan of revenue per card per hour.

The release is not a sudden pivot. On September 30, 2026, DeepSeek had already open-sourced a set of Ascend infrastructure components: high-performance operator libraries including DeepGEMM, FlashMLA, TileKernel and DeepSelect, plus the DeepEP distributed communication library. The Ascend community reported at the time that on a UBL128 super-node (128 cards, single-layer 3.2 Tbps scale-up), DeepEP reached 375 GB/s on dispatch and 347 GB/s on combine, close to hardware limits. December's release pushes from operators and communication up to a complete inference service.

The production numbers ​

The official setup is an Ascend 950DT-PC16 UBL128 machine running DeepSeek-V4.1-Flash under real traffic rather than offline pressure testing:

MetricValueDefinition
Average input length98K tokensActual online requests
P50 time to first token277 msMedian, not mean
Single-stream output138 tokens/sPer-request decoding speed
Revenue per card-hour118 yuanAt idle pricing
Deployment formOffline inferenceScope of this release

On its own, 138 tokens per second is unremarkable; small models on consumer GPUs can do that. Put it inside a 98K-token context and the meaning changes. A 277 ms first token means the prefill stage has to process roughly a hundred thousand tokens of KV writes and attention within 0.3 seconds. That is the hardest part of long-context serving.

Where the time goes at 98K input ​

Long-context latency splits into four segments: queueing, prefill, first-token generation, and decoding. At 98K input, the first three decide how long the user waits; the last decides how fast the answer streams.

Prefill compute grows roughly quadratically with input length in the attention part, linearly in the projection and MLP parts, and 98K sits in the pressure zone. It also has to write the K and V of every token into memory. That is not a compute problem but a bandwidth and capacity one. When a single card cannot hold it, the sequence has to be split, and splitting introduces cross-card communication.

Every decoding step then re-reads the entire KV cache. The longer the sequence, the more each generated token must read, and single-stream speed becomes bandwidth-bound. At 138 tokens per second, one token takes about 7.2 ms; at that scale, communication and memory management matter more than peak operator throughput.

One more segment is easy to miss: request scheduling. When long and short requests share a pool, a 98K request occupies memory and compute and pushes short requests to the back of the queue. A P50 of 277 ms implies the scheduler isolates or shards long requests; otherwise the P99 would collapse first.

Four layers moved, from operators to scheduling ​

The announcement lists four optimization areas, matching the four bottlenecks of long-context inference:

  1. Core operators. Attention and normalization carry the heaviest memory traffic at long context; operator efficiency decides whether prefill can fit inside 300 ms.
  2. Communication and memory management. Ascend 950 runs on UBL128 super-node networking. Under expert parallelism, tokens are dispatched and gathered across cards, and AllToAll latency lands directly on first-token time. Memory management decides how much KV cache fits and how many users can be served concurrently.
  3. Inference flow. Batching, queueing and mixed long/short scheduling decide the gap between P50 and P99.
  4. Task scheduling. Across many cards and machines, who computes first and who waits for data is what turns theoretical throughput into delivered throughput.

For comparison, the September components reported offline benchmarks: EP32 deployment, offline mode, 128K context, DSpark speculative acceptance of 0.85, giving 2,469 tokens per second per card at TPOT=5 ms and 5,102 at TPOT=10 ms. December's 138 tokens per second is single-stream, scheduled, real-load; the two are different quantities. One is a throughput ceiling, the other a user experience.

Why the word "production" matters ​

In public material about domestic compute, demonstrations that something "can run" are common; proof that it runs to commercial standards is rare. The latter requires three things at once: controllable latency, calculable cost, stable traffic.

DeepSeek published the combination: 277 ms for experience, 118 yuan per card-hour for cost, production traffic for stability. The line in the announcement about Ascend proving that a new generation of domestic compute can deliver inference to the highest standard, validated in real business, moves validation from the lab to the ledger.

For teams preparing to adopt domestic cards, the practical value is reproducibility: full source code, two hardware targets (Ascend 950 and SM100), a public model (V4.1-Flash), and published environment parameters. That is more useful than any single "model X reaches Y tokens per second on machine Z" figure, because it gives a baseline you can tune against.

A two-year path from operators to full stack ​

Seen on a timeline, this path has been built layer by layer. DeepSeek first open-sourced high-performance GPU operators and communication libraries (DeepGEMM, FlashMLA, DeepEP), then ported the same stack to Ascend in September 2026, and now released the complete inference stack in December. Each layer widens the audience: operators matter to people writing kernels, communication libraries to people doing distributed systems, and a full stack to the many teams that want to deploy but have no one to tune it.

The other side of that path is that Ascend adaptation stops being something every team figures out alone. Running a hundred-billion-parameter MoE on Ascend used to require solving operators, parallelism, KV cache management and scheduling in-house, with a cycle measured in months. Now there is at least one implementation validated under real traffic to work from.

Three things to keep in view ​

First, this release is offline inference and does not include the full online serving stack. The announcement says the open-source version provides offline inference. The serving layer that turns 277 ms into an online experience is not fully public, so copying it straight into production leaves a gap.

Second, 118 yuan per card-hour is computed at idle pricing. Idle and peak power prices differ materially; the number is good for order-of-magnitude costing, not as a direct input to a business model.

Third, hardware support spans SM100 and Ascend 950. The Ascend side requires an aarch64 host, which means existing x86 servers cannot simply take the card; motherboard and chassis have to be planned together.

Boundaries ​

The release date is December 1, 2026; the announcement is by DeepSeek, relayed the same day by Wallstreetcn, 36Kr, Beijing News and QuantumBit. The 277 ms, 138 tokens/s, 118 yuan, 98K input, UBL128 machine and the offline-inference scope all come from the official announcement. The September 30 operator and communication release, UBL128 networking parameters, DeepEP bandwidth and the EP32 offline benchmarks come from the Ascend community announcement and represent a joint statement by both parties. The "37.4% of a competitor's per-card revenue" figure appears in QuantumBit's report; the official announcement does not name a competitor, so this article omits the ratio. This article contains no local deployment testing and is not a procurement recommendation. Revenue figures vary with power price, machine type and load, and should be re-measured before use.

Sources ​