LLM Inference Speed: Why Token Throughput Is the New Competitive Battleground

    As LLM competition moves into its second half, raw benchmark scores are no longer the only metric that matters. This article breaks down why leading models now reach hundreds to thousands of output tokens per second, what determines single-request latency in autoregressive decoding, and how deployment choices can change the same model's speed by more than ten times. It also covers practical tuning levers, scenario-based speed tiers, and a standardized benchmarking methodology for comparable results.

    1. The Shift: Speed Pushed to Thousands of Tokens per Second

    In the past, model strength was mostly judged by leaderboard scores. Today, more and more teams are watching a different metric: single-stream output token rate. Recent public statistics show that frontier solutions have generally entered the range of hundreds to thousands of tokens per second. The fastest option reaches roughly 2,000 tokens per second, followed by tiers at about 1,500, about 1,000, and about 850 tokens per second, forming a clear speed frontier.

    Notably, the fastest option has around 309 billion total parameters, a typical “large parameter count plus high speed” combination. This breaks a common intuition: more parameters do not necessarily mean slower output. What really determines speed is not the parameter count itself, but how many weights must be moved per token, how much KV cache must be recomputed, and whether that work can be amortized through parallelism.

    2. Mechanics: What Makes Up the Latency of a Single Token

    Autoregressive decoding is essentially a serial loop: token n must wait until token n-1 is written. A single iteration is roughly composed of four parts:

    1. Weight reading: at every step, activated weights must be moved from memory to compute units, constrained by memory bandwidth;
    2. KV cache read/write: the longer the sequence, the larger the cache, and memory access pressure grows linearly;
    3. Compute and parallelism: larger batches yield higher compute utilization and lower per-request amortized cost;
    4. Framework and scheduling overhead: operator fusion, graph capture, and scheduling granularity all consume measurable time.

    The following minimal pseudocode shows where the optimization points lie:

    1. # Pseudocode: key overhead in the decoding loop
    2. for step in range(max_new_tokens):
    3. logits = model.forward(last_token, kv_cache) # weight + KV memory access dominates
    4. next_token = sample(logits)
    5. kv_cache.append(next_token) # cache grows, memory access gets heavier

    The conclusion is straightforward. To increase speed, you can either reduce the data moved per step (sparsification, quantization, distillation), improve amortization through parallelism (continuous batching, paged cache, speculative decoding), or reduce the number of serial steps (speculative decoding, multi-token prediction).

    3. Key Variable: The Same Model Can Differ by More Than Ten Times

    The most valuable observation is that switching deployment methods for the same model can change speed by more than ten times: a general-purpose official service runs at about 50 tokens per second, while a specially optimized high-performance deployment can approach 850 tokens per second.

    This shows that “model speed” is not an inherent property of the model, but a system property determined jointly by the model, the inference runtime, hardware topology, and batching strategy. Actionable engineering levers include:

    • Parallelism strategy: tensor parallelism reduces per-device weight reading, pipeline parallelism improves utilization, but communication introduces new bottlenecks;
    • Cache management: paged KV cache reduces fragmentation, and prefix reuse computes a long shared prefix only once;
    • Batching: continuous batching mixes short and long requests to avoid head-of-line blocking;
    • Decoding acceleration: speculative decoding uses a small model to “guess” and a large model to “verify”, compressing multiple serial steps into one;
    • Communication topology: multiple GPUs in one machine use high-speed interconnects, while cross-machine scaling requires evaluating bandwidth costs.

    4. Practical Guidance: Choose a Speed Tier by Scenario

    • Real-time interaction and AI agents: first-token latency and tail latency matter more than the average, so stress-test P95/P99;
    • Code completion: requires extremely short first-packet latency, favoring small activated parameters plus high-throughput deployment;
    • Batch offline processing: prioritize throughput and unit cost, and the speed tier can be relaxed;
    • Long-document processing: focus on cache and memory access optimization under long context.

    If you build a stress-testing and observability pipeline using general capabilities such as the container platform, object storage, log service, and monitoring and alerting on Baidu AI Cloud, you can turn token rate, first-packet latency, and error rate into a continuous dashboard and drive capacity planning with data.

    5. A Unified Benchmarking Standard

    Comparing speed requires fixed variables; otherwise the numbers are meaningless. Recommended records include: input/output length, concurrency, whether cache reuse is enabled, quantization precision, hardware and parallel configuration, and reporting first-token latency, single-stream rate, overall throughput, and P99 at the same time. Only with a consistent standard does the speed frontier become comparable.

    The essence of the speed competition is turning “model capability” into a stable, deliverable user experience. Whoever delivers capability to users with lower latency and more predictable tail latency holds the initiative in the second half.