How Hybrid Attention Architectures Reshape LLM Inference: Cross-Datacenter KVCache Transfer in Practice

    Prefill and Decode phases of LLM inference have long been locked into the same datacenter by KVCache transfer bandwidth requirements. New hybrid attention architectures shrink KVCache by an order of magnitude, making cross-datacenter Prefill offloading a viable engineering design. This article examines the bandwidth bottleneck of traditional PD-disaggregated architectures, how hybrid attention models change the equation, the Prefill-as-a-Service (PfaaS) architecture, and measured results including 54% throughput gains and 64% lower P90 TTFT.

    Hybrid Attention Architectures Reshape LLM Inference: Cross-Datacenter KVCache Transfer in Practice

    Large model inference has long been tethered to a single datacenter by the KVCache transfer bandwidth that binds the Prefill and Decode phases together. Prefill generates massive KVCache data—at rates that can reach tens of Gbps—forcing both phases to share the same RDMA network and making heterogeneous deployment and elastic scaling nearly impossible. With the rise of new hybrid attention architectures, however, this is changing fundamentally: the dramatic reduction in KVCache size has turned cross-datacenter transfer from a fantasy into a serious engineering problem.

    1. The Bandwidth Bottleneck of Traditional PD Disaggregation

    PD (Prefill/Decode) disaggregation has become the standard paradigm for large-scale LLM inference. Prefill processes large volumes of input tokens and is compute-intensive, while Decode performs autoregressive generation and is memory-bandwidth-bound. Separating the two phases maximizes hardware utilization.

    However, once Prefill and Decode run on different nodes, KVCache must be transferred between them. Traditional dense attention models expose a fatal weakness here. Take a mainstream dense attention model as an example: when processing a 32K-token input, a single instance produces KVCache at a rate of roughly 60 Gbps (the KV throughput Φkv, i.e., the amount of KVCache data generated per unit time during Prefill). This far exceeds the capacity of a typical inter-datacenter Ethernet link.

    This massive data flow locks PD disaggregation into a single RDMA network domain. Worse, when heterogeneous hardware is forced into the same tightly coupled cluster, the Prefill-to-Decode hardware ratio becomes fixed. Facing dynamic traffic, the system cannot flexibly adjust the compute allocation, leading to frequent idle resources or queuing congestion.

    2. The Opportunity Created by Hybrid Attention Architectures

    What makes cross-datacenter transfer feasible is a fundamental change at the model architecture level. Today’s mainstream hybrid attention models use a new stacking strategy: alternating a small number of full attention layers (such as MLA—Multi-head Latent Attention, or GQA—Grouped Query Attention) with a large number of linear-complexity layers (such as Delta Attention and Sliding Window Attention, SWA).

    Looking at representative hybrid architectures, the ratio of linear layers to full attention layers typically falls between 3:1 and 7:1. This design preserves inference quality while dramatically reducing the state storage burden of long-context inference.

    For a 32K-token input, hybrid attention architectures reduce KV throughput Φkv by an order of magnitude compared with traditional dense models. This means data flows that once required expensive RDMA networking now have a theoretical basis for transfer over ordinary Ethernet. This is not merely a size reduction—it is the key to breaking the geographic isolation of compute.

    3. A Deep Dive into Prefill-as-a-Service

    Building on the foundation laid by hybrid attention architectures, the industry has proposed a new inference architecture called Prefill-as-a-Service (PfaaS). The core idea: selectively offload long-context Prefill tasks to a remote, dedicated high-compute cluster, then transfer the resulting KVCache back over ordinary Ethernet to the local PD cluster for Decode.

    This architecture is not simply “splitting the network”—it relies on a combination of system-level techniques:

    1. Selective offloading. Not all requests are sent to the remote site. Through intelligent routing, only long-context, compute-heavy Prefill tasks are offloaded to the remote high-compute cluster, while short-context requests stay local. This selective offloading significantly reduces the overall load on the cross-network link.

    2. Bandwidth-aware scheduling. Latency and bandwidth fluctuations in cross-datacenter transfer are unavoidable. A bandwidth-aware scheduling mechanism monitors Ethernet link status in real time and dynamically adjusts the concurrency and batch size of KVCache transfers, ensuring data is returned smoothly without blocking the local Decode cluster.

    4. Measured Performance and Gains

    In testing against an internal 1T-parameter hybrid model, this cross-datacenter PfaaS scheme delivered impressive results. Compared with a traditional homogeneous PD deployment, the solution not only proved the cross-datacenter link viable but also achieved a 54% improvement in system throughput. Meanwhile, thanks to the dedicated processing of the high-compute cluster and optimized network scheduling, P90 TTFT (Time To First Token) dropped by 64%.

    Behind these numbers is a leap in heterogeneous hardware utilization. Freed from the constraints of a single RDMA network, compute clusters can scale up and down on demand according to real-time traffic, and the ratio of Prefill to Decode nodes can be adjusted dynamically—fully unlocking the elasticity benefits of cloud-native environments.

    5. Implementation Advice and Outlook

    Landing this architecture in production requires advances on both the model optimization and systems engineering fronts. At the cloud infrastructure level, enterprises can build this architecture using general-purpose cloud platform capabilities—for example, using high-performance compute instances for the remote Prefill cluster, a local container platform for rapid elastic scaling of the Decode cluster, and cloud monitoring and alerting services to track network and node load in real time.

    In summary, KVCache reduction on the model side alone is not enough to support cross-datacenter deployment. The viable solution is the combination of “model architecture optimization + system-side selective offloading + bandwidth-aware scheduling.” Hybrid attention architectures are reshaping the infrastructure paradigm of large model inference, making cross-domain compute scheduling a reality. This cross-datacenter path has been proven out—and it points toward a new direction for cost-efficient, large-scale LLM serving.