The Economics of Domestic AI Compute for LLM Inference: From Benchmarks to Production

    This article examines how the conversation around domestic AI accelerators for large language model inference is shifting from technical feasibility to unit economics. Using publicly shared production data, it compares revenue per card-hour, latency, single-stream speed, and per-card decode throughput, then breaks down the three-stage evolution from "it runs" to "it runs at full capacity" to commercial scale. It also outlines a practical evaluation method for measuring cost per million tokens under a consistent workload profile.

    1. Why Open-Source Production Inference Code Is the Turning Point

    For the past two years, discussions about whether domestic compute can handle online LLM inference have mostly stayed at the level of “can it run at all.” Once production-grade inference code was open-sourced and real production traffic data was published, the frame of reference shifted from technical feasibility to economics: how much revenue each card-hour can generate, and whether costs can be absorbed by real business workloads.

    The public comparison, based on off-peak pricing and a normalized measurement basis, is roughly as follows: a domestic accelerator generates about $17.60 in normalized revenue per card per hour, while a leading international flagship accelerator generates about $47.50 — a gap of roughly 2.7x. That gap is real, but it also demonstrates something more important: domestic compute can now account for its economics and sustain itself, rather than remaining limited to lab benchmarks.

    2. Three-Stage Evolution: From Running, to Running Full, to Commercial Deployment

    The first stage is “it runs.” The goal is a deployable model that produces correct outputs, validating the technical path. Performance, cost, and stability all still have significant room for optimization. This stage is typically driven by many engineering teams working in parallel, and its value lies in eliminating uncertainty.

    The second stage is “running full.” Work moves down to the operator layer, the communication layer, memory management, and task scheduling: core operator fusion and precision alignment, topology-aware collective communication, paged and reused KV cache, continuous batching, and preemptive scheduling — squeezing the theoretical peak layer by layer. This stage determines how much of the hardware’s paper specifications can actually be realized.

    The third stage is “commercial scale.” The measure of success is no longer peak compute but handling real user traffic in production and quantifying business output. This is precisely the significance of open-sourcing production-grade code: it turns the optimization results of the second stage into reproducible, auditable public assets.

    3. Breaking Down the Metrics: What Actually Determines Revenue

    Abstracting the public comparison into general metrics makes the sources of the revenue difference clear:

    • Average input length of about 98.44K and cache hit rate of about 97.2%: both are consistent, indicating that the billing and workload basis are comparable, so the gap does not come from differences in “problem difficulty.”
    • Time to first token: P50 of about 277ms vs. 205ms, P90 of about 459ms vs. 380ms: affects interactive experience and timeout/retry rates.
    • Single-stream output speed of about 137.9 t/s vs. 238.9 t/s: directly determines how fast a single session “earns by generating tokens.”
    • Per-card decode throughput of about 7,409 t/s vs. 17,840 t/s: determines the concurrency a single card can support, and is the metric commercial operators should care about most.

    Revenue can be approximated as:

    1. Revenue per card ≈ per-card decode throughput × billable ratio × price per token × 3600

    When unit price and billing basis are held constant, the throughput ratio almost linearly determines the revenue gap; single-stream speed indirectly widens or narrows that gap by affecting user-perceived latency and how long concurrent sessions remain resident.

    4. Why Per-Card Decode Throughput Matters More Than Single-Stream Speed

    Single-stream speed determines “how fast one session is,” while per-card throughput determines “how many people one card can serve simultaneously.” The real cost pressure in online services comes from concurrency peaks: insufficient throughput can only be solved by adding more cards, and adding cards raises the cost per token. A high cache hit rate combined with long input lengths can also significantly dilute prefill overhead, so paged KV cache management, prefix reuse, and scheduling preemption strategies often deliver better cost-effectiveness than simply increasing peak compute.

    5. A Practical Evaluation Method

    Enterprises are advised to run stress tests and cost accounting under a consistent measurement basis to avoid being misled by paper specifications:

    1. Fix the workload profile: align input length distribution, output length, cache hit rate, and the concurrency curve.
    2. Collect layered metrics: separately record prefill latency, decode latency, P50/P90/P99, and error and retry rates.
    3. Cost accounting: convert card-hour cost, networking and storage, and operations labor into cost per million tokens.
    4. Stability validation: run long-duration stress tests to observe memory fragmentation, communication jitter, and throughput degradation.
    1. # Example: skeleton for unit economics accounting
    2. def unit_cost(gpu_hour_cost, tokens_per_card_hour, billable_ratio):
    3. return gpu_hour_cost / (tokens_per_card_hour * billable_ratio)

    6. Closing the Last Few Miles

    To build a comprehensive economic advantage, progress is needed simultaneously in three areas: continued optimization of operators and communication, finer-grained scheduling and caching strategies, and a mature software ecosystem. The value of an open-source production implementation is that optimization experience becomes reusable, comparable, and continuously improvable. When domestic compute can reliably turn a profit and account for its economics, the industry is genuinely at the table; the next goal is to gradually narrow the gap from 2.7x and form an independent, mature inference ecosystem.