Production-Grade Inference on Domestic AI Accelerators: What the Revenue Gap Really Means
This article examines what it takes for domestic AI accelerators to deliver production-grade large model inference. Using the reported per-card hourly revenue figures of roughly $47.50 and $17.60 as a starting point, it explains the five requirements of production readiness, the three-stage evolution from basic execution to top-tier service, and how per-card revenue is calculated. It then covers the key engineering elements—continuous batching, paged KV cache, parallelism strategies, quantization, and observability—along with practical guidance for enterprise adoption.
1. The Question: What Makes Production-Grade Inference Hard
When a production-oriented inference stack is released as open source, the discussion often centers on two numbers: the normalized revenue per card per hour under the same idle-time pricing, at roughly $47.50 and $17.60. The first reflects the most advanced process node and the most mature software ecosystem; the second reflects the output of domestic accelerators under real business workloads.
The gap of about 2.7x looks stark. Placed against the actual evolution of domestic compute in large model inference over the past two years, however, it points to a different conclusion: domestic compute has reached the point where it can serve inference externally to the industry’s highest engineering standards, rather than remaining a “runnable sample” confined to the lab.
Understanding this judgment requires a clear definition of the production-grade bar. It includes at least five things: stable throughput, controlled latency, recoverability from failures, accountable cost, and repeatable deployment. If any one of them falls short, the service stays at the demo stage.
2. Three Stages of Evolution: From Running to Serving at the Highest Standard
The first stage is “it runs.” The goal is to complete the forward pass on domestic accelerators with numerically acceptable output. Common problems at this stage include missing operators, precision regressions, and out-of-memory errors, and the engineering work relies heavily on manual adaptation.
The second stage is “it works well.” The focus shifts to performance and stability: operator fusion, communication optimization, batch scheduling, and paged memory management are gradually put in place. The service can carry real traffic, but capacity planning is still largely experience-driven.
The third stage is “serving at the highest standard.” Its defining traits are a decoupling of the inference framework from the hardware, automatic configuration of continuous batching, paged attention caching, tensor parallelism, and pipeline parallelism, together with a complete observability stack. At this point, the remaining gap between domestic compute and advanced-process solutions shows up mainly in unit cost efficiency, not in whether the system is usable.
3. How to Read Per-Card Normalized Revenue Correctly
Per-card revenue per hour is essentially the revenue a unit of compute asset can generate under idle-time pricing, and it is determined by three variables:
Revenue per card per hour ≈ output tokens per second × price per million tokens × 3600 / 1000
The gap can therefore be broken down into throughput efficiency and pricing power. Throughput is affected by operator efficiency, memory bandwidth, interconnect bandwidth, and batching strategy. Pricing is affected by supply and demand, model size, and service quality tier. Reading $17.60 against $47.50 directly as a “performance gap” is a misreading. A more accurate statement is that under the same service quality constraints, the unit output of the domestic option still has room to improve, but it has already crossed the usability threshold.
4. Key Engineering Elements of Production-Grade Inference
- Continuous batching and request scheduling. Replacing static batches with iteration-level scheduling reduces idle queueing and is the most direct lever for raising throughput.
- Paged key-value cache. Splitting the attention cache into fixed blocks allocated on demand significantly reduces fragmentation and reserved waste.
- Combining parallelism strategies. Tensor parallelism handles models that do not fit on a single card, pipeline parallelism improves cluster utilization, and expert parallelism targets sparse architectures; the choice should follow the interconnect topology.
- Quantization and precision tiering. Low-bit weight quantization combined with high-precision retention for critical layers trades memory and bandwidth for gains while keeping quality under control.
- Observability and capacity governance. Bringing throughput, latency percentiles, cache hit rate, and queue wait time into monitoring and alerting establishes a capacity baseline.
An illustrative logic for collecting service metrics:
metrics = {"output_tokens_per_sec": throughput,"p99_latency_ms": p99,"kv_cache_hit_rate": hit_rate,"queue_wait_ms": queue_wait,"cost_per_million_tokens": cost,}
5. Recommendations for Enterprise Adoption
When introducing domestic compute inference services, enterprises are advised to start with a small-scale shadow traffic validation to align on precision and long-context behavior; then use percentile latency rather than average latency as the acceptance criterion; and finally build a three-dimensional capacity matrix of “model—hardware—batch strategy,” normalizing cost to per million tokens to create a comparable basis for procurement and scaling decisions. Practice at Baidu AI Cloud in heterogeneous compute resource scheduling, containerized inference deployment, logging, and monitoring and alerting shows that encapsulating hardware differences at the platform layer, so that the business side faces only a unified inference interface, is an effective way to control migration cost.
6. Conclusion
The comparison between $47.50 and $17.60 is not the end of the story but the starting point of domestic compute entering the production-grade competitive range. Once engineering standards, the observability stack, and the cost model are all aligned with the industry’s highest requirements, the remaining gap will be determined mainly by process technology and ecosystem maturity over time, not by engineering feasibility. For developers and enterprises, now is the right window to build a portable inference architecture and accumulate capacity and cost baselines.
