LLM Inference Speed: Why Tokens Per Second Became the New Competitive Battleground
As foundation models converge in capability and open-weight releases multiply, raw parameter count is no longer the deciding factor. This article breaks down why inference speed has moved to the center of product competition, how to measure it with TTFT, TPS, and concurrency metrics, the four technical levers behind the "speed frontier" (model architecture, inference engines, system and hardware co-design, and serving schedules), and practical guidance for developers on benchmarking, scenario-based targets, and tail latency.
1. From “Bigger” to “Faster”: The Shift in Competition
For the past few years, the dominant narrative in large models was scale: more parameters, longer context windows, more elaborate training recipes. But as base capabilities have gradually converged and open-weight models have flooded the market, simply stacking parameters delivers diminishing marginal returns. The differences users actually notice show up more and more in “waiting time.” As a result, a metric that used to be an engineering detail—tokens generated per second—has been pushed to the front of product competition.
A typical way the industry now frames this is to plot a scatter chart with total parameter count on the horizontal axis and single-stream output speed on the vertical axis, covering mid-to-large open-weight models released in the same period across different deployment options. Connecting the fastest point in each parameter range produces a line called the “speed frontier.” This line does not describe the absolute capability of any one model; it describes the latency ceiling that current engineering practice can deliver at a given size. Solutions in the upper-left of the frontier often come from newer teams with aggressive inference-system optimization, while the middle of the frontier is contributed mainly by managed inference services from cloud platforms or turnkey systems from hardware vendors. That distribution itself shows that speed is no longer just a model property—it is the result of coordination among model, inference system, and hardware.
2. Breaking “Speed” Into Measurable Engineering Metrics
Discussing speed requires a clear definition first, or you end up with contradictory conclusions. The industry generally tracks three metrics:
- Time to first token (TTFT): the time from request dispatch to receiving the first token, determined mainly by prefill compute volume and queue wait. It directly drives the “I clicked and nothing happened” experience.
- Single-stream output rate (TPS): tokens produced per second during decoding, which determines whether long streaming output stays smooth.
- Concurrent throughput: total tokens served per second under a given latency constraint, which determines unit cost and how many users the system can carry.
These three are in natural tension. Larger batch sizes significantly raise throughput and amortize cost, but they also push up per-request TTFT and decoding jitter. Conversely, shrinking batches to cut latency leaves expensive compute idle. “High-speed inference” is essentially about finding the balance point that matches the business scenario: code completion is extremely sensitive to TTFT, while long-form generation and multi-step agent reasoning care more about stable output rate.
Any speed number is only meaningful with its conditions attached: input and output length, batch size, quantization precision, tensor parallelism degree, hardware model. A bare “X tokens per second” without those premises is just marketing talk.
3. Four Technical Levers Behind the Speed Frontier
1. Efficiency design at the model architecture level. Mixture-of-experts architectures use sparse activation to decouple total parameter count from per-token compute, which is the structural prerequisite for “large parameter count, small activation” configurations to run fast. Attention improvements (such as multi-query/grouped-query attention) reduce the read bandwidth of the key-value cache, while linear attention and state space models bring complexity down from quadratic to linear for long contexts. Distillation and pruning at the model level can also buy meaningful speedups within acceptable quality loss.
2. Execution optimization at the inference engine level. Continuous batching dynamically assembles requests at the token level, avoiding the idle compute caused by static batching. Paged key-value cache management substantially reduces memory fragmentation. Operator fusion, custom kernels, and low-precision compute push memory-access bottlenecks down, since decoding is often bandwidth-bound rather than compute-bound. Speculative decoding, where a small draft model guesses several tokens in a row and the target model verifies them in one pass, is one of the most effective recent techniques for raising single-stream rate.
Illustrative pseudocode captures the idea:
# Core loop of speculative decoding (illustrative)draft_tokens = draft_model.propose(prefix, k=4) # small model guesses aheadverified = target_model.verify(prefix, draft_tokens) # target model verifies in parallelaccepted = accept_prefix(verified) # take the longest accepted prefixoutput.extend(accepted)prefix = update_kv_cache(prefix, accepted) # commit KV only for accepted tokens
3. System and hardware co-design. Disaggregated prefill and decode deployment lets each phase pick its own parallelism and batching strategy. High-speed interconnects and rack-scale solutions amortize the communication cost of tensor parallelism. Tiered offloading and reuse of the key-value cache let long-prefix requests (such as a fixed system prompt) pass through prefill at nearly zero cost.
4. Scheduling strategy at the serving layer. Prefix cache hits, request priority queues, routing by input length to different models, and timeout fallback to a smaller model—these engineering measures often improve the user experience more than swapping the model alone.
4. Practical Guidance for Developers
- Build your own benchmark: fix the input/output length distribution, measure TTFT, TPS, and maximum concurrency at target latency separately, and build comparable historical curves instead of citing someone else’s leaderboard.
- Pick targets by scenario: prioritize TTFT for interactive completion; prioritize stable TPS and controlled tail latency for long-form and agent workflows.
- Reduce load with architectural choices: place stable system prompts and tool definitions up front to hit the prefix cache; route tasks like long-document summarization and classification to smaller models.
- Watch tail latency: P99, not the average, drives user complaints, so pair it with monitoring, alerting, and log services to locate queueing, memory, and bandwidth bottlenecks.
- Optimize cost and speed together: run elastic autoscaling on a container platform and tune batch strategy from metric feedback, rather than reserving idle compute for peak load year-round.
5. Conclusion
Speed has become the new competitive edge because it moves model capability from “usable” to “good to use,” and it directly determines unit cost and what product forms are possible. For technical teams, the pragmatic path is to define metric terms clearly, understand the four levers—architecture, engine, hardware, and scheduling—and build a reproducible evaluation system. As base model capability levels out, depth in engineering efficiency and scenario fit is the moat that is hard to copy quickly.
