The Engineering Ledger of Production-Grade Inference on Domestic AI Chips: A Cost-and-Throughput Analysis
Can domestic AI compute platforms handle production inference workloads? This article moves beyond benchmark scores to a more meaningful metric: revenue per card-hour. It walks through the three-stage maturity path from "runs at all" to "runs at scale," compares key performance indicators such as TTFT and per-card decode throughput under fixed test conditions, provides a reusable Python measurement template for unified benchmarking, and frames the AI industry as a token manufacturing business—covering equipment, energy, process, and product—before closing with practical deployment recommendations.
1. Start with the Money: Revenue per Card-Hour Is the Real KPI
When discussing whether domestic AI chips can serve production traffic, the most common mistake is comparing benchmark scores alone. What actually determines commercial viability is a composite metric that merges performance and price: revenue per card-hour, which can be understood as effective token output per unit of time multiplied by the unit price per token.
In one public cross-platform comparison, two platforms running the same model with the same input distribution differed by roughly 2.7x on this metric. This number is “hard” because it simultaneously captures three things: the compute efficiency of the chip, the purchase and rental cost per unit of compute, and how well the inference framework converts hardware capability into delivered output. A shortfall in any one of these shows up directly in the ledger.
So the first question when evaluating whether domestic compute is ready to compete is not “can it produce results,” but “can we compute the per-token cost and drive it into profitable territory.”
2. A Three-Stage Evolution: Runs → Runs at Full Utilization → Runs at Commercial Scale
Stage 1: It runs. The model can be deployed and produces correct results. This validates technical feasibility. Performance, cost, and stability still have large headroom—these are lab-grade numbers.
Stage 2: It runs at full utilization. This is the most undervalued step. It requires squeezing the hardware’s theoretical performance layer by layer:
- Operator layer: fusion and hand-optimized kernels for core operators (attention, normalization, quantized matmul), reducing intermediate tensor spills;
- Communication layer: overlapping collective communication with compute in tensor/pipeline parallelism, so communication doesn’t become idle bubbles;
- Memory layer: paged management of the KV cache, prefix reuse, and mitigation of VRAM fragmentation;
- Scheduling layer: continuous batching, request prioritization, and preemption/backfill policies.
Stage 3: Runs at commercial scale. No longer a sprint test—this means serving real user traffic in production, with canary releases, rate limiting, graceful degradation, observability, and capacity planning, while continuously quantifying business output.
Stages 2 and 3 depend heavily on open-sourcing inference frameworks and scheduling craftsmanship—and that is the core value of this discussion: once advanced “production processes” are made public, the industry can focus its energy on the hardware itself.
3. The Performance Ledger: Three Metrics That Must Not Be Confused
First, fix the comparison conditions: average input length of roughly 98k tokens, prefix cache hit rate of about 97%. Under these conditions:
| Metric | Relative value (domestic platform / reference platform) | Business impact |
|---|---|---|
| TTFT P50 (time to first token) | ~1.35x | Perceived interactivity, long-context experience |
| TTFT P90 | ~1.2x | Tail latency stability, SLA attainment |
| Single-stream output speed | ~0.58x | How fast a single session “speaks” |
| Per-card decode throughput | ~0.42x | Total cluster capacity and unit cost |
Key takeaway: the gap in per-card decode throughput is far larger than the gap in single-stream speed, and the former is the metric commercial companies should actually watch. Single-stream speed is like the cycle time of one production line; per-card decode throughput is the total capacity of the entire factory. Extrapolating from that ratio, if the reference platform reaches a given total throughput with 100 cards, the domestic platform would theoretically need about 241 cards to match it—which directly shapes data center footprint, power, and depreciation structures.
For an ordinary user, the perceived difference between 138 and 230 tokens/s is limited. For an enterprise buyer, the per-card gap between 7,409 and 17,840 tokens/s means an order-of-magnitude difference in capacity planning.
4. A Unified Measurement Template (Illustrative Code)
Avoiding “everyone speaking their own language” starts with fixing the measurement methodology. Here is a minimal, reusable skeleton:
def evaluate(cards: int, elapsed_s: float, out_tokens: int,card_hour_price: float, concurrency: int):"""Unified metrics: per-card decode throughput + cost per token + single-stream speed"""tps_per_card = out_tokens / elapsed_s / cards # per-card decode throughputcost_per_mtok = (elapsed_s / 3600) * cards * card_hour_price / (out_tokens / 1e6)single_stream = out_tokens / elapsed_s / concurrency # approximate single-stream speedreturn {"tps_per_card": round(tps_per_card, 1),"cost_per_mtok": round(cost_per_mtok, 3),"single_stream_tps": round(single_stream, 1),}
When using it, you must also record: input/output length distribution, cache hit rate, concurrency, quantization precision, and parallelism sharding. Missing any one of these makes the data incomparable.
5. A Token-Manufacturing View: Equipment, Energy, Process, Product
If you think of the AI industry as a token manufacturing business, the four-layer division of labor becomes clear:
- Production equipment: compute chips, which cap per-card throughput and determine procurement cost;
- Energy: power and cooling, which determine long-run marginal cost;
- Production process: inference frameworks and scheduling systems, which determine equipment utilization;
- Final product: tokens, priced by quality and latency tier.
Process can be caught up quickly through open source; equipment efficiency, pricing, and supply capacity can only improve through sustained hardware iteration. That means the short-term optimum is “push the process to its limit + trade caching and quantization for cost,” while the medium-to-long term depends on the hardware side closing that 2.7x gap.
6. Practical Recommendations
- Optimize throughput before single-stream speed, unless your workload is strongly interactive;
- Treat prefix cache hit rate as a first-class monitoring metric—long-context workloads benefit the most;
- Build a per-platform cost-per-token dashboard and tie it to capacity planning;
- Use hybrid deployments and gradual traffic shifting, validating gains with real traffic rather than benchmarks;
- Build an observability loop on top of your container platform, monitoring/alerting, and logging services, and include P90 latency and failure rates in your SLA.
7. Closing Thoughts
Open-sourcing production-grade inference craftsmanship is a milestone, but not the destination. It lets domestic compute close the gap quickly on the “how to use it well” side; whether the “equipment is strong enough, cheap enough, and available in large enough volume” still has to be answered by hardware vendors and the broader supply chain. For enterprises, the most pragmatic move right now is this: fix your measurement methodology, calculate your own token ledger, and then decide when—and in what proportion—to migrate traffic onto domestic compute.
