The Economics of Domestic AI Compute for LLM Inference: A Three-Stage Analysis
This article breaks down the economics of running large language model inference on domestic AI accelerators through a three-stage model: proving feasibility, saturating theoretical performance, and reaching large-scale commercial viability. It explains how the evaluation focus has shifted from whether a model can run to whether the service can cover depreciation, power, bandwidth, and operations costs. Using a public comparison in which a domestic platform earns about $17.60 per card-hour versus $47.50 for a leading international accelerator, the article interprets five key metrics—time to first token, single-stream output speed, per-card decode throughput, and revenue per card-hour—and shows why cache hit rate acts as a hidden economic lever. It closes with an engineering checklist for latency, throughput, stability, cost, and ecosystem readiness.
1. The Real Question: From “Can It Run” to “Does It Pay Off”
Over the past two years, the discussion around whether domestic compute can handle large model inference has shifted. The focus is no longer “can it be deployed” but “can it produce sustainable commercial output.” This change reflects a move from comparing isolated technical metrics to evaluating end-to-end economics.
Whether an inference service meets production standards cannot be judged only by whether the model returns correct results. It must also hold up under real traffic and generate enough output per unit of compute to cover depreciation, power, bandwidth, and operations costs, forming a self-sustaining loop.
A set of operating data published by a domestic compute platform shows that under off-peak pricing, a domestic accelerator card generates roughly $17.60 in revenue per card-hour, while a comparable mainstream international accelerator generates about $47.50—a gap of roughly 2.7x. The gap is real, but it also points to a more important fact: domestic compute can already produce measurable, accountable commercial output, rather than staying in the lab as a benchmark score.
2. The Three-Stage Model: Criteria and Key Actions
Stage 1: It Runs — Proving Feasibility
The goal is to deploy the model on domestic chips and produce usable results. The main risks at this stage are incomplete operator coverage, difficulty aligning precision, and missing framework adaptation. Performance, cost, and stability all leave substantial room for optimization. The criterion is simple: it produces results, but it should not yet carry real user traffic.
Stage 2: It Runs at Full Capacity — Extracting Theoretical Performance
This is the decisive stage for closing the gap, and it requires layered optimization:
- Operator level: fusion and custom implementations.
- Communication level: optimized collective communication and topology-aware scheduling.
- Memory level: fine-grained management of caching and memory reuse.
- Scheduling level: batch assembly and request queuing strategies.
The criterion is that hardware utilization and throughput approach the theoretical limit, with no performance degradation during long-running stability tests.
Stage 3: Large-Scale Commercial Use — Making the Numbers Add Up
This is no longer about benchmarks but about serving real user traffic and quantifying commercial output. The criteria include: service level objectives that can be committed to, a per-token cost that can be calculated, capacity that scales elastically on demand, and faults that can be isolated and recovered from quickly. Only after crossing this stage does a platform truly earn a seat at the table.
3. Reading the Metrics: Which Numbers Directly Drive Revenue
Based on a public comparison table, an evaluation framework can be built from five groups of metrics (with both sides sharing the same baseline of roughly 98.44K average input length and about 97.2% cache hit rate):
| Metric | Domestic Platform | Comparison Platform | Business Meaning |
|---|---|---|---|
| Time to first token P50 | 277 ms | 205 ms | Interactive feel |
| Time to first token P90 | 459 ms | 380 ms | Tail experience and timeout rate |
| Single-stream output speed | 137.9 t/s | 238.9 t/s | Single-user experience |
| Per-card decode throughput | 7,409 t/s | 17,840 t/s | Output per unit of compute |
| Revenue per card-hour | $17.60 | $47.50 | Commercial result |
Two points deserve emphasis. First, single-stream output speed determines how quickly an individual user gets an answer, directly affecting experience and timeout-retry rates. Second, per-card decode throughput determines how many tokens a chip produces per unit of time. This is the metric commercial companies should watch most closely, because it directly determines revenue per unit of compute. The tail of time to first token (P90) often determines the capacity scaling threshold more than the average does, because timeout retries amplify wasted compute consumption.
4. Cache Hit Rate: The Hidden Lever of Economics
In ultra-long input scenarios, every percentage point of improvement in prefix cache hit rate reduces the overhead of repeated computation. A high hit rate means a large share of input tokens do not need to be recomputed and instead follow the cache-read path, improving both time to first token and per-card throughput at the same time. On the engineering side, teams should implement session-level prefix reuse, keep system prompts and tool definitions fixed, and make cache sharding and eviction strategies observable. The logic is illustrated below:
# Pseudocode: skip prefix prefill on a cache hitif prefix_cache.hit(request.prefix_hash):kv = prefix_cache.load(request.prefix_hash)prefill_tokens = request.suffix_tokenselse:kv = model.prefill(request.input_tokens)prefix_cache.store(request.prefix_hash, kv)prefill_tokens = 0first_token = model.decode_step(kv, prefill_tokens)
5. The Engineering Checklist for the Last Mile
- Latency governance: separate prefill and decode resource pools, control long-tail requests within a batch, and set queuing limits and fallback strategies.
- Throughput governance: increase batch concurrency in the decode stage, optimize memory and KV management, and reduce fragmentation and synchronization waits.
- Stability governance: establish load-test baselines, canary releases, fault isolation, and fast rollback mechanisms.
- Cost governance: apply tiered pricing for off-peak and peak periods, and build a unit-cost dashboard using monitoring, alerting, and logging services.
- Ecosystem governance: improve the operator library, compilation toolchain, and migration assessment process to lower adaptation costs on the application side.
6. Conclusion
Domestic compute is already capable of delivering inference services to a high standard. The 2.7x revenue gap is room for further optimization, not a reason to dismiss its usability. The real dividing line is whether a platform can sustain profitability, calculate unit costs accurately, and gradually build a mature, independent industrial ecosystem. For technical teams, prioritizing per-card decode throughput and cache hit rate often improves overall economics faster than chasing single-stream speed.
