How Chinese AI Chips Enable Low-Cost LLM Inference Pipelines

    This article explores the shift in evaluating Chinese AI chips from basic availability to cost efficiency in large-scale LLM inference. It covers how to conduct trace-level and instruction-level performance analysis, the impact of hardware-software co-design, a six-layer cost-reduction framework for per-token costs, an actionable evaluation checklist, and the associated commercial impacts and risks.

    1. The Shift from “Usability” to “Cost Efficiency”

    Past discussions around Chinese AI chips often focused on whether they could replace flagship foreign GPUs. The primary concerns were availability: whether they could handle training and inference tasks, ensure complete operator coverage, and maintain stable framework adaptation.

    Recently, a more critical question has emerged: Can these chips support large-scale, high-concurrency inference services at a lower cost? Inference and training have different evaluation criteria. Training prioritizes throughput and convergence efficiency with limited call frequencies. Inference, however, is a long-term online service where minor changes in per-token cost accumulate into significant operational differences at scale.

    Therefore, when a top-tier open-source LLM lists a Chinese AI chip as a validation platform in its technical report, it signifies that these chips have entered the core of the inference cost structure. However, being “listed for validation” does not equate to “significantly lower cost”; this gap must be bridged with empirical data.

    2. How to Interpret an Inference Evaluation

    Standard chip evaluations typically stay at the application layer. Testers run benchmarks and record throughput (Tokens/s), Time to First Token (TTFT), and Time per Output Token (TPOT). While these metrics show the results, they rarely explain the causes.

    Trace-level analysis records the complete timeline during chip operation, usually including:

    • Operator-level timing: Start and end times, execution duration, and the specific compute unit for each operator.
    • Pipeline utilization: Utilization curves for matrix and vector compute units to identify bubbles and bottlenecks.
    • Communication traces: Cross-card and cross-node AllReduce and AllToAll communication times, along with the proportion of wait time to total execution time.
    • Memory access behavior: HBM bandwidth utilization and L2 cache hit rates to determine if the task is compute-bound or memory-bound.

    Instruction-level analysis operates at a finer granularity. It focuses on the compute unit’s performance when executing instruction streams, such as instruction issue rates, stall reasons (data dependency, memory wait, sync wait), instruction cache misses, and register pressure. Trace-level analysis answers “which operator is consuming time,” while instruction-level analysis answers “why is this operator slow internally.” Combining both is essential to evaluate the effectiveness of custom operator optimizations.

    Specific collection tools are provided by chip vendors, with different naming conventions and metric definitions. Ensure consistent calibration when comparing.

    3. Model and Chip Co-Design: Confirmed vs. Unverified Aspects

    “Co-design” means hardware capabilities participate in constraints before the model architecture is finalized. The traditional flow is model-first, hardware-adaptation-second. Certain model designs, like specific attention variants or unconventional expert routing, might only be implemented inefficiently on heterogeneous hardware, limiting performance ceilings early on.

    Co-design allows hardware features to influence architectural choices. Currently confirmed directions include:

    1. Simplification of attention mechanisms: Some new models adopt sparse or compressed attention to reduce KV Cache read/write volumes for long contexts. The Decode phase is often memory-bound, so such changes correspond well with chip designs featuring large bandwidth and caches. The exact mechanism and gains should be verified against the official technical report.
    2. Low-precision computation: Models support lower-bit weight and activation representations, while chips provide corresponding low-precision compute units. This alignment reduces both computation and storage overhead simultaneously.
    3. Communication pattern alignment: Expert parallelism in MoE architectures generates high-frequency AllToAll communication. Whether the interconnect topology and communication libraries are optimized directly affects whether expert routing becomes a bottleneck.

    The “supernode collaboration” mentioned in official materials refers to system-level coordination. Single-card performance is the starting point; cross-node interconnect bandwidth and scheduling capabilities determine the scale of the LLM that can be run.

    4. Per-Token Cost: A Six-Layer Cost-Reduction Pipeline

    Per-token cost can be approximated by the formula:

    Per-Token Cost ≈ Total Hourly Cost (hardware depreciation, power, datacenter, and operations) ÷ Effective Hourly Tokens Meeting Latency Requirements

    The word “effective” in the denominator is crucial. If TTFT or TPOT are pushed beyond service requirements to maximize throughput, those tokens should not be counted.

    The cost-reduction pipeline can be broken down into six layers:

    1. Chip layer: Larger on-chip caches and higher HBM bandwidth alleviate memory bottlenecks in the Decode phase, boosting single-card throughput.
    2. Compiler layer: Graph compilers reorder and fuse computation graphs, reducing the frequency of intermediate results being written back to VRAM. A successful operator fusion can eliminate multiple HBM read/writes.
    3. Operator layer: Deep optimization for high-frequency operators like Attention, GEMM, and expert feedforward networks, with template specialization for common sequence lengths and batch shapes.
    4. Scheduling layer: Disaggregated deployment of Prefill and Decode, using more suitable hardware configurations for each to reduce resource mismatch.
    5. Communication layer: High-bandwidth interconnects reduce communication overhead in expert parallelism, allowing MoE’s sparse activation advantages to manifest in real workloads.
    6. Service layer: Framework optimizations like KV Cache management, request batching, and context cache reuse determine whether hardware efficiency translates into actual per-token cost savings.

    The gains from these six layers compound, but their individual contributions vary and require layered measurement. Looking only at the final price cannot reveal the source of cost reduction.

    5. An Actionable Evaluation Checklist

    To compare two inference solutions, follow these steps:

    1. Fix the model version, weight precision, context length distribution, and output length distribution.
    2. Fix the batch size, concurrency, and request arrival pattern, and record the scheduling strategy.
    3. Collect TTFT, TPOT, throughput, and P99 latency under the same load to confirm if service requirements are met.
    4. Collect traces during a stable runtime window to tally operator latency, pipeline utilization, and communication proportion.
    5. Perform instruction-level analysis on key operators to record main stall reasons.
    6. Record the versions of drivers, compilers, and inference frameworks to avoid mistaking software differences for hardware differences.
    7. Calculate the per-token cost using the checklist and compare it with results under equivalent latency conditions.

    It is recommended to record results in the following table:

    Metric Definition Collection Method Key Notes
    TTFT Time from request arrival to first token output Application-layer timing Record both P50 and P99
    TPOT Average time per token during the output phase Application-layer timing Specify output length range
    Throughput Number of tokens processed per unit time Stress testing tool statistics Specify batch size and concurrency
    HBM Bandwidth Utilization Ratio of actual memory bandwidth to peak Vendor profiling tools Distinguish between Prefill and Decode phases
    Communication Proportion Ratio of communication wait time to total time Trace data Specify parallel configuration
    Per-Token Cost Calculated using the formula above Cost model Specify assumptions like electricity price, depreciation period

    Applicable boundaries need special clarification. Data from different batch sizes, sequence lengths, and parallel configurations cannot be directly compared horizontally. Vendor-published performance numbers usually correspond to specific conditions; readers should verify the test configuration before using these figures.

    6. Commercial Impact and Risks

    Falling inference costs will transmit to pricing. Cloud service providers gain more pricing flexibility, lowering the barrier for downstream developers to integrate LLMs. As call volumes grow, hardware costs are further amortized.

    For model service providers, an additional factor in chip selection is the impact on gross margins. Once the software stack, operator libraries, and operations system are built around a specific foundation, migration costs will gradually increase. Migration costs can create path dependency, with the exact magnitude depending on the scope of migration.

    Risks also require attention. First, currently publicly verifiable data is scarce, and many conclusions rely on single sources. Second, software version changes can cause noticeable performance fluctuations. Third, stability and operational costs under long-term high loads require extended data from production environments to evaluate.

    7. Conclusion

    Currently available public information supports the following judgments: Chinese AI chips have entered the validation scope of some top-tier open-source models, and the direction of software-hardware co-design can explain the reasons for reduced inference costs. However, this information is insufficient to prove that these chips possess low-cost, high-concurrency inference capabilities across all models and workloads.

    To form an independent judgment, readers should first verify three types of materials: the original official technical report, a complete description of the test configuration, and the calculation method for per-token cost. Based on this, conducting empirical tests according to the checklist in Section 5 will yield comparable conclusions.

    For developers, techniques like model structure compression, operator fusion, disaggregated scheduling, and low-precision computation are universally applicable across different hardware. Understanding the complete cost-reduction pipeline is more valuable than simply comparing the specs of a single product.