LLM Inference Economics for Domestic AI Accelerators: From Deployment to Profitability
This article breaks down how to evaluate production-grade LLM inference on domestic AI accelerators, moving beyond raw benchmarks to a practical revenue model. It introduces a reusable formula for revenue per GPU per hour, interprets key production metrics such as time-to-first-token, single-stream output speed, and decode throughput, and outlines engineering optimizations across decoding, scheduling, caching, and observability. Developers will learn where the main performance gaps lie and which optimizations deliver the most economic value.
1. From “It Runs” to “It Pays”: A Qualitative Shift
Over the past two years, the evolution of domestic AI accelerators in large-model inference can be abstracted into three progressive stages.
The first stage is getting it to run: models can be deployed on domestic accelerator cards and produce correct outputs, but operator coverage is incomplete, communication efficiency is low, and memory management is coarse. Performance and stability leave substantial room for improvement. At this stage, the goal is essentially to validate technical feasibility.
The second stage is maximizing utilization: squeezing the hardware’s theoretical performance layer by layer, from core operators and communication primitives to GPU memory management and task scheduling. This stage depends far more on a complete engineering system than on isolated tricks. It requires a closed loop of performance analysis, bottleneck identification, and regression validation.
The third stage is large-scale commercial deployment: no longer benchmark runs in a lab, but serving real user traffic in production, with commercial output quantified down to a granularity such as “revenue per card per hour.”
The dividing line is clear: the first two stages answer “can it work,” while the third answers “does it pay off.” Only when it generates profit and the numbers add up does it truly earn a seat at the table.
2. How to Calculate Inference Economics: A Reusable Framework
The comparison data in the original text (a domestic accelerator card generating a notional revenue of USD 17.60 per card per hour versus USD 47.50 on a leading international platform, roughly a 2.7x gap) is essentially a minimal but highly effective metric. It can be decomposed as:
Revenue per card per hour ≈ single-card decode throughput (tokens/s) × 3600 × effective billing ratio × price per token
This shows that revenue is not determined by hardware peak performance alone, but by the product of three variables:
- Single-card decode throughput: sustained output capacity under real workloads, not peak compute;
- Effective billing ratio: affected by time-to-first-token, timeout retries, and failed requests. Wasted compute generates no revenue;
- Price per token: determined jointly by market competition and cost structure.
The practical value of this framework is that when revenue falls behind, you can pinpoint whether the problem lies in throughput, stability, or pricing, rather than vaguely blaming the chip.
3. Reading the Key Metrics: Where the Gap Is
Against a typical production workload (average input length of about 98K tokens, cache hit rate of about 97%), several groups of metrics stand out:
| Metric | Domestic Platform | Reference Platform | Interpretation |
|---|---|---|---|
| Time-to-first-token P50 | 277 ms | 205 ms | Slight gap in interactive feel |
| Time-to-first-token P90 | 459 ms | 380 ms | Controllable long tail |
| Single-stream output speed | 137.9 t/s | 238.9 t/s | Biggest gap |
| Single-card decode throughput | 7,409 t/s | 17,840 t/s | Directly tied to revenue |
Key takeaway: single-stream output speed is the gap most worth closing first. The reason is straightforward—in scenarios where billing is per token and users read in a streaming fashion, output speed determines how much value can be delivered per unit of time. The gap in single-card throughput, meanwhile, is affected by both single-stream speed and concurrent scheduling efficiency.
It is worth noting that a cache hit rate of around 97% means prefix reuse is already handled well. This points to an important engineering lever: in high-hit-rate scenarios, prefill cost is heavily amortized and the system bottleneck falls almost entirely on the decode stage. Optimization efforts should therefore focus on decode operators, batching strategies, and GPU memory bandwidth utilization.
4. Engineering Optimization Path: Closing the Last Mile
1. Decode-Stage Optimization
- Use efficient attention decode implementations to reduce the memory-bandwidth pressure of KV cache reads;
- Adopt paged KV cache management to reduce fragmentation and copying;
- Persist caches for frequently shared prefixes to push the hit rate even higher.
2. Scheduling and Batching
Continuous batching is the core technique for improving single-card throughput. Combined with a request priority queue, it can balance latency and throughput:
# Illustrative scheduling strategy pseudocodedef schedule(requests, max_batch_tokens, ttft_slo_ms):ready = [r for r in requests if r.prefill_done or r.cache_hit]batch = []budget = max_batch_tokensfor r in sorted(ready, key=lambda x: x.ttft_deadline):cost = r.prefill_tokens if not r.cache_hit else 0if cost <= budget:batch.append(r); budget -= costreturn batch # decode stage then preempts by SLO
3. Long Context and Caching
Input lengths on the order of 98K are extremely demanding on GPU memory and bandwidth. Viable approaches include prefix-tree reuse, tiered caching (GPU memory—host memory—remote cache), and request-level session-sticky routing.
4. Observability
A monitoring and alerting system centered on business metrics is essential: time-to-first-token percentiles, single-stream speed, revenue per card, cache hit rate, and failure rate. Logging services and monitoring alerts should be connected to form a closed loop from metric anomalies to trace analysis.
5. Final Thoughts
Domestic AI accelerators have crossed the “usable” threshold and entered the “accountable” stage. The 2.7x revenue gap is a reality, but the leap from 0 to 1 is more meaningful: it makes self-sustaining operation and continuous iteration possible. The focus ahead is not single-point benchmarks, but closing the gaps in single-stream speed, scheduling efficiency, and the caching system to build a comprehensive economic advantage, and gradually growing an independent, mature software ecosystem. For developers, mastering the accounting framework and optimization path above delivers more long-term value than chasing any single hardware spec.
