Introduction
The transition from chat-centric generative AI to Agentic AI—exemplified by recursive model-calling environments like Claude Code and OpenClaw—has fundamentally broken the “one-size-fits-all” unified GPU cluster. We are moving away from the era of monolithic API calls toward complex, multi-step workflows while at the same time, the industry is currently grappling with two other big shifts:
- Sovereign & Private AI: The demand for local, private, and self-hosted inference is surging as enterprises realize that data privacy and compliance mandates, as well as the cost and latency inherent in moving on-prem or edge data to centralized clouds makes public cloud APIs (or “tokens-as-a-service”) untenable for many critical use cases.
- Silicon Diversification: The “H100 monoculture” is giving way to heterogeneous silicon, due not only to supply constraints (Nvidia) but other chip OEMs wanting a piece of a large and growing market, and also end-users wanting to diversify away from a single vendor. However, this means AI developers must now orchestrate workloads across a mosaic of GPUs, ASICs (XPUs) and even high-core-count CPUs. Many of these chips do not have mature AI inference software compared to Nvidia’s GPUs.
The combination of Agentic AI, Private AI and heterogeneous silicon is the perfect storm that traditional enterprise AI infrastructure is ill-equipped to handle.
However, with the right software, heterogeneity can be turned from a roadblock to an advantage in CapEx, performance, and supply availability vs. monolithic GPU clusters. In fact, by treating Agentic AI not as a monolithic workload, but by automating the process of breaking it up into smaller tasks to make the most efficient use of the underlying compute and memory resources, all these challenges can be mitigated while delivering a 2-4x gain in inference efficiency.
What’s important to note is that while many token-as-a-service offerings (e.g. from OpenAI, Anthropic, etc.) are implementing techniques like “Speculative Decoding” and “Disaggregated Serving” under-the-hood, those solutions frequently haven’t been applied to private, local or sovereign AI. Our focus here is on enterprises, neoclouds and sovereign data centers having to support scalable, Agentic AI without breaking the bank.
The Unified GPU Cluster Mismatch: Context-Size Volatility
The fundamental challenge is stochastic workload volatility. Agentic workflows produce a wide distribution of request lengths: a single prompt can trigger a 200-token LLM call followed immediately by a 128k-token context ingestion. In a unified architecture, these long-context requests monopolize compute and starve shorter requests, leading to catastrophic tail latency (P99), and highly uneven response times from the overall agentic service. It’s like having a mix of, school buses and compact cars share the same road during peak commute.
To move beyond the limitations of “one-size-fits-all”, a SOTA (State-of-the-Art) inference orchestration must embrace a disaggregated serving model built on three pillars:
- Silicon-Aware Disaggregation: Separating the Prefill (compute-bound) and Decode (memory-bound) phases of an LLM inference. This allows for mapping the high-FLOP prefill stage to GPU clusters while offloading the auto-regressive high-memory decode stage to high-throughput ASICs or memory-optimized specialized nodes.
- Predictive & Dynamic Routing: A “traffic-router” that doesn’t just load-balance, but directs traffic to the most appropriate server based on the specific “phase” of the request, the size of the model, the context-length, and the real-time memory pressure of the heterogeneous nodes. This includes Automated configuration / reconfiguration, allowing the system to adapt to changing traffic patterns over the course of a day and the week.
- Distributed memory management: coordinate the high-speed handoff of the KV-cache (essentially the “working memory”) from compute-heavy Prefill nodes to memory-optimized Decode nodes. It should eliminate redundant recomputes by routing requests based on cache residency, utilizing lower-cost memory when appropriate. By decoupling the KV-cache from specific silicon, the system transforms static hardware into an elastic state engine capable of sustaining a massive number of contexts.
Beyond basic disaggregation, the fabric must also orchestrate techniques like speculative decoding—a technique where a smaller, faster “draft” model predicts a sequence of potential tokens that are then verified in a single parallel forward pass by the larger “target” model—is gaining rapid adoption in coding assistants and agentic reasoning loops. By allowing the system to generate multiple tokens per forward pass of the larger model, these pipelines can deliver 2–6× improvements in token generation efficiency.
In heterogeneous deployments, however, coordinating these pipelines across different silicon stacks and runtime environments (e.g., running the draft on a high-throughput XPU while the target resides on a compute-dense GPU) quickly becomes operationally complex. This is another example of why modern inference increasingly requires a dedicated orchestration layer rather than device-specific runtimes.
This article explores the engineering trade-offs of disaggregating the inference stack and provides a blueprint for building a private, heterogeneous substrate capable of sustaining the next generation of agentic workloads.
1. The evolution of inference: Chat to Agentic
Generative AI requests fall into three broad categories with distinct properties: chat, RAG, and agentic. Chat requests are the original traffic: human generated questions, machine generated responses, and requests that slowly grow over time as the asks and responses are concatenated together. A typical chat request may be on the order of ~2k tokens.
RAG (Retrieval-Augmented Generation) added the ability to pull in reference material such as code files, legal documents, or policy manuals, and add them to the request. This results in much larger inputs (8k-64k), and relatively small outputs; think of a concise answer based on the input reference materials.
Agentic AI is the latest evolution of requests. In this case, an agent may pull in a substantial amount of contextual information – think multiple documents, many code files – for processing, generate its analysis of the request (appended to the input), and then send the input plus thought process back through for review. This is the “thinking” process many models use, which results in context sizes often 100k+ being sent through the model through multiple turns as the model “understands” the problem and generates results.
Considering that processing the input data (referred to as “prefill”) consumes compute and memory resources proportional to the square of the size of the input, this represents an enormous increase in resource requirements.
2. The Silent (Latency) Killer: Head-of-Line Blocking
In a standard inference cluster, all requests are treated more or less equally. However, as discussed above, agentic traffic patterns result in a trimodal ISL (Input Sequence Length) distribution:
- ~84% of requests are short: Tool calls, status checks, and simple chat (~2K tokens).
- ~15% are medium: RAG context and summaries (~8-64K tokens).
- <1% are long-context: Full-doc analysis and massive codebases (~128K+ tokens).
Here’s a high level diagram of how a user query leads to this distribution:
Here is the kicker: this tiny fraction of long-context requests ( <1% of total traffic) dominates GPU time due to quadratic scaling (N2). These enormous requests cause Head-of-Line (HoL) blocking, physically preventing the 84% of short, “easy” requests from being processed. This leads to unacceptable Tail Latencies (P99) and sky-high costs for active KV caching in expensive HBM memory.
Further breaking the short, medium and long requests into their “prefill” and “decode” parts illustrates the HoL blocking.
As mentioned above, this problem is frequently referred to as the “car and bus” problem where a large number of smaller cars can get blocked by a single, slow moving bus if all traffic is forced into the same lane. Optimizing the efficiency of the inference cluster requires that traffic be separated and handled by specialized hardware.
3. Heterogenous, Disaggregated Serving
The solution isn’t just “more GPUs.” It’s Prefill-Decode Disaggregation (P-D-D), which addresses the fundamental difference in execution behavior between the two LLM inference phases:
- Prefill: This phase is Compute-heavy, focused on processing the input tokens. It benefits from high-density TOPs or huge amounts of slower RAM (LPDDR) to provide more memory capacity per dollar, especially for huge agentic inputs, which helps to avoid sharding models across multiple GPUs.
- Decode: This phase is Memory-bandwidth-bound and latency-critical, focused on generating output tokens one by one. It requires fast memory (SRAM/HBM).
By separating these phases into specialized pools, we eliminate cross-phase resource contention.


This separation is key to a State-of-the-Art (SOTA) inference solution but not sufficient; the different demands of prefill and decode argue for specialized hardware focused on those specific needs rather than a single, general-purpose solution.
A general approach will have these features:
Phase-Optimized Multi-Instance P-D-D
The industry’s recognition of this need can be seen in recent product introductions:
- Nvidia’s Ruben CPX foregoes the HBM (High Bandwidth Memory) for slower, but more plentiful DDR memory and huge amounts of 4-bit floating point capacity to handle large prefill jobs.
- Qualcomm’s Ai200 devices similarly have plentiful DDR memory, which is slower and lower power than HBM, and strong integer performance with low power consumption, making them well suited for prefill. The Ai250 device utilizes “near memory compute” to attempt to provide the memory bandwidth needed for decode operations from DDR memory.
- Groq licensed its high-speed, SRAM based inference solution, well tailored for decode, to Nvidia for $20B.
Using hardware specialized for the different phases of evaluating Transformers models helps boost inference efficiency and reduce latency but comes with two significant challenges: getting the right data to the right hardware, and deploying and configuring multi-vendor clusters with widely different software stacks.
4. Silicon “Virtualization”: Engineering Around the CUDA Moat
As noted, Nvidia GPU clusters are giving way to a mosaic of heterogeneous silicon, driven by more than just supply chain constraints. We are seeing a strategic pivot toward specialized processors—AMD’s MI325X, Qualcomm’s Cloud AI 100/200, IBM Spyre, startups like Positron, and custom cloud ASICs (XPUs)—each optimized for tasks in an Agentic workload.
However, this diversification introduces two massive engineering hurdles: Nvidia’s Software Moat and the Interconnect Bottleneck.
4.1. Bridging Nvidia’s software Moat
The primary barrier to adopting non-NVIDIA silicon has historically been Nvidia’s software ecosystem (including CUDA). To achieve “Infrastructure Freedom,” the software fabric must move beyond vendor-specific libraries.
While silicon vendors like AMD, Qualcomm, and IBM are creating low-level AI acceleration libraries and compilation tools (e.g. AMD ROCm), and there maturing tools for LLM runtimes like vLLM and SGLang, it still is true that standing up an enterprise-grade inference service requires a lot of DIY engineering to learn different software stacks and then integrate, configure and validate an inference service. If one multiples model types x libraries x hardware types – that’s a large and rapidly growing combinatorial set that will consume increasing developer bandwidth to keep up with.
Instead, a SOTA inference layer must abstract away this complexity, either by managing this diversity and abstracting it away, ie silicon “virtualization”, or by having some form of universal model representation layer with optimized inference libraries for different HW. We believe in leveraging what silicon vendors and the open-source community is already building via virtualization as the best approach. Wallaroo automates the packaging, configuration and bundling of relevant open-source and silicon-specific libraries so that, for example, a model deployed to Blackwell can be redeployed on an MI325X with no developer friction.)
4.2. Bridging the “Network Tax”
In a heterogeneous environment, moving context state between disparate silicon types introduces a “network tax” that can negate efficiency gains. To bypass traditional PCIe bottlenecks, a SOTA architecture can utilize CXL-based fabrics for intra-rack memory pooling and RDMA/RoCE v2 for low-latency, cross-node state transfer. By leveraging these high-bandwidth, low-overhead mechanisms—specifically CXL.mem and CXL.cache—the orchestration system enables a fast handoff of the KV-cache. This transforms CPU DDR5 or remote memory pools into an elastic “Warm Tier,” allowing context to spill over from saturated GPU HBM without the poor latency of traditional swapping or the quadratic cost of cache recomputation.
5. Smart Routing
In a disaggregated fabric, the router evolves from a simple traffic cop into a much more advanced one . Traditional round-robin or least-loaded heuristics fail in agentic workflows because they ignore the KV-cache. Routing intelligence means applying heuristics and learning algorithms to understand the nature of the incoming traffic and the current state of the infrastructure to maximize the performance of the overall cluster by directing traffic to the most appropriate server. It is critical for maximizing hardware efficiency and minimizing latencies in environments with heterogeneous hardware and tri-modal traffic patterns.
The router’s decisions are based on factors such as:
- Phase-Aware Handoff: The router identifies the completion of the compute-bound prefill and immediately orchestrates the migration of the generated KV-tensors to a memory-optimized decode instance.
- Global Cache Locality: Wallaroo’s orchestration tracks the ‘Agent Session’ state globally. Instead of recomputing a 100k-token prompt over and over, the router identifies the node where the KV-cache is currently “warm” and directs the request accordingly.
- Heterogeneous Capacity Awareness: In a cluster mixed with NVIDIA H100s, AMD MI325Xs, and Qualcomm AI200s (for example), the router must understand the specific memory pressure and bandwidth of each silicon type. It may choose to route a massive context ingestion to a node with high DDR5 capacity while reserving high-bandwidth HBM nodes for latency-critical token generation.
- Input Size: Routing requests based on their size (short, medium, or long context). This can also be used for Long-/Short-Context (LSC) optimization to divert long-context requests to specific replicas, which is a potential alternative to PDD that requires fewer resources.
- Output Estimation: An estimate of the output size can also be factored into routing decisions.
The graph above shows the impact of simple cache-aware routing compared to round-robin for a variety of traffic loads. The blue line – basic chat traffic – shows no benefit because the amount of repeated input traffic in this sample is very small. Adding RAG traffic (red line) starts to show more benefit as the load increases, until the cluster is saturated. Finally, adding agentic traffic with the huge input contexts, and multi-turn inference, shows a massive 75% improvement in TTFT (p99) just from cache-aware routing. Each cache hit saves re-computing the prefill for an input context of possibly > 120k.
The drop-off in gains as the load increases is because the cluster becomes saturated, there is little opportunity to choose where to send the request, and the system ends up falling back to handing the request to whatever replica is least loaded, independent of cache state.
The routing complexity only increases as the variety of hardware increases. Huge input requests may need to be routed to hardware specialized for large-context computation (lots of RAM), allowing the faster moving “car” traffic to be processed by low-latency, smaller memory nodes. Further complicating the situation, traffic patterns change over the course of the day and work week, peaking and troughing and changing in terms of relative mix and latency dependency, requiring that the infrastructure dynamically adjust in configuration to maintain SLA’s and cost efficiency.
6. Dynamic Configuration & Reconfiguration
Another emerging challenge is the lifecycle management of KV-cache state. Long-contexts and multi-turn agent workloads generate large contextual states that persist across multiple inference calls. Deciding when to keep this state resident, when to move it across nodes, and when to recompute it becomes a critical efficiency decision—especially in heterogeneous clusters with different memory characteristics. Efficiently managing this state mobility is another capability handled by Wallaroo’s inference orchestration.
In a disaggregated fabric, autoscaling based on simple metrics like overall GPU Utilization is a blunt instrument. Because the compute-to-memory ratios of prefill and decode phases are fundamentally different, a SOTA inference system must scale these tiers independently. If the system detects a burst of 128k-token document ingests, it must aggressively scale the Prefill tier (high-TOPs GPUs/XPUs). Conversely, a surge in long-running agentic reasoning might call for scaling the Decode tier (high-bandwidth memory nodes).
Automated configuration and reconfiguration allows a system to adapt to changing traffic patterns over the course of a day and the week, maintaining system SLAs and minimizing inference costs. A simple implementation of this is queue-based autoscaling which scales the number of replicas up and down based on latency targets to adapt resources to load.
As we move to a world of heterogeneous hardware and disaggregated serving, this automation becomes even more critical because the system must deal with multiple challenges:
- Multi-vendor hardware environments imply multiple software stacks, so deployment must be able to manage multiple versions of the models and runtimes to deploy the correct combinations.
- Specialized hardware requires the system to understand the capabilities, and optimal uses for the available hardware, to decide which makes more sense to scale up or down depending on the load.
- PDD-aware scaling must be able to scale the ratio of prefill and decode nodes independently depending on where the bottlenecks are.
- Automated reconfiguration allows a cluster to scale into, or out of, a disaggregated configuration as traffic loads vary to minimize hardware costs during low-traffic (or low latency-sensitivity) periods such as overnight.
An additional challenge in scaling in a stateful environment is the “Cold Start” problem: when a new node joins the fabric, it lacks the context state (KV-cache) required to resume an ongoing agentic loop. To maintain P99 SLAs, the orchestration must go beyond “scaling up” to “Predictive Hydration.” This can involve Proactive Cache Mirroring: Using the router’s visibility into the request queue, the system identifies “hot” agentic sessions and proactively mirrors their KV-cache to newly provisioned nodes. This ensures that by the time the load-balancer hits the new node, the context is already resident in memory. We will devolve into some of the nuances around this in a later article.
Overcoming the multiple software stacks is perhaps the most urgent challenge as today Nvidia enjoys the significant moat the CUDA software stack provides. The effort of gaining expertise in a second, let alone a third, software stack is beyond the resources of most teams, and may not yield a good ROI. A solution that automates away the differences and provides teams seamless access to a wide range of hardware platforms is a key to bridging this moat.
7. Wallaroo’s Vision: The Software Fabric for Easy, Fast, Scalable Inference on Heterogeneous Silicon.
Enterprises shouldn’t have to build an entire engineering organization just to deploy private, agentic inference services; it isn’t cost effective or a competitive advantage in most industries. At Wallaroo, we’re building the future of enterprise inference.
Our goal is to let Enterprise AI teams go from a few lines of Python code to a fully live, efficient and scalable inference stack in minutes, including fast data management, smart batching, speculative decoding, disaggregated serving, and model routing.
- Multi-vendor at the core: Wallaroo partners with most of the leading silicon providers to ensure our deployments are optimized to run efficiently on a wide range of compute hardware, ranging from CPUs to GPUs and specialized accelerators.
- Multi-cloud & on-prem: Wallaroo is installed software designed to be run where you need it – cloud, on-prem, and at the edge – and always private. The data never leave your environment.
- Automated: packaging, deployment, and life-cycle management are all automated and “baked in”, enabling teams to focus on building differentiated solutions instead of reinventing the infrastructure wheel.
- State of the art: the AI landscape changes continuously and Wallaroo continues to innovate and integrate leading-edge techniques to reduce inference costs and provide quality service to enterprise-scale deployments.
But there is more to this than just the inference stack. At Wallaroo our goal has always been to make it easy. That means, rather than AI teams having to manually deal with building and installing all these components, and configuring and managing them.
At Wallaroo, we’ve extended our already in-production developer toolkit, and AI hub for packaging and deployment to let even a data scientist stand up an entire p-d-d stack from a jupiter notebook.
8. Example Heterogeneous Configurations
| Example | Host Tier | Prefill Tier | Decode Tier |
| On-Prem Enterprise | IBM Power11 (OMI/CXL) | AMD Instinct MI325X | IBM Spyre ASIC |
| Neocloud TCO | Intel Xeon 6 (CXL 2.0) | NVIDIA H200 (HBM3e) | Qualcomm AI 200 |
| Real-Time Reasoning | ARM AmpereOne | NVIDIA Blackwell B200 | Groq LPU (SRAM) |
Example: On-prem Enterprise
This setup focuses on on-prem data sovereignty by leveraging high-capacity enterprise CPUs (IBM Power).
- Host/Memory Tier: IBM Power11. Utilizes O-OMI (Optimized Open Memory Interface) and CXL 3.1.
- Prefill Tier: AMD Instinct MI325X. Optimized for high-FLOPs context ingestion and large-model sharding.
- Decode Tier: IBM Spyre (ASIC). A specialized accelerator designed to handle high-concurrency, low-power autoregressive decoding.
Example: Neocloud TCO
This configuration focuses on low Total Cost of Ownership per token for high-volume agentic workflows.
- Host/Memory Tier: Intel Xeon 6 (Granite Rapids). Provides the CXL 2.0 foundation for memory pooling between the tiers.
- Prefill Tier: NVIDIA H200. Leverages its high-FLOPs density and mature kernel stack to ingest 128k+ tokens at record speeds.
- Decode Tier: Qualcomm Cloud AI 200. Utilizes high throughput-per-watt to handle thousands of concurrent decode requests while consuming a fraction of the power of a standard GPU.
Example: Fast, Real-time Reasoning
This setup is designed for recursive, “real-time” reasoning where the agent must complete 10+ turns in seconds.
- Host/Memory Tier: ARM (AmpereOne). A high-core-count, power-efficient host that handles the orchestration.
- Prefill Tier: NVIDIA Blackwell (B200). Used for the initial “massive ingestion” of codebases or document stores.
- Decode Tier: Groq LPU (Language Processing Unit). Uses its deterministic, SRAM-based architecture to provide near-instant token generation for the decode steps.
9. Conclusion
This evolution from interactive chat to recursive, long-context agents has fundamentally broken the “one-size-fits-all” GPU cluster. The architectural approach of treating a 200-token LLM call and a 128k-token codebase ingestion as a similar workload is no longer sustainable. If we stay tethered to monolithic, vendor-locked stacks, we will be trapped in a world of Head-of-Line blocking, poor and unpredictable tail latencies, and infrastructure “silos” that stifles innovation.
Agentic AI is the great infrastructure equalizer. The transition from chatbots to recursive agents forces AI compute to move beyond the monolithic Nvidia cluster. This shift provides the first real path for silicon challengers to win—not by fighting the CUDA moat head-on, but by serving as ‘superior specialists’ within a unified, software-orchestrated fabric of heterogeneous silicon.
Unified, disaggregated inference across heterogeneous silicon is the path to infrastructure freedom, efficiency and scalability. By separating the compute-heavy prefill from the memory-bound decode, we don’t just solve the “car and bus” problem—we unlock the ability to turn a mosaic of GPUs, XPUs, and CPUs into a single, elastic state engine. without being held hostage by HBM supply or the “CUDA moat.”
The goal isn’t just to build faster clusters; it’s to build a software fabric that makes high-performance, private AI deployment as simple as a few lines of code. By embracing heterogeneity and disaggregation, we move beyond the limits of static hardware to a future where infrastructure adapts to the inference workload, not the other way around. It also means that enterprises, AI clouds, and AI developers can deliver world-class AI products and services without having to solve complex infrastructure and inference orchestration issues.
This is also the blueprint for the next generation of Enterprise and sovereign AI: turning the complexity of the silicon into a huge efficiency gain, and turning infrastructure silos into a unified, scalable advantage not roadblock.
Related Reading
From AI Infrastructure Silos To AI Infrastructure Freedom, Vid Jain, Wallaroo.AI
Orchestrating Hybrid Agentic AI with Wallaroo, Younes Amar, Wallaroo.AI
Wallaroo.AI: Delivering AI-ROI with our Unified AI Orchestration Platform, Pete Agresta, Wallaroo.AI
Splitwise (Microsoft Research, ISCA 2024): “Splitwise: Efficient Generative LLM Inference Using Phase Splitting.”
DistServe (OSDI 2024): “DistServe: Disaggregating Prefill and Decoding for Goodput-optimized LLM Serving.”
Mooncake (Moonshot AI / Tsinghua, 2024): “Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving.”
Bennett, T., & Patel, D. (2025). “Scaling the Memory Wall: The Rise and Roadmap of HBM.” SemiAnalysis.
InferenceMAX (SemiAnalysis, 2025-2026): inferencex.semianalysis.com
NVIDIA Dynamo (2025): “Dynamo: Disaggregated Serving for Enhanced Performance.”
Qualcomm AI200/250 (MWC 2026): “Building AI Inference that Scales: Inside the Qualcomm AI200 Rack and Infrastructure Management Suite.”
AMD Instinct Whitepaper (2025): “At-Scale AI Training and Inference on AMD Instinct™ MI350/MI325X Series GPUs.”














