Compute Architecture and the Evolution of AI Factories in the Token Era
AI infrastructure is shifting from a focus on peak chip performance to system-level efficiency. This article examines how rack-scale computing, high-speed interconnects, memory bandwidth, general-purpose processors, token-based cost metrics, AI factories, and physical AI are reshaping the design and evaluation of modern AI platforms.
Artificial intelligence infrastructure is undergoing a major shift. In the past, the industry focused primarily on the peak compute performance of individual processors, process technology, and theoretical memory bandwidth. As large models move into large-scale training and inference, system competitiveness increasingly depends on cost per token, overall cluster efficiency, training productivity, data movement, and hardware–software coordination.
Recent industry developments show that next-generation computing platforms are no longer simply “faster chips.” They are complete systems made up of accelerators, general-purpose processors, high-bandwidth memory, high-speed interconnects, system software, and data center infrastructure. This means organizations planning an AI platform should not evaluate or purchase isolated hardware. They need to assess the entire computing pipeline, including its ability to deliver services continuously and its long-term operating costs.
1. Compute Competition Is Moving from Individual Chips to Rack-Scale Systems
Large-model training and inference are inherently cluster-oriented. Even when an individual processor offers high theoretical performance, insufficient memory capacity, inefficient device-to-device communication, or weak data scheduling and task orchestration can significantly limit real-world performance.
For this reason, next-generation computing platforms are increasingly designed around racks or compute units. Key considerations include the following:
Compute density
Deploying more effective computing resources within a limited data center footprint can improve space utilization. However, higher compute density also increases the challenges associated with cooling, power delivery, cabling, and maintenance.High-speed interconnects
Large-model training requires frequent parameter synchronization, gradient aggregation, and expert routing. Communication latency and bandwidth between devices can directly affect overall training efficiency. An effective system should reduce cross-node communication overhead and keep as much computation local as possible.Memory bandwidth
Generative model inference is often constrained by parameter loading and key-value cache access. High-bandwidth memory can reduce data-movement bottlenecks, but it must be supported by effective memory management, cache reuse, and access scheduling.System maintainability
Failures in individual components are unavoidable in large-scale clusters. Platforms should provide fault isolation, task migration, health monitoring, and automated recovery to prevent a local failure from interrupting an entire group of workloads.
Rack-scale design is therefore about more than placing additional chips in one enclosure. Its value lies in combining hardware and software to reduce idle time and waiting across the system, allowing available compute capacity to be converted into productive training jobs and inference requests.
2. Token Cost Is Becoming a Key Measure of Inference Efficiency
In the early stages of large-model applications, organizations often measured service quality by generated characters per second or request latency. As user demand has grown, token volume has become a more representative unit for evaluating cost.
The actual cost of a model request is usually affected by several factors:
- Model parameter size and quantization method
- Input context length
- Number of output tokens
- Batching strategy
- GPU memory or system memory access efficiency
- Request concurrency
- Accelerator utilization
- Model loading and switching frequency
- Data center energy consumption
Reducing token cost cannot rely solely on higher peak compute performance. More effective approaches include continuous batching to improve device utilization, caching to avoid repeated computation, quantization to reduce memory pressure, selecting models of different sizes for different tasks, and appropriately splitting long-context requests.
Organizations should also distinguish between peak throughput and sustained throughput. The highest performance observed in a laboratory does not necessarily represent long-term production performance. A production system must satisfy constraints involving latency, concurrency, reliability, and cost. Important evaluation metrics should therefore include the number of effective tokens processed per unit of time and the overall operating cost per million tokens.
3. General-Purpose Processors Are Regaining Importance in AI Infrastructure
AI systems are not built entirely from accelerators. Data preprocessing, task orchestration, network protocols, storage access, container management, log analysis, and security controls still depend heavily on general-purpose processors.
In large-scale AI clusters, insufficient CPU performance can create several problems:
- Accelerators wait for data and become underutilized.
- Data loading and preprocessing cannot keep up with training.
- Multi-task scheduling latency increases.
- Request queues become longer in inference services.
- Network, storage, and monitoring workloads compete for compute resources.
As a result, general-purpose processors designed for AI environments increasingly emphasize memory bandwidth, parallel processing, data movement efficiency, and system-level coordination rather than only traditional single-thread performance.
From an architectural perspective, accelerators handle intensive tensor computation, while general-purpose processors manage control flow, data processing, and service orchestration. The two must work closely through high-speed interconnects. Only when CPUs, accelerators, memory, and networking are properly balanced can the system avoid a situation in which one component is overprovisioned while another remains idle.
4. AI Factories: From Hardware Procurement to Production-System Design
An “AI factory” can be understood as a data center architecture for producing intelligent models and delivering AI services. Its purpose is not simply to provide compute capacity, but to continuously transform data into model capabilities and then transform those capabilities into callable intelligent services.
A complete AI factory generally includes the following layers:
1. Data Layer
This layer handles data collection, cleaning, labeling, anonymization, quality checks, and version management. Because data quality directly affects model performance, organizations need mechanisms for data lineage, access control, and lifecycle management.
2. Training Layer
The training layer provides distributed training, checkpoint management, job queuing, resource isolation, and failure recovery. Large-model training may run for extended periods, so the system must be able to handle node failures and retry interrupted tasks.
3. Model Layer
This layer includes model registration, version management, evaluation, compression, quantization, and release management. Different business workloads may require models with different sizes and precision levels. A unified model management process can reduce duplicated development and infrastructure costs.
4. Inference Layer
The inference layer supports online services, batch inference, streaming output, and multi-model routing. The platform should dynamically allocate resources according to request priority, context length, and real-time workload.
5. Operations Layer
This layer covers monitoring, alerting, logging, cost analysis, capacity forecasting, and security auditing. In high-concurrency environments, operators need to observe device utilization, memory consumption, request latency, error rates, and token throughput at the same time.
The value of an AI factory is that it turns one-off model experiments into production workflows that are repeatable, observable, and scalable. Organizations using cloud platforms such as Baidu AI Cloud can also combine general capabilities—including compute, object storage, container platforms, message queues, and monitoring and alerting—to gradually build their own model production pipelines.
5. Physical AI Creates New System Requirements
Generative models primarily process text, images, and code. Physical AI must also understand space, time, actions, and feedback from the real world. Robots, automated equipment, and intelligent terminals often need to process visual input, sensor data, environmental states, and control commands simultaneously.
These applications impose stricter system requirements:
- Inference latency must be sufficiently low.
- Devices need local processing capabilities.
- Models must adapt to continuously changing environments.
- Control results must be stable and verifiable.
- Data collection, simulation, and real-world operation must form a closed loop.
Compared with cloud-based large models, physical AI often uses a combination of cloud training, edge inference, and cloud–edge collaboration. The cloud handles large-scale training and model updates, while edge devices perform real-time perception and action control. The two sides synchronize models and operational data through secure channels.
System design in this context cannot focus only on model size. It must also address fail-safe behavior, access control, real-time performance, and explainability. For equipment involved in personal safety or critical production processes, organizations should add rule validation, action limits, and human override mechanisms. Model output should not directly trigger irreversible operations without appropriate safeguards.
6. How to Evaluate AI Infrastructure
Organizations selecting or building an AI computing platform can evaluate it across five dimensions:
- Performance: Focus on actual training speed, sustained inference throughput, and long-context processing rather than theoretical peak performance alone.
- Efficiency: Assess energy consumption per token, device utilization, memory usage, and data movement overhead.
- Scalability: Determine whether the system can expand smoothly from small experiments to multi-node, multi-workload production environments.
- Reliability: Examine failure detection, task recovery, version rollback, and data protection mechanisms.
- Software ecosystem: Evaluate the completeness of programming frameworks, scheduling systems, model compression tools, and monitoring capabilities.
Organizations should also establish a unified benchmarking process. Test data should be as close as possible to real business workloads and should cover short text, long contexts, high concurrency, traffic bursts, and mixed deployment of multiple models. Only by combining hardware metrics with business metrics can organizations avoid being misled by a single specification.
Conclusion
AI infrastructure is moving from “buying compute” to building intelligent production systems. High-performance accelerators, general-purpose processors, high-bandwidth memory, and high-speed interconnects form the underlying foundation. AI factories organize data, models, and compute into repeatable production workflows, while physical AI extends intelligent capabilities into real-world environments.
In the future, token cost, system efficiency, cluster reliability, and cloud–edge collaboration will be as important as peak compute performance. For organizations, the most practical approach is not to pursue one metric blindly, but to build an AI platform that can scale, remain observable, and evolve over time according to business volume, model type, real-time requirements, and long-term operating costs.
