Building a 160,000-Chip Domestic AI Cluster: An Engineering Breakdown

    This article examines the engineering realities of building a gigawatt-scale AI compute cluster based on domestic accelerators. It breaks down the five critical constraints—power, cooling, networking, supply chain, and software stack—and explains why large-scale domestic chip deployments are currently optimized for inference rather than training. Readers will find capacity estimation logic, a three-layer software adaptation path, phased delivery strategies, and a four-dimension framework for evaluating effective compute. The core takeaway is that long-term TCO and real throughput depend on system-level coordination, not single-chip peak performance.

    1. Background: Domestic AI Clusters Enter the Engineering Phase

    Recent industry reports indicate that a Chinese AI research institution plans to build a gigawatt-scale data center in a northern province. The first phase targets more than 160,000 domestic AI accelerator chips, exceeding the scale of any previously reported single domestic chip cluster. At full load, the power draw would be comparable to the daily electricity usage of hundreds of thousands of households—and the chips represent only part of the total capacity, with the remaining compute sources undisclosed. To support this infrastructure, the project is reportedly in talks for multi-billion-dollar financing.

    The key point is that the challenge is no longer “can we buy the chips,” but whether five workstreams—power, cooling, networking, supply chain, and software stack—can converge simultaneously. The following sections break this down from an engineering perspective.

    2. Power and Cooling: The First Constraint at Gigawatt Scale

    A gigawatt-scale cluster is not a simple scale-up; it is a shift in design paradigm.

    • Power delivery: Redundancy must be designed at every level, from the campus substation and dual utility feeds to backup power and rack-level distribution. Any single point of failure is amplified across tens of thousands of chips.
    • Cooling: High-density racks are pushing air cooling to its physical limits. Cold-plate liquid cooling has become the mainstream choice, with immersion cooling piloted in select scenarios.
    • Efficiency metrics: The industry commonly uses PUE to measure cooling and power distribution losses. Advanced campuses typically target a PUE below 1.2, which requires precise modeling of waste heat recovery, natural cooling hours, and airflow organization.

    A simplified capacity estimation logic is shown below (illustrative, not real parameters):

    1. # For illustrating capacity planning logic only
    2. chips = 160_000
    3. tdp_per_chip_kw = 0.6 # assumed power per chip
    4. utilization = 0.85 # average load factor
    5. pue = 1.2
    6. it_power_mw = chips * tdp_per_chip_kw * utilization / 1000
    7. total_power_mw = it_power_mw * pue
    8. print(f"IT load ~ {it_power_mw:.1f} MW, total campus power ~ {total_power_mw:.1f} MW")

    The conclusion is straightforward: the share of chip unit cost in total investment is rapidly diluted by power and cooling expenses. Any long-term TCO model must put electricity price, PUE, and utilization into the same calculation.

    3. Training vs. Inference: Why These Chips Are Mainly for Inference

    The original information notes that although these domestic chips are capable of training, they are currently used primarily for inference. The reasoning is engineering-driven:

    1. Training workloads are extremely sensitive to collective communication (AllReduce/AllGather) bandwidth and latency. At 10,000-chip scale, fault recovery windows are measured in minutes, and any slow node drags down overall throughput.
    2. Inference workloads are centered on throughput and latency SLOs. They support request-level parallelism, dynamic batching, and elastic scaling, with looser coupling requirements for a single large cluster.
    3. The common architecture is therefore a dual-track setup: a training cluster plus an inference resource pool. The training side retains a small amount of high-interconnect-density resources for frontier experiments, while the inference side uses large-scale domestic chips to handle production traffic.

    Key metrics for inference serving typically include time to first token (TTFT), time per output token (TPOT), and throughput (tokens/s). Capacity planning should be based on business peak load, not averages.

    4. Software Stack Adaptation: A Three-Layer Overhaul

    The largest hidden cost of deploying domestic accelerators lies in the software ecosystem. The reusable adaptation path spans three layers:

    • Operator layer: Targeted optimization for attention mechanisms, normalization, and quantization operators, with custom operators filling gaps where necessary.
    • Framework layer: Training and inference frameworks must adapt to the device abstraction layer. Mixed-precision strategies, memory management, and pipeline parallelism partitioning all require retuning.
    • Serving layer: Continuous batching, KV Cache reuse, and combinations of tensor parallelism and expert parallelism directly determine per-chip output.

    Illustrative inference serving pseudocode:

    1. # Pseudocode: general scheduling skeleton for inference serving
    2. def schedule(requests, max_batch_tokens, max_seq_len):
    3. batch, tokens = [], 0
    4. for r in sorted(requests, key=lambda x: x.arrival_ts):
    5. if tokens + r.prompt_len > max_batch_tokens:
    6. break
    7. if r.max_new_tokens > max_seq_len:
    8. continue
    9. batch.append(r); tokens += r.prompt_len
    10. return batch # hand off to the execution engine for continuous batching

    The engineering lesson is that with the same hardware, effective throughput can differ by multiples once operator and scheduling optimizations are in place. This gain is often more cost-effective than additional procurement.

    5. Supply Chain and Capacity: Delivery Cadence Sets the Launch Cadence

    The original information indicates that annual production capacity for high-end domestic accelerator chips is limited and constrained by key components such as high-end memory. Supply must also be shared with other customers and a small volume of exports, meaning full order delivery could take more than a year. Architects must therefore design for “staggered arrivals”:

    • Phased buildout: Use racks or pods as the minimum delivery unit, bringing capacity online as it arrives rather than idling while waiting for a complete batch.
    • Heterogeneous mixing: Isolate different chip generations within the same resource pool using labels, with the scheduler dispatching workloads by device capability.
    • Elastic fallback: Handle peak traffic through container platform auto-scaling, use object storage for cold data, and use message queues for load leveling to reduce hard dependency on a single hardware pool.

    6. Selection Guidance: Avoid Single-Metric Worship

    The industry has repeatedly seen cases where a “10,000-chip cluster” is built but only a few thousand chips are actually installed, revealing a gap between planned capacity and usable compute. Enterprises should evaluate across four dimensions:

    1. Effective compute: Measured by business SLO attainment rate, not paper peak performance.
    2. Cost per token: Including power, cooling, and operations headcount.
    3. Ecosystem maturity: Operator coverage, framework compatibility, and completeness of fault-localization toolchains.
    4. Supply certainty: Delivery timelines, spare parts guarantees, and scaling elasticity.

    Baidu AI Cloud’s general-purpose capabilities—container platform, object storage, log service, and monitoring and alerting—can be used to build unified scheduling and observability across resource pools, reducing the complexity of managing heterogeneous compute.

    7. Conclusion

    The plan for a 160,000-chip domestic cluster marks a transition of autonomous compute from “usable” to “usable at scale.” The decisive factor is not single-chip performance, but the coordination efficiency of power and cooling, the software stack, the supply chain, and the scheduling system. For enterprises, the controllable path is to first establish a layered architecture and observability, then scale in phases according to business cadence.