How Low Can LLM Inference Costs Go on a 1,000-GPU Cluster

    This article explains why dividing GPU price by throughput gives the wrong token cost, and how memory bandwidth, KV Cache growth, and scheduling efficiency actually determine inference economics. It covers a practical cost formula, a public benchmark reference point, four optimization tracks for large clusters, and a deployment checklist for capacity planning.

    1. First, correct a common intuition: token cost is not “GPU price ÷ throughput”

    When teams estimate inference cost for the first time, they instinctively reach for a simple division: GPU unit price divided by output tokens per second. The formula is dimensionally correct, yet it is almost always wrong, because it treats peak compute as sustainable output. Real cost is an outcome variable constrained jointly by memory capacity, bandwidth, sequence length distribution, and scheduling efficiency.

    1.1 Bandwidth sets the physical ceiling for the decode phase

    Autoregressive decoding reads the entire set of model weights for every token it generates. With 3.35TB/s of memory bandwidth per GPU and roughly 140GB of model weights, the theoretical limit is about 40 weight transfers per second, which means on the order of 40 tokens per second per request on a single GPU. This number has nothing to do with compute and everything to do with bandwidth and weight size.

    The implication is direct: in bandwidth-bound scenarios there is almost no room to speed up a single request. The only realistic path is to raise the reuse rate of each weight transfer, that is, how many requests one transfer serves, which means making batches larger.

    1.2 Prefill and decode interfere with each other on the same GPU

    A second layer of loss appears in production. Prompt prefill is a compute-intensive long-sequence matrix operation, while decoding is a memory-access-intensive, token-by-token small-step iteration. When both are scheduled onto the same compute units, long-sequence prefill stretches the interval between decode steps, which shows up on the user side as stuttering output and jittery time-to-first-token. The longer the context, the more pronounced this mutual blocking becomes.

    2. KV Cache: the item that actually consumes the budget

    Take a common set of model structure parameters from the industry: grouped-query attention, 8 KV heads, head dimension 128, 80 layers. The KV Cache per token is then about 320KB (FP16).

    • 32K context, single request: about 10GB of memory;
    • Batch of 32: about 320GB of memory, not yet counting the roughly 140GB of weights;
    • Context growing from 8K to 128K: KV Cache usage scales 16x, and the number of concurrent requests it can hold drops off a cliff.

    This explains a common puzzle: why throughput looks great in load tests but collapses as soon as real traffic arrives. Load tests use short prompts and short outputs; production uses long documents, multi-turn conversations, and long chains of thought. Capacity planning must be based on the distribution of context lengths (P50/P95), not on the average.

    3. Cost formula and estimation method

    Writing the constraints above in computable form:

    1. cost per million tokens = (number of GPUs × price per GPU per hour) / (effective tokens per second × 3600) × 1e6
    2. effective tokens per second = peak tokens/s per GPU × number of GPUs × MFU_factor × scheduling efficiency
    3. ≈ (memory bandwidth / weight bytes) × batch × bandwidth utilization × effective batch ratio

    Three key multipliers:

    1. batch: weight loading is amortized across it, making it the first lever on cost;
    2. effective batch ratio: the fraction of batches interrupted by prefill, preemption, recomputation, or swapping out;
    3. bandwidth utilization: determined by quantization precision (INT8 moves roughly half the bytes of FP16) and by how well memory accesses are coalesced.

    One order-of-magnitude reference from a public benchmark: a test published by a cloud provider in April 2026 shows an 8-GPU H100 SXM5 node running a 70B-class model in FP16 with continuous batching at batch size 256 reaching about 2,800 tokens/s, which works out to roughly $1.90 per million tokens at $19.20 per GPU-hour. Note that this is a point value for a specific workload, not a universal unit price.

    1. def cost_per_mtok(gpus, price_per_gpu_hr, tok_per_s):
    2. return gpus * price_per_gpu_hr / (tok_per_s * 3600) * 1e6
    3. # Example: 8 GPUs, $19.2 per GPU-hour, 2800 tok/s
    4. print(round(cost_per_mtok(8, 19.20, 2800), 2)) # about 1.83

    4. Four optimization tracks on a 1,000-GPU cluster

    1. Disaggregated deployment: split prefill and decode into separate resource pools, each choosing its own parallelism strategy and batch watermark to eliminate mutual blocking; the cost is that KV Cache must be transferred across pools, so network bandwidth and latency need to be evaluated.
    2. Matching parallelism strategies: tensor parallelism reduces per-GPU weight and KV pressure but adds communication overhead; pipeline parallelism improves cluster utilization but introduces bubbles; expert parallelism needs to be paired with a capacity factor and routing balance. The principle is to align communication volume with the topology.
    3. Memory and cache governance: paged KV management reduces fragmentation, prefix caching reuses system prompts and long documents, and quantization (choosing precision separately for weights and KV) buys larger batches, but precision regression must be monitored.
    4. Scheduling and elasticity: queue by context length, set preemption and swap-out thresholds, and use monitoring and alerts to watch queueing time and effective batch ratio; pair this with elastic scaling on the container platform to handle peaks.

    5. Deployment checklist

    • Is capacity planning based on P95 context length rather than the average;
    • Are effective batch ratio and preemption rate measured, rather than only peak throughput;
    • Are prefix caching and separate queues in place for long prompts;
    • Has the impact of quantization on business metrics been evaluated;
    • Are time-to-first-token and inter-token output intervals included in the SLO.

    Conclusion: at 1,000-GPU scale, the controllable room in per-token cost comes mainly from batch reuse rate, context governance, and scheduling efficiency, not from simply adding more GPUs. Treating cost as an engineering metric that must be measured continuously is what makes credible capacity and budget decisions possible.