Evaluating Production-Grade LLM Inference on China-Developed AI Accelerators

    Production-grade LLM inference is more than getting a model to generate text. This article explains how to judge China-developed AI accelerators across functional correctness, system efficiency, and sustainable operations, and how to read latency, throughput, and revenue metrics without confusing speed, utilization, or hourly revenue with profit. It also outlines what a reusable open implementation should include and a practical acceptance process for real traffic, failures, and cost.

    1. The Real Step Forward Is Moving from “It Runs” to Continuous Delivery

    Discussions of China-developed AI accelerators for large language model inference often fall into one of two errors. One treats any generated answer as proof that the technical problem is solved. The other treats a single weaker performance number as proof that the hardware has no commercial value.

    Both views miss the system nature of inference serving.

    Production-grade inference is not a showcase of chip peak performance. It is a delivery capability formed jointly by the model, operators, communication, storage, scheduling, and operations. Under continuous real requests, changing input lengths, and occasional device failures, the service still has to meet explicit objectives, and its cost must be measurable, explainable, and controllable.

    Progress can be understood at three levels:

    • Functionally usable: the model loads correctly and completes inference.
    • System-efficient: compute, memory access, and communication are optimized together so device capacity is used effectively.
    • Operationally sustainable: the service can carry real traffic over time and hold an acceptable balance among quality, latency, stability, and cost.

    These levels are not strictly separate stages. They form a capability system that keeps evolving. Long-context requests, traffic spikes, and abnormal inputs in production often drive further optimization underneath.

    2. First Capability: A Successful Deployment Is Not Business Acceptance

    Moving a model onto new compute hardware starts with graph adaptation, operator implementation, data-type support, and memory-layout changes. Producing text is only the first functional check.

    1. Numerical correctness needs layered validation

    Different hardware and compute implementations may use different operation orders and precision strategies. Floating-point arithmetic is not strictly associative, so intermediate results can differ even when an implementation matches the mathematical definition.

    Validation should not stop at one final answer. It should be layered:

    • Check whether key operator outputs stay within an allowed error range.
    • Check probability-distribution shift on fixed inputs.
    • Evaluate overall quality change on a representative task set.
    • Run dedicated tests for long inputs, complex structures, and boundary conditions.

    If quantization or another precision change is introduced, business quality must be validated again. Lower memory use and higher throughput should not come at the cost of unacceptable answer degradation.

    2. Resource boundaries must be explicit

    Fitting model weights on a device does not mean the service can stably handle high concurrency.

    The runtime also needs space for intermediate activations, temporary work areas, and the key-value cache. The cache stores attention-related state for context already processed, and its footprint generally grows with sequence length and concurrency.

    Acceptance should therefore define:

    • Supported input and output length ranges.
    • Concurrency that can be sustained for different length combinations.
    • Queue, reject, or degrade behavior when the cache is insufficient.
    • Whether resources are reclaimed promptly after a request is cancelled.
    • Whether extreme inputs can exhaust memory.

    Without these boundaries, a service that looks fine in a demo can become unstable quickly under real traffic.

    3. Second Capability: Optimize the System Bottleneck, Not a Single Peak

    LLM inference usually has two stages with different profiles: prefill and decode.

    Prefill processes the existing input, and its compute load depends on input length. Decode generates output step by step. Each step reads the relevant weights and cache and performs the required computation. Bottlenecks shift with model structure, batch size, and hardware configuration. They cannot be reduced to “more compute always means faster inference.”

    1. Operator optimization must serve end-to-end performance

    Common optimizations include operator fusion, fewer intermediate write-backs, better matrix layouts, and lower launch overhead.

    A faster operator does not necessarily speed up the request by the same proportion. If most time is spent on communication or queueing, further local compute tuning may yield little.

    A more reliable approach is to analyze the full execution path first, separate compute, memory access, communication, scheduling, and wait time, and then set optimization priority by bottleneck share.

    2. Communication cost decides multi-device scaling efficiency

    When a model spans devices, parameter partitioning and parallel execution add inter-device communication. More devices raise aggregate compute, but they can also increase synchronization waits and data transfer.

    What matters is not “how many cards are used,” but:

    • How much throughput rises after devices are added.
    • Whether time to first token becomes clearly worse.
    • Whether communication overlaps effectively with compute.
    • Whether network congestion raises tail latency.
    • Whether one slow device holds back the whole execution group.

    If scaling efficiency keeps falling, extra devices may add cost without matching service capacity.

    3. Scheduling balances throughput and user experience

    Dynamic batching groups requests so resources are used more fully. Waiting to form a batch adds queue time, and an oversized batch can also lengthen a single request’s response.

    Continuous batching can admit new requests and remove finished ones during generation, reducing idle time from fixed batches. It still has to manage resource contention among requests of different lengths.

    The production goal is not the largest possible batch at any cost. It is the highest effective output that still meets latency constraints.

    4. Reading Performance Metrics: Fast, Full, and Profitable Are Not the Same

    An inference service should be judged with at least four kinds of metrics.

    Metric Main question What to watch when interpreting it
    Time to first token How long until the user sees the first output Includes queueing, prefill, and related processing
    Per-request output speed How fast one request is generated Does not directly represent total machine or per-card capacity
    Per-card decode throughput How many output tokens can be produced per unit time Must state concurrency, length, and quality constraints
    Effective business revenue How much service output converts into revenue Depends on billing, utilization, and cost

    1. Time to first token must be read as a distribution

    The median describes a typical request, not stability under heavy load. Higher percentiles should also be tracked, and results should be grouped by input length, cache-hit status, and workload type.

    On long inputs, a cache hit can cut repeated computation sharply. A result with a high cache-hit rate does not represent a workload of many first-seen long inputs.

    2. Per-request speed shapes interaction, but it is not the only source of revenue

    Faster generation usually means less waiting. “Faster output always means more profit” holds only under specific conditions.

    If demand is limited, billing is per request, or higher speed requires a large increase in resources, speed gains may not become higher profit. Pushing single-request speed too hard can also reduce concurrent capacity.

    Interactive workloads need output that stays smooth enough. Batch workloads may care more about overall throughput and the cost of completing the job.

    3. Per-card throughput is closer to capacity, but only with service constraints

    Per-card throughput can be read as output capacity per unit time. It cannot be compared independently of latency and quality.

    Some systems raise throughput by queueing more and waiting longer, while user experience gets clearly worse. The useful metric is:

    Effective work completed per device while meeting agreed latency, error-rate, and quality requirements.

    A throughput test should therefore also report request distribution, concurrency, output length, and service constraints.

    5. A Gap in Commercial Revenue Is Not a Gap in Profitability

    Source discussions sometimes use revenue per card per hour as a signal of commercialization. That figure can show output under a specific traffic and billing setup. It does not, by itself, prove profit, and it does not directly establish the hardware’s overall economics.

    Three ideas need to stay separate:

    • Revenue: the amount billed under the actual pricing rules.
    • Contribution margin: revenue left after direct service costs.
    • Overall profit: the result after research and development, operations, management, and similar costs.

    Revenue per device per hour is commercially meaningful only together with cost.

    A simplified model is:

    Hourly contribution margin
    = effective billable revenue per hour
    − device depreciation or rental cost
    − power and cooling cost
    − network and storage cost
    − direct operations cost

    “Effective billable revenue” should exclude test traffic, failed requests, and requests that business rules do not charge for. It should not be theoretical peak throughput multiplied by list price.

    For self-operated services, also include deployment and tuning, spares, failure repair, and migration or adaptation effort. For on-demand compute, consider minimum usage, idle capacity, and how efficiently the service scales up and down.

    A device class with lower output per card can still be economical if purchase and operating costs fall by more. A lower hardware price does not automatically mean a lower service cost. If more devices are required to hit the same latency target, or adaptation and maintenance are expensive, overall return can still be poor.

    6. The Value of Production-Grade Open Source Is Lower Verification and Reuse Cost

    Publishing an inference implementation is useful not only because others can read the code. External teams should be able to reproduce deployment, understand the optimization path, and judge system boundaries.

    An open implementation with practical value usually includes:

    • Clear build, deployment, and dependency instructions.
    • A verifiable model and operator adaptation flow.
    • Configurations and load descriptions that match reported test results.
    • Methods for performance analysis, logging, and monitoring.
    • Known limits, failure handling, and upgrade notes.
    • Correctness and regression tests.

    “Production-grade” is not a repository label. It is a set of engineering properties that can be checked. Code that runs shows that a function can be reproduced. Code that can carry a business stably over time also needs operating history, exception handling, and service metrics.

    Teams adopting an open implementation should review maintenance status, license terms, dependency risk, and version compatibility. Public availability is not the same as a zero-cost path to production.

    7. A Reusable Production Acceptance Process

    Whether China-developed accelerators can serve inference to a high standard can be judged with the following process.

    Step 1: Define the business goal first

    State whether the workload is real-time interaction, long-document analysis, or offline batch processing, and set the matching latency, quality, availability, and budget requirements.

    Different scenarios need different weights. A single composite benchmark table cannot replace a business judgment.

    Step 2: Fix the test conditions

    Record model configuration, numerical precision, input and output length distribution, cache policy, concurrency pattern, and device count.

    When comparing options, keep these conditions as consistent as possible. Factors that cannot be held constant should be called out, along with how they affect the result.

    Step 3: Measure both low load and high load

    Low-load tests show baseline latency. Raising pressure gradually shows the capacity ceiling and the point where queueing bends upward.

    If arrivals stay above processing capacity, the queue can grow without bound. Before launch, find not only peak throughput but also the safe capacity that can be sustained.

    Step 4: Validate failure cases

    Deliberately test device loss, process restart, cache shortage, network fluctuation, and request cancellation. Check that the service isolates faults, reclaims resources, and recovers.

    A high standard means fast behavior in the normal case and predictable behavior in the abnormal case.

    Step 5: Calibrate cost with real traffic

    Use a small staged rollout to observe actual cache-hit rate, request length, busy level, and failure rate, then revise cost per request or per unit of output.

    Procurement and capacity decisions should rest on sustained operating data, not a single peak result.

    8. Conclusion: Going to Production Is the Start; Sustained Optimization Is the Long-Term Advantage

    Gains in inference on China-developed AI accelerators should be judged inside a full engineering and commercial frame. Running shows technical feasibility. Running efficiently shows system optimization. Serving stably and accounting for cost is what enters real commercial competition.

    What still needs to be filled in is not only chip performance. It also includes developer tools, operator coverage, performance analysis, deployment automation, failure diagnosis, and version compatibility. Those capabilities directly affect adaptation cost and whether a team can keep upgrading without taking on excessive migration risk.

    The most convincing test is not “how close one metric got.” It is whether, under a defined workload and service constraints, the system can keep delivering acceptable results and grow service scale at a controllable cost. That is the core of production-grade inference, and the basis for long-term competitiveness of this class of compute.