Three Main Levers for Cutting Costs in Large-Scale LLM Inference
The cost of serving a token has little to do with model quality and almost everything to do with inference engineering. This article breaks down a publicly disclosed benchmark of roughly 155 trillion tokens served per day and about $38 in revenue per GPU per hour, then explains why service throughput is not the same as compute throughput. It maps three independent cost-reduction paths: separating prefill from decode (E/P/D disaggregation), unified orchestration across heterogeneous accelerators, and reusing KVCache over 72 hours or more. It also covers scheduling principles that optimize for peak load rather than average load, plus a benchmarking checklist for reproducing these results on your own cluster.
A model’s capability ceiling is set by the model itself, but the final price of a token is determined almost entirely by the engineering quality of the inference system. A recent set of figures published by a cloud provider is representative: a single cluster serves roughly 155 trillion tokens per day, which works out to about $38 in revenue per GPU per hour. The first number describes scale; the second describes unit economics. Only together do they show what the system is actually solving for. The question is not “can the model answer correctly,” but “can the same fleet of accelerators carry more requests at a lower cost.”
A note on scope before the numbers: the 155 trillion tokens per day, the $38 per GPU per hour, and the cluster size and gross margin figures are publicly disclosed or third-party estimates. Everything else is a reconstruction of general engineering principles and common industry practice, and does not refer to any specific product.
First, Divide the Two Numbers: Service Throughput Is Not Compute Throughput
Converting 155 trillion tokens per day to a per-second rate:
155 × 10^12 ÷ 86400 ≈ 1.79 × 10^9 tokens/s
Amortized across an estimated 7,300 GPUs:
1.79 × 10^9 ÷ 7300 ≈ 245700 tokens/s/GPU245700 × 3600 ≈ 8.85 × 10^8 tokens/GPU-hour
The key insight here is that 885 million is service throughput, not compute throughput. Compute throughput counts only useful work such as matrix multiplications. Service throughput also includes cache hits, request queuing, batch assembly, and cross-node transfer overhead. The ratio between the two is the real measure of systems engineering. As a rule of thumb, online serving efficiency reaching about 80% of offline load-test results is already excellent; the remaining 20% is typically consumed by scheduling jitter, long-tail requests, and cache misses.
Three Engineering Goals, Three Cost-Reduction Paths
Public materials summarize the system goals as three points: support multiple chip vendors and keep them as fully utilized as possible; organize hardware by stage; and retain KVCache for more than 72 hours. Abstracted, these are exactly three independent cost-reduction paths.
Path 1: Prefill/Decode Disaggregation (E/P/D Separation)
Prefill is compute-intensive, and the goal is simply to saturate the compute units. Decode is memory-intensive, constrained by memory bandwidth and batch size. Putting both on the same GPU inevitably causes resource mismatch: when prefill fills the queue, decode latency jitters; when decode batches are sparse, compute sits largely idle.
A common deployment looks like this: a single node of 8 GPUs handles prefill, while a super-node of 64 to 128 GPUs handles decode, with the cache layer deployed separately. For parallelism, prefill uses small-scale expert parallelism (2 to 8) and decode uses wide expert parallelism (64 to 128), while tensor parallelism and context parallelism are avoided as much as possible to reduce the number of cross-GPU communication rounds.
The costs are equally clear: KVCache must be transferred between stages, so network and serialization overhead rises; system complexity, fault domains, and operational costs all increase; and super-nodes have higher power and interconnect requirements.
Path 2: Unified Orchestration of Heterogeneous Chips
Running one inference stack across multiple accelerator types is about more than avoiding lock-in to a single supplier. It also enables peak-and-valley scheduling: putting cheaper compute on throughput-oriented work like prefill, and putting higher-bandwidth compute on decode.
The engineering difficulty concentrates in differences in operator implementations, communication library semantics, and numerical precision. A workable approach is to abstract a unified operator and memory interface, push the differences down into a backend plugin layer, and let the scheduler above perceive only three capacity dimensions: compute, memory, and bandwidth.
# Pseudocode: placement decisions by stage and hardware characteristicsdef place(stage, node_pool):if stage == "prefill":return pick_by(node_pool, key="compute_per_cost", size=8)return pick_by(node_pool, key="bandwidth_per_cost", size=rank_in(64, 128))
Path 3: Long-Cycle Cache Reuse
Extending the KVCache reuse window beyond 72 hours is fundamentally trading storage for compute: repeated prefixes are no longer prefilled again. A typical tiering scheme keeps hot data in GPU memory, keeps the window required by sliding window attention (SWA) in local host memory, and keeps block-wise KV in a standalone cache file system.
The reference capacity figures are roughly 528 bytes per token for block-wise KV and about 1.4 MB per sequence for SWA. From these, cache capacity requirements can be estimated:
cache capacity ≈ total daily active prefix tokens × 528 B × (1 - hit-rate decay factor)
The costs are storage expense and the overhead of hit lookups. A miss-reconstruction strategy is also mandatory: the sliding window portion is not cached, and on a miss only the last 128 tokens are replayed as a bounded replay; if exact reconstruction is required, roughly 2,560 tokens must be replayed.
Scheduling: Optimize for Peak Load Instead of Average Load
Three scheduling principles can be reused directly. Prefill derives chunk size from a time budget: first fix the time slice a single request may occupy, then work backward to the chunk size, so long requests cannot monopolize capacity. Decode balances across two dimensions at once, memory capacity and compute load. Expert-parallel load balancing targets peaks rather than averages, because tail latency is determined by the hottest GPU.
chunk = clamp(target_budget / per_token_cost, min_chunk, max_chunk)
A Benchmark Checklist for Reproduction
- The ratio of service throughput to compute throughput; a healthy range is roughly 0.75 to 0.85.
- At a cache hit rate of about 85%, online efficiency is about 80% of offline load-test results.
- The GPU ratio between prefill and decode should be calculated from the actual input/output length distribution, not a fixed ratio.
- Measure unit economics uniformly as revenue per GPU per hour minus cost per GPU per hour, rather than looking at throughput alone.
The conclusion is plain: cutting costs in large-scale inference is not a single-point optimization but the product of four things: disaggregated architecture, heterogeneous orchestration, long-cycle caching, and peak-oriented scheduling. Only after breaking these four quantities into measurable metrics can unit economics be discussed. To adopt this on your own cluster, start by establishing staged load-test baselines on a general container platform with monitoring and alerting in place, then gradually introduce tiered caching and wide expert parallelism.
