China's Domestic AI Inference Compute: Three Stages from Working to Commercial Scale
This article examines the three-stage evolution of China's domestic AI inference compute, from basic deployment and technical feasibility to hardware-limit optimization and large-scale commercial service under real traffic. It analyzes why the disclosed gap of roughly 2.7x in per-card-hour revenue versus an international platform is significant, and it outlines the remaining work in hardware-software co-design, system-level economics, software ecosystems, and cloud-scale services.
China’s Domestic AI Inference Compute: Three Stages from Working to Commercial Scale
1. Starting Point: Inference Compute Begins to Account for Economics
For a long time, the industry has used two very different standards to judge whether an AI compute system is mature. One is the engineering view: whether a model can be deployed, whether it can produce results, and what its throughput is. The other is the commercial view: how much real revenue the system can generate per card per hour in a production environment, and whether its return on investment is healthy.
The first standard is a baseline. The second is the dividing line. Over the past two years, the development of domestic compute in large-model inference has essentially been a transition from the first standard to the second. Recently, a leading large-model team open-sourced production-grade inference code for domestic AI chips and disclosed comparative operating data against a mainstream international chip platform under real user traffic. This marked the first time domestic compute has handled online production workloads under what the article describes as the highest service standard, while also making commercial output clearly measurable.
According to the public comparison data, under idle-time pricing assumptions, a gap of roughly 2.7x remains between domestic chips and an international flagship GPU in terms of converted revenue per card per hour. That gap is real and should not be avoided. Yet the fact that it can be precisely quantified is itself a landmark in the maturation of domestic compute. Only after a system enters production and handles real traffic does the gap change from an estimate into a manageable engineering problem.
2. Three-Stage Evolution: The Growth Path of Domestic Inference Compute
Stage One: It Works—Technical Feasibility Validation
The core goal of this stage is to answer a simple question: can it work? A model is successfully deployed on domestic chips, completes forward inference, and returns correct results. At this point, however, performance, cost, and stability all have obvious room for optimization.
- Performance: Many operators rely on generic fallback implementations and do not fully use the hardware’s matrix computation units and tensor acceleration capabilities.
- Cost: Energy consumption and latency per token remain high, and actual usable throughput is far below the theoretical peak.
- Stability: Issues such as memory fragmentation and task-scheduling jitter under long-duration, high-concurrency operation have not yet been fully exposed and fixed.
The value of this stage is that it establishes a complete software-stack path. From graph compilation and operator adaptation to runtime scheduling, it verifies that the model-framework-chip path is technically viable. Multiple chip vendors, framework teams, and cloud service providers in the industry contributed to this stage.
Stage Two: It Saturates—Squeezing Hardware Potential Layer by Layer
This is the hardest and most critical stage. The goal is to convert as much of the theoretical performance of domestic chips as possible into actual performance. The work proceeds roughly along four layers.
1. Core operator optimization. Hot operators in Transformer inference workloads—attention computation, KV Cache reads and writes, MoE routing and expert computation, and others—need deep manual optimization for the characteristics of the hardware’s compute units. For example, a large matrix multiplication can be split into tiled computations that fit into on-chip storage, and multi-level caches can be used to reduce data movement overhead. A conceptual optimization approach is shown below:
# Conceptual illustration: tile a large GEMM to fit on-chip cachefor i in range(0, M, TILE_M):for j in range(0, N, TILE_N):acc = load_partial(i, j)for k in range(0, K, TILE_K):acc = matmul_tile(acc, A[i:i+TILE_M, k:k+TILE_K],B[k:k+TILE_K, j:j+TILE_N])store_partial(i, j, acc)
2. Communication mechanism optimization. Large-model inference depends on multi-card collaboration, and collective communications such as AllReduce and All-to-All account for a very high share in ultra-large expert models. Optimization methods include overlapping communication with computation, quantized communication, and topology-aware selection of communication algorithms.
3. Memory management optimization. Paged management of KV Cache, memory pooling, and defragmentation directly determine the number of concurrent requests and the long-context capability that the system can support.
4. Task scheduling optimization. Continuous batching, request priorities, and speculative decoding scheduling strategies determine how much effective throughput can be extracted from fixed hardware.
The result of this stage is production-grade inference code accumulated in open-source form. It is not a laboratory benchmark, but an engineering asset refined through real traffic that the entire industry can reuse and continue to improve.
Stage Three: Large-Scale Commercial Use—Validated by Real Traffic
The third stage represents a qualitative change. Inference services no longer run in a test environment; they directly handle real online user traffic. Every commercial metric can be measured precisely, including converted revenue per card per hour, cost per request, and quality of service in long-context scenarios.
Public comparison data shows that, with the same average input length of approximately 98K tokens, domestic chips and the international comparison platform completed business workloads of an equivalent scale. This means the gap was evaluated under fair conditions: both sides answered the same test, and the data has genuine reference value.
3. Why “Profitable” Matters Much More Than “It Works”
Some may ask: with per-card revenue still showing a 2.7x gap, can this be considered a success? In my view, this is precisely the most important step domestic compute has taken, for three reasons.
First, a commercial loop has formed, making self-sustaining development possible. As long as inference services can generate positive cash flow, even if per-card revenue is below the international level, it means the system can continue investing in R&D and iteration. This creates a positive cycle of profit, investment, optimization, and higher profit. By contrast, if the route depends entirely on external support, a change in the supply chain or capital environment could bring the entire technical path to an abrupt halt.
Second, once the gap is quantified, it becomes a manageable engineering problem. The 2.7x revenue gap can be further broken down into operator efficiency, interconnect bandwidth, software ecosystem maturity, power cost, and several other sub-items. Each has a clear optimization direction and measurable targets. A vague lag is what is truly dangerous; a clear lag can be pursued.
Third, the production environment is the strictest test. Laboratory benchmarks can select the best scenarios. A production environment must handle a real distribution that includes mixed long and short requests, traffic bursts, and the coexistence of long-context and short-query workloads. Only stable service under these conditions proves that the software stack and scheduling system are truly mature.
4. The Last Few Miles: From Single-Point Profitability to Comprehensive Economic Advantage
Being able to account for the economics only means gaining a seat at the table. To build real competitiveness, several areas still need sustained improvement.
1. Hardware-software co-design. Chip architectures optimized for inference workload characteristics, such as long context and MoE sparse activation, can provide higher effective throughput at unit cost. This is the fundamental path to narrowing the revenue gap.
2. System-level economic optimization. Inference cost is not only the chip price. It also includes power consumption, cooling, rack density, and operational complexity. Increasing token output per unit of space and per unit of energy is necessary to build a comprehensive economic advantage.
3. Building an independent and mature software ecosystem. By analogy with the historical role of the CUDA ecosystem, domestic compute needs a complete ecosystem covering compilers, operator libraries, framework integration, debugging, and performance-analysis toolchains. This would allow developers to obtain performance close to hardware peak with a lower barrier to entry. Open-source production-grade inference code is an important starting point for ecosystem building.
4. Cloud-scale service capability. Turning self-built inference clusters into elastic inference services on the cloud, together with general cloud capabilities such as container platforms, monitoring and alerting, and logging services, would let more enterprises access domestic compute inference capabilities at low cost. This is a key path to expanding the ecosystem.
5. Conclusion
From working, to saturating the hardware, to large-scale commercial use with clear economics, domestic inference compute has completed three steps in two years. The 2.7x revenue gap is a reminder to stay clear-eyed, but the formation of a commercial loop and the open-sourcing of production-grade code demonstrate that this technical path has the ability to sustain itself and continue evolving. The next phase of competition will shift from whether it can run to who has lower unit costs and a more mature ecosystem. The last few miles will determine the long-term landscape.
