Production LLM inference capacity planning is the quantitative engineering methodology of sizing, allocating, and stress-testing compute, memory bandwidth, and networking resources to guarantee defined inference latency percentiles and token throughput under variable production query traffic. Unlike conventional stateless web services where horizontal scaling is bounded primarily by CPU utilization and connection pools, large language model (LLM) serving introduces multi-dimensional resource constraints governed by autoregressive generation dynamics, high-bandwidth memory (HBM) capacity, KV cache growth, and inter-GPU communication overhead. When infrastructure architects fail to model these interdependencies mathematically, enterprise clusters experience sudden queue saturation, severe Time-to-First-Token (TTFT) degradation, and catastrophic out-of-memory (OOM) evictions during traffic surges.
In production LLM serving, computational workloads split into two distinct phases: the prefill (prompt processing) phase and the decode (token generation) phase. The prefill phase is compute-bound, saturating tensor cores with matrix multiplications across all prompt tokens simultaneously. Conversely, the autoregressive decode phase is strictly memory-bandwidth bound. For each generated token, the server must stream hundreds of billions of model parameters and active KV cache tensors from GPU HBM into local registers. On an NVIDIA H100 SXM5 with 3.35 TB/s of memory bandwidth, serving an unquantized 70-billion parameter model requires approximately 140 GB of parameter read traffic per token pass. If batch sizes are not dimensioned against memory bus saturation limits, arithmetic intensity drops below 1 FLOP per byte transferred, stranding tensor core compute capacity.
KV Cache Allocation Mathematical Sizing
The Key-Value (KV) cache preserves historical attention states across conversation rounds, eliminating redundant self-attention recomputation. However, dynamic KV cache growth represents the primary source of serving memory instability. The memory footprint in bytes per token across an active sequence is calculated using the following deterministic formula:
// KV Cache Memory Footprint Formula per Token
// Memory_bytes = 2 * n_layers * n_kv_heads * d_head * precision_bytes
// Example: 70B parameter model with Grouped-Query Attention (GQA)
// n_layers = 80, n_kv_heads = 8, d_head = 128, precision = FP16 (2 bytes)
// Memory_bytes = 2 * 80 * 8 * 128 * 2 = 327,680 bytes = 320 KB per token
// For a 4,096-token context window: 320 KB * 4,096 = 1.31 GB per active concurrent stream
When provisioning a multi-tenant cluster serving 500 concurrent active users with 4K context windows, the cluster requires 655 GB of dedicated HBM purely for KV cache storage, completely separate from the base 140 GB model weight footprint. Deploying memory-efficient continuous batching runtimes like vLLM with PagedAttention or TensorRT-LLM is essential to eliminate internal fragmentation and dynamically allocate virtual memory pages across irregular sequence lengths.
Service Level Objectives and Concurrency Modeling
Deconstructing TTFT and TPOT Thresholds
Enterprise capacity planning requires defining separate Service Level Objectives (SLOs) for Time to First Token (TTFT) and Time Per Output Token (TPOT). TTFT dictates perceived responsiveness, directly reflecting prompt length and queueing delay before processing begins. TPOT dictates generation fluency, where humans perceive conversational fluidity at 20 to 30 tokens per second (33–50 ms per token). While increasing continuous batch size maximizes overall cluster token throughput (tokens/second/dollar), it directly inflates decode iteration latency due to concurrent memory bus contention, degrading P99 TPOT. Capacity planners must construct operational pareto curves mapping throughput saturation against tail latency violation thresholds.
Model Architecture
Quantization Precision
Concurrency (Batch Size)
Mean TTFT (ms)
P99 TPOT (ms/token)
Throughput (tok/sec/GPU)
Llama-3-70B (8x H100)
FP16 (Uncompressed)
16
185
24.2
660
Llama-3-70B (8x H100)
FP16 (Uncompressed)
64
420
38.5
1,660
Llama-3-70B (8x H100)
FP8 (Native Hopper)
64
210
19.8
3,230
Mixtral-8x22B (8x H100)
FP8 (MoE Routed)
32
260
28.4
1,120
Queueing Theory in Variable Production Loads
Production inference requests arrive non-deterministically, characterized by Poisson arrival distributions during peak business hours. Using standard M/M/c or M/G/c queueing models reveals that when cluster utilization exceeds 75% under static capacity allocations, queue wait times scale exponentially. An inference cluster operating at 85% steady-state utilization can experience an 8x spike in P99 TTFT during sudden 20% traffic bursts. Robust capacity sizing models incorporate headroom safety margins of 25% to 35% above anticipated peak concurrency, preventing cascading request timeouts across upstream microservices.
Figure 2: Performance Pareto curve demonstrating the operational trade-off between aggregate cluster token throughput and P99 token generation latency across varied batch sizes.
Hardware Topology and Parallelism Selection
Tensor Parallelism vs Pipeline Parallelism Boundaries
Distributing large model parameters across multiple GPUs requires choosing between Tensor Parallelism (TP) and Pipeline Parallelism (PP). For real-time interactive inference, Tensor Parallelism is mandatory because it divides individual layer matrix calculations across GPUs within a single forward pass, maintaining low per-token latency. However, TP introduces high-frequency AllReduce collective communication operations between every transformer block. An 8-way TP group requires ultra-high bandwidth, low-latency interconnects (such as NVLink at 900 GB/s bidirectional per GPU on SXM5). Attempting to span Tensor Parallelism across PCIe slots or multi-node Ethernet connections introduces extreme interconnect bottlenecks, collapsing TPOT performance.
Multi-Node Inference Sizing for Frontier Models
When serving models exceeding 100 billion parameters or deep Mixture-of-Experts (MoE) architectures that exceed the 640 GB total HBM of a single 8-GPU node, hybrid parallelism becomes necessary. Sizing these clusters requires combining intra-node Tensor Parallelism with inter-node Pipeline or Expert Parallelism. Inter-node communications must traverse dedicated RDMA fabrics (InfiniBand or RoCEv2) providing at least 400 Gbps to 800 Gbps per node. Interconnect latency variance directly propagates into decode jitter, demanding non-blocking fabric architectures that eliminate packet queuing delays.
OneSource Bare-Metal AI Infrastructure in Richardson
Predictable Physical Performance and Thermal Headroom
Public multi-tenant cloud instances frequently suffer from noisy-neighbor interference on hypervisor memory controllers and variable network virtualization overhead, inducing unpredictable latency spikes that violate enterprise P99 SLOs. OneSource provides dedicated single-tenant bare-metal GPU clusters hosted in its Tier III+ data center facility in Richardson, Texas. By eliminating hypervisors and virtualization layers, engineering teams achieve deterministic memory bus bandwidth and full, unthrottled access to native NVIDIA NVLink and SXM5 fabrics.
Figure 3: Dedicated bare-metal infrastructure architecture at OneSource Richardson, highlighting direct-to-chip liquid cooling loops and non-blocking cluster fabric interconnects.
Furthermore, OneSource bare-metal nodes are engineered with high-density direct-to-chip liquid cooling systems maintaining a facility design PUE of 1.18. Even under sustained 100% tensor core load during high-concurrency continuous batching, GPU junction temperatures remain well below thermal throttling trip points (maintaining silicon under 68°C). This ensures clock frequencies remain pinned at peak boost states (1,980 MHz on H100), delivering deterministic generation speed and zero thermal clock throttling across extended operating cycles.
Dedicated Network Fabric and Private Cloud Interconnects
To support high-availability multi-node inference clusters, OneSource deploys NVIDIA Quantum-2 InfiniBand networking delivering 3.2 Tbps of non-blocking, full-bisection bandwidth per node with an 8-rail topology. Enterprise production clusters benefit from sub-microsecond collective latency, ensuring seamless inter-node token synchronization. Directly interconnected with major Dallas carrier hotels via redundant low-latency dark fiber routes, OneSource bare-metal clusters provide sub-millisecond network transit to enterprise private clouds, creating the optimal infrastructure foundation for scalable, enterprise-grade LLM inference.
Frequently Asked Questions
How does continuous batching affect memory capacity planning?
Continuous batching processes iterations at the token level rather than waiting for complete sequence completion. This dynamically reallocates KV cache slots across requests, increasing GPU memory utilization from 40% to over 85% and requiring dynamic memory paging mechanisms like PagedAttention to prevent out-of-memory errors.
Why is Tensor Parallelism strictly bound to NVLink interconnects?
Tensor Parallelism requires synchronizing layer activations via AllReduce operations across GPUs after every attention and feed-forward layer. The immense volume and ultra-low latency requirements of these operations necessitate NVLink bandwidth (900 GB/s on SXM5); executing TP across PCIe or multi-node Ethernet collapses token generation speed.
What is the impact of FP8 quantization on inference cluster sizing?
Adopting native FP8 quantization reduces model parameter and KV cache memory footprint by 50% compared to FP16, effectively doubling the concurrent user capacity per GPU while doubling tensor core throughput on NVIDIA Hopper architectures without noticeable accuracy degradation on enterprise workloads.