China's DeepSeek Open-Sources Its Inference Engine for Huawei's Ascend Chips: 277ms to First Token on 98K Contexts at About $18 per Card per Hour — Nvidia's Grip on AI Inference in China Just Loosened

Text
Article image

China's DeepSeek on December 1, 2026 open-sourced the production inference code for DeepInfer on China's Huawei Ascend platform, publishing live numbers: 277ms to first token on 98,440-token inputs, 137.9 tokens per second single-stream, and about $18 per card per hour at off-peak prices, with a 97.2% cache-hit rate.

On December 1, 2026, China's DeepSeek announced it is open-sourcing the production inference code for DeepInfer on China's Huawei Ascend platform. The release covers the Ascend-specific optimizations for running DeepSeek-V4.1-Flash, and China's DeepSeek published real production numbers to go with it: on Huawei Ascend 950DT-PC16 UBL128 machines, with an average input of 98,440 tokens, the P50 time to first token is 277 milliseconds, single-stream output reaches 137.9 tokens per second, prefill throughput is 26,030 tokens per second without a cache hit and 929,600 with one, the average input cache-hit rate is 97.20%, and each card earns about 117.9 yuan — about $18 — per hour at off-peak prices. The code is on GitHub under the Apache 2.0 license, and the repository has about 26,700 stars. China's DeepSeek said the optimizations put DeepInfer on Ascend among the world's best for latency and cost, and that the setup already serves large volumes of real DeepSeek-V4.1-Flash user traffic in production.

DeepInfer is the inference framework that powers China's DeepSeek's large-scale production services. China's DeepSeek first open-sourced it on October 20, 2026, supporting only its own DeepSeek-V4.1-Flash model and providing offline inference. That same month the company disclosed that a single cluster serves 155 trillion tokens a day. On November 28 the repository's news log added systematic optimizations for Ascend 950DT NPUs, and on December 1 the company formally announced the Ascend production code and published the live numbers. The hardware list puts America's Nvidia SM100 GPUs and China's Huawei Ascend 950 NPUs side by side. DeepInfer was built primarily on vLLM, the open-source project from the University of California, Berkeley, US, with additional inspiration from America's SGLang and America's Nvidia TensorRT-LLM.

The money math is where this gets interesting. A 97.2% cache-hit rate means nearly every long prompt is mostly read from cache instead of recomputed, which is why prefill throughput jumps from 26,030 to 929,600 tokens per second with cache hits — about 36 times. Long-context requests are expensive precisely because the same long prompt gets re-read again and again, so a high hit rate deletes most of that cost. At about $18 per card per hour at off-peak prices, the economics start to look like a real alternative to renting America's Nvidia hardware. But the release hides as much as it shows: what China's DeepSeek open-sourced is offline inference only. A complete online service still needs a KV cache system, prefill/decode disaggregation and load balancing across replicas — none of that is in the repository — and the engine still serves exactly one model, DeepSeek-V4.1-Flash. In other words, China's DeepSeek handed over the engine, not the whole assembly line.

The biggest quiet loser is America's Nvidia and its grip on AI inference in China

The biggest quiet loser is America's Nvidia and its grip on AI inference in China. Until now, a Chinese cloud provider that wanted DeepSeek-grade inference performance either bought America's Nvidia cards or did its own painful optimization work. Now the official production code runs on China's Huawei chips, and Ascend becomes a first-class citizen in a mainstream open inference framework for the first time. The general-purpose inference engines feel it too: America's vLLM and America's SGLang serve every model, while DeepInfer is a single-model specialist — it does not compete for the general market, but it just published the playbook for running one model, one workload and one kind of hardware to the extreme. For Chinese cloud vendors and AI startups, the practical gain is concrete: they can now deploy DeepSeek-V4.1-Flash on Huawei Ascend with official latency and cost numbers behind it, instead of taking the vendor's word for it.

iHolyshit review

My take: this is not a routine open-source release, it is a public showdown over which hardware runs China's AI inference. China's DeepSeek is betting that publishing its own production numbers on Huawei Ascend does more damage to America's Nvidia than any speech about self-reliance. Two things will decide it over the next 6 to 12 months: how many Chinese cloud providers actually move production traffic onto Ascend plus DeepInfer, and whether DeepInfer expands beyond a single model. If the migration happens at scale, America's Nvidia loses a real chunk of its inference business in China. If it stays a showcase, this was a well-timed announcement with the production parts still missing.

December 1, 2026

Share this article

What do you think of this story?

Anonymous feedback, up to 5 reactions per article.

Reader comments

Comment without signing in, or sign in to display your member name.

Discuss the technology and the story. Hate, politics and war, threats, abuse, personal accusations, sexual content, ads, links and personal information are not allowed.

0/500

No comments yet. Be the first to share.

Sources