Skip to content
INTERNET INFRASTRUCTURE & NETWORKS

Architecting Small-Scale AI Infrastructure: Balancing Performance and Budget Without Overbuilding

Artificial Intelligence has rapidly shifted from a novelty to an inescapable fixture of modern data center design. Yet, while the industry’s attention is overwhelmingly dominated by massive clusters designed for sprawling model training and hyperscale inference, a different reality often faces organizations deploying AI at a more modest scale. According to Sabina Anja, Chief Technologist at Broadcom, there is substantial value in examining what happens when an infrastructure requires only a handful of Graphics Processing Unit nodes. This smaller scale frequently emerges as the optimal choice when applications are designed with internal user bases, where each request is managed by a single replica, and where the core operational priorities center strictly on low latency and data privacy rather than raw training throughput.

For many enterprise environments, deploying a localized cluster of just a few servers equipped with multiple GPUs represents the sweet spot. Typical use cases include internal knowledge assistants, specialized code generation tools, or secure document summarization utilities where sensitive corporate data cannot leave the private network. Designing for these smaller models, however, presents unique architectural challenges. The primary network hurdle is rarely how the high-powered GPUs communicate with one another internally; rather, the real test lies in managing how external requests, long-lived streaming responses, and occasional bulk data transfers interact with the existing network infrastructure already deployed on the data center floor.

The model inside the server: Network design for inference on a few GPU nodes | APNIC Blog

Consider a standard, compact setup featuring four servers, each equipped with eight GPUs, running a large language model such as Llama 3.3 with 70 billion parameters via open-source inference servers like vLLM. In this configuration, the model file itself spans roughly 141 gigabytes—a footprint far too large to fit into the memory of a single 48GB or 80GB GPU. Consequently, each server must distribute the model file across the array of GPUs housed within its own physical chassis. Because a single server holds a complete, self-contained copy of the model, it can answer incoming queries entirely on its own without needing assistance from neighboring servers. The intense communication required between the GPUs takes place locally over high-speed interfaces like NVLink or PCIe, meaning zero inter-server GPU traffic needs to traverse the wider network. What actually crosses the server’s Network Interface Card into the broader data center fabric is ordinary application traffic: prompts coming in, token streams going out, container images moving during initial builds or version updates, and standard operational telemetry such as metrics, logs, and Baseboard Management Controller communications.

When a model exceeds the memory capacity of an individual GPU, administrators typically rely on established software techniques to split the workload across multiple processors within the same chassis. The first approach, tensor parallelism, divides every individual layer of the model across multiple GPUs. This configuration requires the processors to exchange partial computational results for every single layer and generated token. Alternatively, pipeline parallelism assigns blocks of complete model layers to sequential GPUs, restricting data transfers primarily to the handoffs between those specific blocks.

Despite the complexity of these internal divisions, the traffic that ultimately leaves the server’s NIC for the wider network remains primarily front-end flow. The application receives a prompt via HTTPS and streams the generated answer back to the client. In the context of a chatbot, these streaming responses are remarkably lightweight. At roughly 300 bytes per message and an output rate of 50 messages per second, a single active stream requires only 120 kilobits per second of bandwidth, meaning a thousand concurrent streams consume around 120 megabits per second. Under these conditions, raw network bandwidth is rarely the primary bottleneck; instead, session count and connection state management present the true engineering hurdle. Every open stream occupies precious GPU memory for the duration of the conversation—typically consuming between one and gigabytes depending on the length of the dialogue. Because a server generally retains a few hundred gigabytes of spare memory after loading the model, it can comfortably support tens to a few hundred simultaneous streams. Consequently, infrastructure teams must focus heavily on sizing their reverse proxies, firewall state tables, and connection timeouts to handle these specific concurrent loads efficiently.

The model inside the server: Network design for inference on a few GPU nodes | APNIC Blog

A persistent dilemma for IT leaders operating small-scale AI environments is whether to invest heavily in specialized networking hardware immediately or wait for future expansion. If an organization intends to operate only a few GPU nodes for the foreseeable future, large AI cluster reference designs simply do not make financial sense. The volume of traffic generated cannot justify the substantial capital expenditure required for dedicated AI fabrics. Nevertheless, because there is always a reasonable expectation that these deployments may eventually scale, architects face the challenge of designing for current requirements while leaving a sensible pathway for future growth without blowing through corporate budgets.

In large-scale training clusters, organizations typically deploy a second, dedicated backend network equipped with specialized Network Interface Cards running Remote Direct Memory Access. This setup allows adapters to read and write directly to GPU memory across servers. For pure inference workloads, however, implementing this prematurely carries significant financial and operational risks. Building an advanced backend fabric too early means paying for expensive switches and optical transceivers that carry virtually no traffic. It also introduces the substantial operational complexity of running Remote Direct Memory Access over Converged Ethernet, which requires meticulous management of traffic queues, priority flow control, and explicit congestion notification.

Without a dedicated backend fabric, the network must rely on existing infrastructure, but administrators must carefully evaluate their current link speeds. While server network ports are rarely the primary culprit, slower uplinks can create severe bottlenecks. At a standard 10 Gigabit Ethernet line rate, transferring a 141-gigabyte model takes roughly two minutes, whereas a 1-gigabit link stretches that process to nearly twenty minutes—a duration that usually signals an urgent need to upgrade foundational data center fabric. More critically, top-of-rack uplinks often present the most severe operational challenges because large model transfers tend to saturate the exact same uplink used by other workloads. On a top-of-rack switch with limited uplink capacity, a single model transfer can fully occupy the link for the duration of the copy, introducing noticeable delays to all other traffic sharing that path. Before concluding that no new hardware purchases are necessary, engineering teams must evaluate their existing uplink capacities, switch buffer depths, and overall traffic patterns.

The model inside the server: Network design for inference on a few GPU nodes | APNIC Blog

Rather than committing to expensive, dedicated AI fabric investments prematurely, a pragmatic architecture relies on connecting each GPU server directly to the existing spine-and-leaf network already deployed within the enterprise data center. In this model, the GPU servers attach to a designated leaf pair, while reverse proxies and model storage repositories reside on separate leaf resources. Traffic exchanged between the GPU servers and the broader network flows efficiently through the existing spine switches.

To manage this environment effectively without overspending, administrators must reintroduce Quality of Service policies, a tool that has historically remained vital for specific enterprise use cases. In a mixed infrastructure where inference API traffic and heavy model transfers share the same leaf uplinks and spine ports, bulk flows can quickly crowd out interactive traffic. A model transfer acts as a massive data flow that can consume all available bandwidth on its path. Meanwhile, API responses consist of tiny packets delivered a few hundred bytes at a time; any queuing delay introduced by a competing bulk transfer immediately manifests on the user’s screen as stalled, halting text. Without an enforced Quality of Service policy, both traffic types sit in the default queue, forcing critical interactive responses to wait behind massive file copies.

The practical solution involves establishing clear traffic classes that protect interactive API flows while systematically deprioritizing background model transfers using standard Differentiated Services on a conventional lossy fabric. This approach intentionally avoids the complex, lossless configuration requirements associated with Remote Direct Memory Access, keeping operational overhead manageable.

The model inside the server: Network design for inference on a few GPU nodes | APNIC Blog

Model loading operations represent the sole routine scenario where these servers transmit large volumes of data across the network. By maintaining local copies of the model files on each server, administrators ensure that massive payloads traverse the network exclusively during initial installation phases and subsequent version updates. Operating at standard line rates, these transfers complete swiftly over standard enterprise connections, confirming that existing port speeds remain more than adequate for smaller deployments.

This balanced architectural approach remains viable as long as individual models fit comfortably within the memory confines of a single server, preventing the need for GPUs in separate physical chassis to coordinate directly across the network. However, two distinct milestones will eventually necessitate a fundamental redesign. The first occurs when advanced models outgrow the memory capacity of a single server, forcing inference engines to distribute processing across multiple networked chassis using specialized, high-performance adapters. The second milestone arrives when organizations transition from pure inference to active fine-tuning workloads that span multiple servers simultaneously.

While enterprise deployments will undoubtedly scale up and out as organizational demands evolve, many data centers will find that this streamlined, cost-effective approach meets their operational requirements for years to come.