How to Read LLM Leaderboards: Model Selection Logic Beyond Overall Scores
Selecting the right Large Language Model (LLM) involves more than just looking at the top score on a leaderboard. This article explores the logic behind model selection beyond overall scores, covering how to analyze sub-scores, evaluate cost and latency, compare open-source and closed-source models, select models based on specific use cases, build internal evaluation sets, and avoid common pitfalls.
1. Why Overall Scores Cannot Be Taken as the Final Conclusion
Overall indexes are typically weighted averages of multiple sub-evaluations. Different sub-items measure distinct capabilities, such as code generation, tool calling, long-context understanding, mathematical reasoning, and knowledge QA. Two models with similar overall scores might excel in completely different areas—one in programming, the other in knowledge QA. Therefore, the first step in reading a leaderboard is to drill down into the sub-scores and examine how models perform in dimensions relevant to your business.
Leaderboards are also affected by inclusion criteria. The number of models included and the statistical median used can alter the actual meaning of “leading.” When the gap between the first and second place is minimal, ranking changes might only stem from evaluation noise or version updates, making it unsuitable for long-term judgments.
2. Incorporate Cost and Latency into Evaluation
Capability scores are only one dimension of model selection. Within the same batch of evaluation tasks, inference costs among different models can vary by several times, and completion times can range from a few minutes to tens of minutes. For tasks requiring batch processing or real-time responses, these differences often impact deployment more significantly than a few points in score.
It is recommended to build a selection matrix containing at least the following fields:
- Sub-scores corresponding to target tasks
- Invocation cost per task
- End-to-end latency and throughput
- Deployment format: via API or self-deployed
- Data compliance and cross-border requirements
The pseudo-code below demonstrates how to combine quality, cost, and latency into a comparable score:
def score_model(m, weights):# m["tasks"] contains normalized scores for sub-tasks, ranging from 0 to 1quality = sum(m["tasks"][k] * w for k, w in weights["tasks"].items())cost_ratio = min(m["cost_per_task"] / weights["budget"], 1.0)latency_ratio = min(m["latency_s"] / weights["max_latency_s"], 1.0)return quality - weights["cost_w"] * cost_ratio - weights["latency_w"] * latency_ratio
Weights should be determined by the business stakeholders. For example, offline batch processing tasks can have a higher cost weight, while interactive products should increase the latency weight.
3. Verify Evaluation Criteria When Comparing Open-Source and Closed-Source Models
Open-weight models can be locally deployed, fine-tuned, and audited, which is highly valuable for teams with strict data privacy and customization requirements. However, leaderboard scores can fluctuate based on evaluation criteria. When a portion of the evaluation dataset is replaced with undisclosed questions, models that rely on public data for training or parameter tuning often see a score drop. Historical scores may be inflated due to training data overlap or question leakage, which must be considered during comparison.
You can follow these steps for comparison:
- Confirm the evaluation version used by the leaderboard and whether the dataset is public.
- Conduct small-scale tests using your own business data instead of directly trusting public scores.
- Monitor score changes of the same model across different versions, rather than just looking at a ranking at a specific point in time.
4. General Approach to Scenario-Based Model Selection
Different scenarios should focus on different metrics:
- Code generation and code review: Focus on coding sub-scores, long-context understanding, and first-attempt pass rate.
- Terminal operations and automated execution: Focus on tool calling stability, error recovery capabilities, and single-step latency.
- Knowledge QA and document processing: Focus on factual accuracy, citation reliability, and long-document understanding.
- Cost-sensitive batch tasks: First define a quality threshold, then choose the option with the lowest unit cost among those meeting the threshold.
The last point is a common engineering practice. Defining the minimum acceptable quality first and then optimizing cost is easier for budget control than blindly pursuing the highest score.
5. Build an Internal Evaluation Set
Public leaderboards can only serve as a reference; teams need to validate models with their own data. It is recommended to construct an evaluation set following these steps:
- Sample hundreds of entries from real business data, covering major task types and typical edge cases.
- Define automatically verifiable pass criteria for each sample, such as passing unit tests, exact field extraction match, or evaluation by fixed scoring rules.
- Fix prompt templates and sampling parameters, run each candidate model multiple times, and record both the mean and variance of the results.
- Simultaneously record quality, cost, and latency, and plot a quality vs. cost chart for candidate models to filter out the most cost-effective solutions.
The core loop can be structured as follows:
results = []for case in eval_set:output, usage = call_model(candidate, case.prompt)results.append({"passed": case.check(output),"cost": usage.cost,"latency": usage.latency,})pass_rate = sum(r["passed"] for r in results) / len(results)
The evaluation set should be updated regularly as the business evolves, and historical versions should be retained to compare results across different periods.
6. Common Pitfalls
- Treating the overall score as the sole basis, ignoring differences between sub-items.
- Focusing only on the highest-scoring model without calculating cost and latency.
- Treating a single evaluation result as a long-term stable conclusion, ignoring changes brought by version updates.
- Completely replacing the existing model with full-scale traffic without business validation.
