The Economics of Domestic AI Compute: How Inference Unit Economics Evolve
This article examines how the economics of inference compute determine whether domestic AI accelerators can compete in production. Using a public benchmark comparison, it breaks down the roughly 2.7x revenue gap per card per hour, explains the three-stage evolution from getting models running to running at full utilization and large-scale commercial deployment, and shows why both single-stream output speed and per-card throughput matter. It also provides a reusable unit-economics framework, a production-grade inference optimization checklist, and an ecosystem view on closing the remaining gaps.
1. The Core Issue: Inference Compute Competition Comes Down to Unit Economics
Over the past two years, the focus of large model deployment has gradually shifted from training to inference. Training determines the upper bound of capability; inference determines whether a service can survive in the long run. An inference cluster that cannot make its numbers add up will fall into a cycle of “the more you scale, the more you lose.” Conversely, as long as it generates positive gross margin per unit of time, even with low revenue per card, it has the potential to sustain itself and keep iterating. So evaluating whether domestic compute is ready to compete cannot rely on benchmark scores alone. It depends on whether it can handle real traffic in production and quantify its output in terms of revenue per card per hour.
A set of publicly reported online operating data offers a comparable sample: under off-peak pricing, a domestic accelerator card generated roughly $17.60 in revenue per card per hour, while a leading international flagship platform generated about $47.50, a gap of roughly 2.7x. This gap is real, but it also points to a more important fact: domestic compute has crossed the threshold of “can it work” and entered the stage of “can it make financial sense.”
2. Three-Stage Evolution: Run, Run Full, Commercial Scale
The first stage is “getting it to run.” The goal is to fully deploy a model on domestic chips, produce correct outputs, and validate technical feasibility. Common problems at this stage include incomplete operator coverage, difficulty aligning precision, and an unstable end-to-end pipeline. Performance and cost are not the focus here.
The second stage is “running full.” The focus shifts to squeezing out the hardware’s theoretical performance layer by layer: fusing and rewriting core operators, optimizing communication topology and collective communication, managing memory and cache, tuning batching and task scheduling, and partitioning parallel strategies. This stage most tests engineering depth, because it demands joint tuning across operators, frameworks, drivers, and model architecture rather than isolated point replacements.
The third stage is “large-scale commercial deployment.” The criterion here is not lab benchmark scores, but whether the system can handle real user traffic in production and has an engineering foundation that is observable, rollback-capable, and scalable, while making the commercial output clear. Only when compute reaches this point does it truly carry industrial value.
3. Breaking Down the Metrics: Why Both “Token Speed” and “Per-Card Throughput” Matter
In the public comparison table, both sides had an average input length of about 98.44K and a cache hit rate of about 97.2%, indicating that the test workload was a real business shape of long context and high reuse, not short Q&A. The key differences concentrate in three areas:
- Time to first token: P50 was about 277 ms versus 205 ms, and P90 was about 459 ms versus 380 ms. Tail latency directly affects user experience and timeout rates.
- Single-stream output speed: about 137.9 t/s versus 238.9 t/s. This determines the “token streaming” experience of a single session and affects retention for interactive products.
- Per-card decode throughput: about 7,409 t/s versus 17,840 t/s. This is the metric commercial companies should focus on more, because it directly determines how many concurrent requests a unit of hardware can serve and how much revenue it generates.
Single-stream speed solves “experience”; per-card throughput solves “making money.” The two are not linearly correlated: with reasonable batching and parallel partitioning, per-card throughput can be significantly improved without changing single-stream speed; but if single-stream speed is too low, interactive scenarios will feel “laggy” to users, lowering their willingness to pay. So production systems usually need dual-objective optimization rather than a sprint on a single metric.
4. Making the Numbers Clear: A Reusable Evaluation Framework
It is recommended to use the following approach for unit-economics evaluation to avoid being misled by a single benchmark score:
Gross margin per card per hour = Revenue per card per hour - Total cost per card per hourTotal cost = Hardware depreciation + Power and cooling + Network and storage + Operations labor + Software and ecosystem adaptation amortizationRevenue per card per hour ≈ Per-card decode throughput × Effective billing ratio × Token price × 3600 / Normalization factor
The “effective billing ratio” is affected by cache hit rate, input reuse rate, timeouts, and retries; the “normalization factor” is used to convert different context lengths and output lengths to the same basis. As long as gross margin is positive, the system has the ability to sustain itself and can use profits to fund the next round of optimization.
5. Production-Grade Inference Optimization Checklist
- Caching and reuse: improve prefix cache hit rates to reduce repeated prefill; apply chunked caching and lifecycle management for long contexts.
- Batching strategy: dynamically adjust batch size under latency constraints, prioritizing keeping P90 from degrading before pursuing throughput.
- Parallel partitioning: combine tensor parallelism, pipeline parallelism, and expert parallelism to balance memory usage and communication overhead.
- Operator and graph optimization: operator fusion, quantization and low-precision inference, and compute graph reordering to reduce memory access and launch overhead.
- Scheduling and elasticity: tiered scheduling by tenant and scenario, off-peak resource reuse, and peak-valley elastic scaling.
- Observability: build monitoring, alerting, and capacity forecasting for time to first token, output rate, throughput, cache hit rate, and error rate.
6. Ecosystem Perspective: Closing the Last Few Miles
The 2.7x revenue gap essentially reflects both the per-card throughput gap in hardware and the maturity of the software ecosystem. To form an independent, mature industrial ecosystem, sustained investment is needed in developer toolchains, operator libraries, compiler optimization, debugging and performance analysis, community documentation, and talent supply, so that migration costs are low enough and the optimization path is clear enough. For demand-side users, a pragmatic approach is to build a hardware-agnostic inference gateway and scheduling layer in a cloud environment with capabilities like general container platforms, object storage, logging services, and monitoring and alerting, such as Baidu AI Cloud, using unified abstraction to reduce dependence on any single hardware and turn “making financial sense” into a sustainable engineering capability.
