How to Evaluate New Large Language Models Beyond Benchmark Scores
Public benchmark scores are useful for narrowing down model candidates, but they are not enough for production selection. This guide explains how to assess model architecture, compute and memory requirements, task-specific quality, hardware portability, service costs, and deployment readiness through private evaluations and staged rollout. It also includes a Python example for summarizing evaluation results and estimating accuracy confidence intervals with bootstrap sampling.
1. Why Public Benchmark Scores Should Not Decide Model Selection
Whenever a new model is released, public leaderboard scores are usually among the first details to circulate. However, a score is only the result of a particular evaluation set under a particular configuration. It does not directly answer whether the model can solve your business problem.
Four factors commonly limit score comparability:
- Evaluation set differences: The same capability may be measured by multiple benchmarks, each with different question distributions, difficulty levels, and scoring methods.
- Configuration differences: Enabling long-chain reasoning, changing the sampling temperature or context length, and allowing tool use can significantly affect results.
- Differences in comparison targets: Models may have different release dates, version numbers, and inference configurations. Direct comparisons can therefore be misleading.
- Data contamination risk: If evaluation questions overlap with training data, the reported score may exceed the model’s actual generalization ability.
Public scores are therefore useful for reducing the candidate set, but they should not be the final decision criterion. To determine whether a model is suitable, evaluate it on your own tasks and data.
2. Start with Parameter Count and Architecture
Many recent models use a Mixture of Experts (MoE) architecture. Understanding this architecture is the first step in estimating deployment costs.
An MoE model has two important parameter counts:
- Total parameters: These determine the storage footprint of the model weights and affect GPU memory or system memory requirements.
- Active parameters: These are the parameters actually involved in processing each token. They affect per-token computation and latency.
Assume the weights are stored in 16-bit floating-point format (FP16), with each parameter occupying 2 bytes. A model with 1000B total parameters—one trillion parameters—would require approximately 2 TB just for its weights. A single-machine deployment would typically be impractical, requiring model sharding across multiple GPUs or nodes, along with careful consideration of communication overhead.
The number of active parameters affects throughput. Fewer active parameters generally reduce the computation required per token, but routing, expert scheduling, and cross-device communication introduce additional overhead. Actual latency therefore cannot be estimated by scaling linearly with active parameter count.
In practice, estimate requirements in the following order:
- Estimate weight memory based on total parameter count and the selected quantization method.
- Estimate compute requirements based on active parameter count and target concurrency.
- Estimate network bandwidth requirements based on the expert-parallel sharding strategy.
- Compare the results with available hardware to determine whether the deployment plan is feasible.
3. Build an Evaluation Framework Around Tasks
Evaluation should start with business tasks rather than leaderboards. Common capability dimensions include the following:
| Dimension | Typical tasks | Key metrics |
|---|---|---|
| Knowledge question answering | Fact lookup, explanation of industry terminology | Accuracy, hallucination rate |
| Code generation | Function implementation, bug fixing, code review | Unit test pass rate |
| Mathematics and logic | Numerical derivation, rule-based decisions | Final answer accuracy |
| Long-context processing | Contract summarization, log analysis | Information recall, completeness of key elements |
| Tool calling | Parameter extraction, API orchestration | Format accuracy, call success rate |
| Chinese-language context | Customer service responses, formal document polishing | Human rating, style consistency |
For each dimension, define three elements:
- Sample sources: Prefer anonymized real-world business data, covering both common and edge cases.
- Scoring method: Use programmatic evaluation whenever possible, such as unit tests or format validation. For tasks that cannot be judged automatically, define scoring criteria and conduct blind reviews with multiple evaluators.
- Runtime conditions: Standardize temperature, context length, prompt templates, and tool permissions so that all models are evaluated under the same conditions.
4. Evaluate Deployment Feasibility Across Hardware
Whether a model can run reliably in a target environment depends on the inference framework, operator implementations, and quantization support. This is often overlooked.
Many inference optimizations depend on a specific GPU vendor’s software ecosystem, including custom operators and communication libraries. If a model or inference framework is fully optimized only for one ecosystem, moving it to another type of accelerator may result in the following problems:
- Some operators may be unavailable and fall back to slower implementations.
- The required quantization formats may not be supported, preventing memory usage from decreasing as expected.
- Performance tuning tools may be immature, increasing the cost of troubleshooting.
Teams seeking to reduce dependence on a single hardware ecosystem can use the following checklist:
- Is there an officially supported or actively maintained community inference implementation for the target hardware?
- Which quantization precisions are supported, and what measured accuracy loss do they introduce?
- How well do expert parallelism and tensor parallelism perform on the target platform?
- Do fault recovery, monitoring, and logging meet production requirements?
“Supports a particular type of hardware” and “is ready for production” are not the same claim. The model must be load-tested in the target environment before its production viability can be confirmed.
5. Include Service Pricing and Availability in the Cost Model
During the initial release period, model service capacity is often limited. Users may experience rate limiting, queueing, or fluctuating latency. Pricing and service quality during this period may not represent long-term conditions.
When estimating costs, calculate the following separately:
- Per-request cost: Multiply input token count and output token count by their respective prices, then add the results.
- Cost of effective throughput: Calculate the cost associated with the number of requests processed per unit of time while meeting the latency target.
- Capacity risk cost: Account for losses caused by business degradation or queueing when the service is rate-limited.
Prices may change as supply evolves. The cost model should therefore keep unit prices configurable so that calculations can be updated quickly. Do not directly extrapolate current pricing over the next year.
Model services provided by cloud platforms such as Baidu AI Cloud should be compared using the same methodology. If the business is sensitive to latency and stability, measure performance under the same workload instead of comparing list prices alone.
6. Build a Private Evaluation and Gradual Rollout Process
The following process is practical to implement:
- Collect at least several hundred anonymized business samples and group them by task type.
- Define scoring rules for each task category, automating evaluation wherever possible.
- Run the same sample set against candidate models in parallel, recording correctness, latency, and token usage.
- Apply statistical tests to avoid treating random variation as a meaningful difference.
- Select the strongest-performing model for a small-traffic rollout and monitor production metrics.
- Define rollback conditions, such as automatically switching back to the previous model when error rate or latency exceeds a threshold.
The following example summarizes evaluation results for one model and uses bootstrap sampling to estimate a confidence interval for accuracy. The code is illustrative only; prices and data are placeholders.
import randomimport statisticsfrom dataclasses import dataclass@dataclassclass EvalRecord:correct: boollatency_ms: floatinput_tokens: intoutput_tokens: intdef summarize(records, price_in_per_m, price_out_per_m):"""Summarize accuracy, latency percentiles, and cost.Prices are specified as monetary units per million tokens."""n = len(records)latencies = sorted(r.latency_ms for r in records)cost = sum(r.input_tokens * price_in_per_m + r.output_tokens * price_out_per_mfor r in records) / 1_000_000return {"accuracy": sum(r.correct for r in records) / n,"p50_ms": statistics.median(latencies),"p95_ms": latencies[int(0.95 * (n - 1))],"total_cost": cost,}def bootstrap_ci(records, rounds=2000, alpha=0.05, seed=42):"""Estimate the confidence interval for accuracy with bootstrap sampling."""rng = random.Random(seed)flags = [r.correct for r in records]n = len(flags)accs = []for _ in range(rounds):sample = [flags[rng.randrange(n)] for _ in range(n)]accs.append(sum(sample) / n)accs.sort()low = accs[int(alpha / 2 * rounds)]high = accs[int((1 - alpha / 2) * rounds) - 1]return low, highif __name__ == "__main__":# Placeholder data; replace with real evaluation records in production.records = [EvalRecord(correct=(i % 3 != 0), latency_ms=800 + (i % 7) * 50,input_tokens=600, output_tokens=250)for i in range(300)]stats = summarize(records, price_in_per_m=1.0, price_out_per_m=2.0)low, high = bootstrap_ci(records)print(stats)print(f"Accuracy 95% confidence interval: [{low:.3f}, {high:.3f}]")
When comparing two models, consider whether their confidence intervals overlap. If there is substantial overlap, a score difference of only a few percentage points should not be treated as conclusive evidence.
7. Conclusion and Implementation Recommendations
When a new model is released, use the following decision sequence:
- Start with the task: Confirm whether the model reaches an acceptable level on the organization’s core tasks.
- Then assess cost: Calculate the true total cost based on per-request cost, effective throughput, and capacity risk.
- Next assess deployment: Verify that the target hardware, quantization approach, and operational capabilities meet requirements.
- Finally consider the long term: Monitor service pricing, version updates, and supply stability to avoid dependence on a single provider or set of conditions.
Benchmark scores can help identify candidates, but business metrics, cost curves, and deployment feasibility determine whether a model should be adopted. By standardizing the evaluation process, teams can replace the model and test data whenever a new version is released and reach a reliable conclusion in a relatively short time.
