Inference Speed in LLM Leaderboards: Adding Latency to Win-Rate Models

    This article explains why traditional anonymous pairwise-comparison leaderboards systematically underrate fast models, and shows how to incorporate inference-speed metrics into an Elo-style win-rate model. It covers latency metrics such as TTFT and throughput, a logistic-regression formulation with interaction terms, how to interpret coefficient magnitudes, predicting scores for new models with confidence intervals, and engineering practices for balancing speed against quality.

    1. The Problem: Why Leaderboards Can Judge “Blindly” on Quality Alone

    In public large-language-model arena evaluations, the most common approach is to ask users to choose between two anonymized responses, then convert those pairwise outcomes into scores using an Elo-style rating system. This worked reasonably well early on, but as the number of candidate models grew and inference profiles diverged, a hidden assumption began to break down: the score reflects only “answer quality,” not the actual interaction experience.

    In reality, users often make their choice within seconds, and speed itself is part of the experience. A model whose answers are slightly better but take several times longer to arrive often does not win head-to-head blind tests. Therefore, ranking models on “identity” alone produces conclusions that systematically deviate from real-world usability.

    Data from the original analysis illustrates this tension: in one public evaluation, two same-generation models achieved roughly 127 tokens per second and 46 tokens per second respectively—a nearly threefold difference. The slower one had once topped the leaderboard after early-vote noise was removed; its only significant weakness was being slow. “Capable but slow” models like this are exactly the ones traditional rating systems are most likely to misjudge.

    2. Promoting Speed to a First-Class Feature

    The first step in correcting this bias is defining what “speed” actually means. Engineering-wise, at least three metrics should be distinguished:

    • Time to first token (TTFT): determines when the user sees the first character, and is most sensitive for interactive products.
    • Output throughput (tokens/s): determines the generation pace of long responses and how the wait feels while reading.
    • End-to-end latency and stability under concurrency: fast single-request performance does not mean fast performance under high concurrency; queuing and batching strategies must be considered.

    The second step is acknowledging that speed is confounded with other factors. A key insight from the original analysis is that not only do model identity, inference speed, and whether the user voted early each have their own effects, but there is also an interaction effect between speed and early voting: users who vote early are more easily influenced by content that has “already appeared,” amplifying the marginal effect of speed. Adding this interaction term significantly improves model fit, showing it is not an optional refinement but a necessary structural choice.

    3. Mathematical Form of the Win-Rate Model and a Minimal Implementation

    Standard Elo’s expected win probability is:

    1. E(A beats B) = 1 / (1 + 10 ^ ((R_B - R_A) / 400))

    Rewriting this as logistic regression naturally accommodates additional covariates. Let the feature vector contain an intercept, one-hot encoded model identities, log throughput, an early-vote indicator, and the interaction term:

    1. import math
    2. def sigmoid(z):
    3. if z >= 0:
    4. return 1.0 / (1.0 + math.exp(-z))
    5. e = math.exp(z)
    6. return e / (1.0 + e)
    7. # x: [1, id_onehot..., log_speed, early_vote, log_speed * early_vote]
    8. def win_prob(theta, x):
    9. return sigmoid(sum(t * xi for t, xi in zip(theta, x)))
    10. def fit(theta, samples, lr=0.05, epochs=500):
    11. for _ in range(epochs):
    12. grad = [0.0] * len(theta)
    13. for x, y in samples: # y: 1 win / 0.5 tie / 0 loss
    14. err = win_prob(theta, x) - y
    15. for i in range(len(x)):
    16. grad[i] += err * x[i]
    17. n = len(samples)
    18. theta = [t - lr * g / n for t, g in zip(theta, grad)]
    19. return theta
    20. def to_elo(theta, base=1000.0, scale=400.0 / math.log(10)):
    21. # Map logistic regression coefficients back to the Elo scale
    22. return [base + scale * t for t in theta]

    Three implementation details deserve emphasis: throughput should be log-transformed rather than used raw, because perceived benefit diminishes at the margin; ties count as 0.5 in the loss, consistent with the convention that a tie counts as half a win; and the interaction term must be kept alongside the main effects, otherwise the main-effect coefficients absorb part of the effect and lose interpretability.

    4. Interpreting Results: Speed Weights Are on the Same Order as Identity Weights

    After fitting, the most informative output is often not any single model’s score but the relative magnitude of coefficients. The original analysis found that speed’s contribution to ranking is nearly the same order of magnitude as model identity. In other words, among candidates of similar capability, raising throughput from a few dozen tokens per second to a few hundred can yield ranking gains comparable to a generational capability upgrade.

    However, two misinterpretations must be avoided. First, causal inference: speed differences in observational data may simultaneously reflect unobserved variables such as deployment scale, batching strategy, and output-length distribution; the coefficients should be read as “strength of association under this evaluation’s distribution.” Second, extrapolation: the interaction term behaves highly unstably outside its training range, so there is no basis for applying the conclusions to extremely low-speed or extremely high-speed scenarios.

    5. Predicting a Model That Has Not Yet Competed

    When a new model launches, it has no battle records. A two-step approach works:

    1. Set a baseline capability assumption. If public benchmark scores show the new model is close to a reference model, first assume their base capabilities are equal and attribute all differences to the speed change.
    2. Plug the speed covariates into the model. In the illustrative case, the point estimate was about 1066 points, while a reference model in a later snapshot was about 1078 points—a gap of only 12 points.
    3. Report uncertainty. The 90% confidence interval for the difference was roughly −94 to +68, crossing zero, meaning the two are statistically indistinguishable; the expected win rate was about 48.3% (with ties counted as half wins)—essentially a coin flip.

    The methodological value here exceeds the specific numbers: when a confidence interval crosses zero, the correct conclusion is “no distinguishable difference,” not “slightly worse.” Reporting the interval together with the expected win rate prevents selection decisions from being driven by noise.

    6. Engineering It: A Checklist for Speed–Quality Trade-offs

    • Tiered routing: classify requests by task complexity; route simple requests to low-latency configurations and complex reasoning to high-quality configurations, using rules or a lightweight classifier for the upfront decision.
    • Inference optimization: make appropriate use of decoding acceleration, quantization, batching, and result caching; for long outputs, stream responses to improve first-token experience.
    • Capacity and elasticity: use container-platform autoscaling to handle traffic peaks and valleys, and message queues to smooth load spikes, preventing queuing latency from spiraling out of control at peak times.
    • Observability: consolidate TTFT, output throughput, end-to-end latency percentiles, error rates, and unit cost into logging and monitoring/alerting systems, forming a sustainable regression baseline.
    • Evaluation loop: build a small internal blind-test set and apply the covariate regression method from this article, tracking speed as a first-class dimension over time instead of judging by feel.

    7. Common Pitfalls

    Looking only at mean scores without confidence intervals; treating observational correlation as causation; using a single throughput number to represent speed while ignoring first-token latency and concurrency behavior; dropping the interaction term from the regression; and extrapolating coefficients trained on an old distribution to new scenarios. Avoiding these pitfalls costs little, but the payoff shows directly in model-selection quality and user experience.

    In summary, explicitly modeling inference speed into win-rate and Elo systems is a necessary correction to traditional “capability-only” evaluation. It shifts leaderboards from “who is smarter” to “who is more usable under real constraints,” and gives teams a quantifiable, reproducible, and continuously iterable basis for decision-making.