How to Evaluate LLM Capability: Weighing Leaderboard Scores Against Real Costs

    This guide explains how to read LLM leaderboards critically. It covers why composite scores can hide differences between models, how to tell whether a score gap is meaningful, how to calculate cost per successful task, how to match models to specific scenarios, and how to build an internal evaluation process.

    1. Why Composite Scores Are Not Enough

    A composite score is a weighted average of several sub-scores. It makes models easy to rank, but it hides the differences between sub-scores. Two models with close overall scores may differ widely: one may excel at factual question answering, while the other is stronger at complex reasoning or code generation. If your application relies on only one of these capabilities, the composite score tells you little.

    When reading a leaderboard, look at the sub-score distribution first, then the composite score. In practice:

    1. List the capability dimensions your business needs, such as factual accuracy, multi-step reasoning, code repair, long-context understanding, and multilingual processing.
    2. Keep only the sub-scores that matter to your business, and reweight them according to actual call frequency or business value.
    3. Compare the models on these key sub-scores to identify clear strengths and weaknesses.

    The resulting scores match your real needs more closely and make it easier to explain why you chose a model.

    2. Understanding Where Evaluation Data Comes From

    Evaluation data usually comes from three types of sources.

    • Public benchmarks: The questions are public, so results are easy to reproduce. However, models may be tuned specifically for them, so scores can be higher than real-world performance.
    • Private question sets: The questions are not public, so models are harder to tune for them, and results are closer to true generalization. These sets are usually small, so their coverage may be limited.
    • Aggregated leaderboards: These combine multiple data sources into a single ranking. They are useful for quick comparison, but the weighting rules are usually set by the leaderboard operator, so you should check how the scores are calculated.

    Also keep three points in mind when reading results. First, confirm the model version and the evaluation date, because models with the same name can differ significantly at different points in time. Second, confirm the prompt template, decoding parameters, and whether tool calling was enabled, since these settings can significantly change results. Third, check the difficulty distribution of the questions, so that high scores on easy questions are not mistaken for evidence of general capability.

    3. Judging Whether a Score Gap Matters

    When two models differ by a few points, the first question is whether the gap exceeds random variation.

    Suppose an evaluation has n questions and a model answers each one correctly with probability p. The standard error of the score is approximately sqrt(p(1 − p) / n). At a 95% confidence level, the margin of error is about 1.96 times the standard error. Fewer questions mean more variation. For a small evaluation of a few dozen questions, a gap of a few points may come entirely from chance.

    Paired comparison gives more reliable conclusions when models are tested on the same set of questions. It focuses on which model answered each question correctly and which answered it incorrectly, which is more convincing than comparing two total scores alone.

    The following pseudocode gives a rough way to make this judgment:

    1. function score_interval(correct, n):
    2. p = correct / n
    3. se = sqrt(p * (1 - p) / n)
    4. return (p - 1.96 * se, p + 1.96 * se)
    5. function is_difference_meaningful(correct_a, correct_b, n):
    6. low_a, high_a = score_interval(correct_a, n)
    7. low_b, high_b = score_interval(correct_b, n)
    8. return low_a > high_b or low_b > high_a

    This interval method is conservative and suits quick screening. If the intervals overlap, do not claim that one model is stronger.

    Also, an unchanged ranking does not mean the scores have not changed. If one model’s total score rises while the others rise too, its ranking may stay the same, but the model may still have improved. To assess the size of an improvement, look at both the absolute score difference and the relative percentage gain, and compare them within the same time window.

    4. Factoring Cost Into Model Selection

    Performance and cost should usually be considered together. Looking only at the price per call can be misleading, because failed calls are billed too, and retries add to the total. A more useful metric is the cost per successful task.

    The calculation is as follows:

    1. function cost_per_success(input_tokens, output_tokens, price_in, price_out, success_rate):
    2. // price_in and price_out are prices per million tokens
    3. per_call = input_tokens / 1e6 * price_in + output_tokens / 1e6 * price_out
    4. return per_call / success_rate

    Example (the figures are hypothetical and only illustrate the calculation): Model A uses an average of 2,000 input tokens and 800 output tokens per call, with an 80% success rate. Model B uses a similar number of tokens per call but has a 90% success rate. Even if Model A’s unit price is slightly lower, Model B may have a lower cost per successful task. Base your selection on task success rate and actual token consumption, not only on the price list.

    Latency, concurrency limits, data compliance requirements, and operations costs also matter. These factors often determine whether a model can be deployed in practice.

    5. Matching Capabilities to Scenarios

    No single model is best for every task. Common scenario types include:

    • Knowledge Q&A and customer support: Factual accuracy and the ability to decline unsupported requests are important. Prioritize the knowledge-related sub-scores.
    • Complex reasoning and data analysis: Focus on multi-step reasoning and numerical calculation. These need a dedicated test set.
    • Code generation and repair: Beyond producing correct code, check whether the code passes unit tests and follows project conventions.
    • Long-text processing: Test whether the model can locate information in long contexts and stay consistent throughout.

    Break your business scenarios into specific tasks, then score models on evaluation sets built for those tasks. The results are usually more useful for decisions than a general leaderboard.

    6. Building Your Own Evaluation Process

    Public leaderboards cannot replace internal evaluation. A repeatable process includes the following steps.

    1. Define the task: Specify the input format, output format, and criteria for judging a correct answer.
    2. Build the samples: Draw samples from real business logs, covering common cases and edge cases, and remove sensitive information.
    3. Fix the conditions: Standardize the prompt template, decoding parameters, and tool configuration, and record the versions used.
    4. Score blind: Graders should not know which model produced each output, which reduces subjective bias. For tasks that can be judged automatically, use scripts first.
    5. Analyze the results: Calculate success rates, confidence intervals, and costs, and run paired tests on key differences.
    6. Re-test regularly: Rerun the evaluation when models are updated, when the business changes, or when the data distribution shifts.

    When the evaluation scripts are part of a continuous integration pipeline, the team can quickly get comparable results whenever it upgrades a model or switches providers.

    7. Common Mistakes

    • Treating the composite score as proof of overall ability. It only shows the weighted average and does not mean every capability is strong.
    • Ignoring where the questions come from. High scores on public questions may reflect overlap with training data, so verify results with private or newly constructed test sets.
    • Looking only at unit price and ignoring success rate. Failed calls and retries also cost money.
    • Drawing conclusions from a small sample. Differences on a few dozen questions often have no statistical significance.
    • Treating a single evaluation as a long-term conclusion. Models and business needs both change, so selection decisions should be updated regularly.

    Technology selection comes down to comparing capability, cost, and risk side by side. A leaderboard is a starting point. Whether your selection holds up depends on whether you can verify it with your own data.