AI Infrastructure Constraints: Why the Cost-per-Token Battle Is China's Opportunity

    AI infrastructure expansion is hitting physical limits, as power, water, land, grid interconnection, and community acceptance replace chip supply as the main bottleneck. This article explains why building more data centers faces local resistance, how competition is shifting to cost per million tokens, energy efficiency, and resource usage, and presents a five-layer optimization framework covering workload scheduling, training efficiency, inference cost control, cooling and energy, and cost observability, along with a practical cloud deployment workflow.

    1. The Symptom: Compute Expansion Meets Physical Limits

    Over the past two years, the industry’s understanding of compute has reversed sharply: from anxiety over “not enough GPUs” to the reality that “we cannot build the facilities fast enough.” Several European countries have seen public protests against data center construction, while some North American states are tightening approval for new projects, requiring additional environmental impact assessments and public comment periods. Research cited in the original article shows that a significant share of planned capacity in the US falls in states that lean toward “pause approvals,” and multiple local ballot measures broadly support limiting or banning construction.

    Taken together, these events point to a simple conclusion: the constraints on AI infrastructure have expanded from a single point—chip supply—into a multi-objective coupling problem involving power, water, land, grid interconnection timelines, and community acceptance. Chips can be purchased and queued for delivery, but substation upgrades, transmission line approvals, and cooling water guarantees often advance on timelines measured in years. A structural mismatch has emerged between the long-cycle rigidity of compute supply and the short-cycle elasticity of model demand.

    2. Root Causes: Why “Build More Data Centers” Faces Local Opposition

    2.1 Electricity Pricing Amplifies Externalities

    In regions with more market-based electricity pricing, tariffs adjust in real time or by tier according to supply and demand. When large-scale training and inference workloads connect to the grid, peak load in the local network rises, and residential and industrial users simultaneously feel increases in capacity charges and energy charges. The case mentioned in the original article is representative: one manufacturer saw its monthly capacity charge rise from about $1,600 to $12,000, with annual electricity spending increasing by roughly 90%. As electricity price increases propagate along the supply chain, what ultimately weakens is the cost competitiveness of existing local manufacturing.

    2.2 Water Use Is Tightly Linked to Cooling Method

    Data center water consumption comes mainly from evaporative cooling and some wet cooling designs. When a facility consumes a significant share of a city’s water supply, water shifts from an “engineering parameter” to a “public issue.” This also explains why site selection increasingly weighs climate zone, water source structure, and annual hours of natural cooling.

    2.3 Employment Structure Mismatch

    Data centers create construction-phase jobs and a small number of high-skill operations roles, which do not overlap with the local production-line workers squeezed by high electricity prices. Concentrated benefits and dispersed costs form the macro basis for community opposition.

    2.4 Effective Compute Is Far Below Nominal Compute

    An often-overlooked fact: in real workloads, GPU compute utilization (MFU) is frequently well below theoretical peak. Insufficient data supply, communication bottlenecks, frequent recomputation, memory fragmentation, and inefficient operators all leave expensive hardware idle. When expansion is constrained, raising the effective output per unit of compute is the most direct form of “new compute.”

    3. The Shift: Competition Moves from “Adding GPUs” to “Unit Cost”

    When supply is constrained, competition naturally migrates to three curves:

    • Inference cost per million tokens
    • Energy per unit of effective training throughput (tokens per kWh)
    • Carbon emissions and water use per unit of business (water/CO₂ per request)

    These three curves together determine whether a model can be used at scale. The opportunity for China’s AI industry is not in “who builds more,” but in who can push unit cost low enough and contain infrastructure externalities enough. This aligns with engineering habits formed domestically over the long term: compute scale achieved several-fold growth in just over a year while residential electricity prices and living costs remained broadly stable, showing that “expansion” and “public welfare” are not necessarily opposed—the key lies in scheduling mechanisms, energy-efficiency design, and cost allocation.

    4. Methodology: A Five-Layer Optimization Framework Under Tight Compute Constraints

    Layer 1: Workload Tiering and Scheduling

    Split workloads by latency sensitivity into four categories—online inference, near-real-time batch processing, offline training, and retrospective evaluation—and match each to a compute pool with different cost-performance profiles. Interruptible tasks should preferentially run on preemptible elastic resources, with mandatory checkpoints and resume-from-checkpoint support.

    1. # Example: select resource pool and retry policy by task tier
    2. POLICY = {
    3. "online": {"pool": "low_latency", "preemptible": False, "timeout_ms": 800},
    4. "batch": {"pool": "spot", "preemptible": True, "checkpoint_every": 2000},
    5. "train": {"pool": "spot", "preemptible": True, "checkpoint_every": 500},
    6. "eval": {"pool": "spot", "preemptible": True, "checkpoint_every": 0},
    7. }
    8. def schedule(task):
    9. p = POLICY[task.level]
    10. return submit(task, pool=p["pool"], allow_preempt=p["preemptible"],
    11. ckpt_steps=p["checkpoint_every"], timeout_ms=p["timeout_ms"])

    Layer 2: Training Efficiency Engineering

    Prioritize “compute that costs nothing extra”: mixed precision and safe numerical strategies, operator fusion, sensible partitioning of sequence parallelism and pipeline parallelism, gradient accumulation instead of oversized batches, and curriculum sampling based on data mixtures. For communication bottlenecks, apply compute-communication overlap and gradient compression; for memory bottlenecks, use recomputation and finer-grained sharding. Standardize evaluation on “total GPU hours required to reach the target metric,” rather than peak speed of a single experiment.

    Layer 3: Inference Cost Governance

    Inference is the main body of the long-term bill. Key techniques include continuous batching and dynamic batching, paged KV cache management with prefix reuse, speculative decoding to reduce serial steps, semantic caching of high-frequency question-answer results, and distillation plus small-model routing (simple requests go to small models, complex requests escalate to large models).

    1. # Example: semantic cache + model routing
    2. def answer(q):
    3. hit = cache.get(embed(q), ttl=3600)
    4. if hit:
    5. return hit
    6. tier = "small" if complexity(q) < 0.4 else "large"
    7. out = model[tier].generate(q)
    8. cache.set(embed(q), out, ttl=3600)
    9. return out

    Layer 4: Energy Efficiency and Cooling

    Choose sites based on annual hours of natural cooling, prioritizing closed-loop and liquid cooling designs to increase the value of waste heat recovery; constrain design with three metrics simultaneously—PUE, WUE, and CUE—rather than PUE alone. On the scheduling side, introduce “carbon-aware” capability: migrate deferrable tasks to low-carbon time windows and low-carbon regions.

    Layer 5: Observability and Cost Attribution

    Build a cost dashboard with attribution by business dimension, collecting GPU utilization, memory occupancy, queue time, cache hit rate, and energy per request in a unified way, forming a closed loop through logging services, monitoring alerts, and metrics platforms. Without attribution, there is no optimization; when cost is invisible, waste is inevitably uncontrollable.

    5. Cloud Implementation: Building a Low-Cost Foundation with Common Capabilities

    In a cloud environment, the framework above can be implemented entirely with common product categories: container platforms host elastic resource pools and preemptible queues; object storage holds checkpoints and datasets; message queues decouple tasks and smooth peaks; logging services and monitoring alerts complete cost-performance attribution; and auto scaling adjusts capacity automatically based on queue depth. In this category of common capabilities, Baidu AI Cloud offers standard product combinations that enterprises can use to build their own scheduling and governance systems without binding to any proprietary interface.

    A practical, open-source-agnostic reference workflow:

    1. Collect two weeks of real traffic and measure request length distribution and repetition rate;
    2. Set three cost red lines (cost per million tokens, energy per thousand requests, and a minimum cache hit rate);
    3. Launch semantic caching and model routing, and observe the inflection point of the cost curve;
    4. Retrofit training tasks with checkpoints and preemption policies, raising the interruptible proportion above 70%;
    5. Use PUE/WUE/CUE and carbon-aware scheduling to optimize site selection and time windows.

    6. Conclusion

    The essence of the infrastructure blockage in Europe and the US is that AI is being weighed on the scale of public cost for the first time. In the second half of the compute race, the contest is not over who owns more accelerator cards, but who can deliver the same intelligence with lower energy consumption, fewer resource inputs, and higher effective utilization. For China’s AI, the real opportunity window lies in engineering efficiency and cost structure: raising effective compute, pushing down cost per token, and containing infrastructure externalities are what enable sustained expansion in an environment of increasing supply rigidity.