The Economics of Domestic AI Compute for LLM Inference: A Three-Stage Evolution
This article breaks down how domestic AI accelerators have moved from proving basic feasibility to competing on inference economics. Using published production benchmarks, it compares a domestic platform against an international flagship accelerator across latency, decode throughput, and revenue per card per hour, explains where the remaining 2.7x revenue gap comes from, and outlines a practical optimization priority: fix latency tails first, then raise decode throughput, and finally reduce unit cost. It also highlights the ecosystem capabilities required for large-scale commercial deployment.
1. The Real Question: From “Does It Run?” to “Does It Pay Off?”
Over the past two years, the discussion around running large language model inference on domestic AI compute has shifted focus. Early on, the main concern was whether models could load correctly and produce output on domestic chips. Then the focus moved to extracting as much of the hardware’s theoretical peak as possible. Today, the question on the table is how many usable tokens can be produced per unit of time and per unit of cost, and whether those tokens can cover data center, power, operations, and depreciation expenses.
A set of production-environment figures published by an open-source community puts this in concrete terms: under off-peak pricing, a domestic accelerator card generates roughly $17.60 in revenue per card per hour, while a leading international flagship accelerator card generates about $47.50. The former is around 37% of the latter, a gap of nearly 2.7x. That gap is real, but it also points to something more important: domestic compute has already cleared the “commercially viable” threshold and entered the stage of economic optimization. Being able to account for costs and self-fund operations is what it takes to be taken seriously; once at the table, the remaining work is closing the cost curve over the last few miles.
It is worth stressing that this revenue figure is not a chip benchmark score. It is a composite metric that compresses concurrency, cache reuse, latency constraints, price per token, and utilization into a single number. That makes it more useful for engineering decisions than peak compute alone.
2. Three Stages of Evolution: Run, Saturate, Scale Commercially
Stage 1: It Runs — Proving Feasibility
The core goal of this stage is to get the pipeline working end to end: model weights load correctly, operators have usable implementations on the target hardware, distributed communication can be established, and outputs are semantically correct. The typical characteristic is that functionality works, but performance and stability still have significant headroom. Long-context scenarios tend to hit memory pressure and request queuing. The point is to validate that the technical approach is viable, not to serve real traffic.
Stage 2: Saturate the Hardware — Systematic Optimization
In the second stage, optimization moves from isolated fixes to full-stack coordination, usually along four main lines:
- Operator layer: fuse attention, normalization, and element-wise operations to reduce memory round trips for intermediate tensors;
- Communication layer: overlap communication and computation in tensor parallelism and pipeline parallelism to reduce synchronization waits;
- Memory layer: paged KV cache management, prefix reuse, and memory fragmentation control;
- Scheduling layer: continuous batching, request prioritization, and preemption and rollback policies.
The key insight at this stage is that inference bottlenecks are often not compute, but memory bandwidth and scheduling efficiency.
Stage 3: Large-Scale Commercial Deployment — Proven by Production Traffic
The criterion for the third stage is not a lab benchmark score, but whether the service can handle real user traffic in production over the long term and deliver an accountable commercial return. It requires elastic scaling, canary releases, fault isolation, observability, and capacity planning, while continuously optimizing revenue per card per hour as the north-star metric.
3. Breaking Down the Metrics: Where the Money Comes From
Publicly available comparison data shows that the average input length (about 98.44K) and cache hit rate (97.2%) on both sides are essentially aligned, indicating that the comparison premise is relatively fair and that the difference comes mainly from engineering implementation rather than workload.
| Metric | Domestic Platform | Reference Platform | Gap |
|---|---|---|---|
| Time to first token P50 | 277 ms | 205 ms | ~1.35x |
| Time to first token P90 | 459 ms | 380 ms | ~1.21x |
| Single-stream output speed | 137.9 t/s | 238.9 t/s | ~1.73x |
| Per-card decode throughput | 7,409 t/s | 17,840 t/s | ~2.41x |
| Revenue per card per hour | $17.60 | $47.50 | ~2.70x |
A clear causal chain emerges: single-stream output speed determines the experience of an individual user, per-card decode throughput determines the capacity of a single card, and revenue is capacity multiplied by sellable price multiplied by utilization. Single-stream speed is like the cycle time of one production line, while decode throughput is the combined capacity of all lines in the factory. The difference between the 2.7x revenue gap and the 2.41x throughput gap comes from sellable concurrency and utilization loss under latency constraints — a higher P90 time to first token means more headroom must be reserved to meet SLAs, so actual sellable capacity falls below the theoretical peak.
4. Recommended Optimization Priority
- Fix the latency tail first: the gap between P90 and P50 reflects queuing and scheduling jitter, so prioritize request tiering, in-batch length bucketing, and preemption policy tuning.
- Then raise decode throughput: increase batch size and memory utilization, expand the coverage of prefix cache reuse, and reduce redundant prefill.
- Finally, drive down unit cost: combine off-peak/peak tiered pricing, elastic scaling, and capacity watermark management to keep utilization within a profitable range.
An illustrative capacity calculation logic can be written as:
# Illustrative calculation logic only; not the interface of any specific platformdef hourly_revenue_per_card(decode_tps, batch_factor, price_per_1k_tokens, utilization):tokens = decode_tps * 3600 * batch_factor * utilizationreturn tokens / 1000 * price_per_1k_tokens
5. The Ecosystem View: Closing the Last Few Miles
The real dividing line is not single-card peak performance, but the surrounding ecosystem: mature compilers and operator libraries, well-developed distributed training and inference framework support, observability systems (metrics, logs, tracing), and toolchains with manageable migration costs. A standalone, mature industry ecosystem only holds up when migration requires little adaptation and performance issues can be quickly located with tooling. Baidu AI Cloud’s work on heterogeneous compute scheduling, containerized inference services, and monitoring and alerting also shows that such platform-level capabilities are a necessary part of industry maturity.
The conclusion is straightforward: domestic compute is already capable of delivering inference services to a high standard. The remaining work is continuous engineering iteration around the latency tail, decode throughput, and utilization, gradually narrowing the 2.7x revenue gap into a comprehensive economic advantage.
