How to Evaluate the Real Capabilities of Large Language Models

    Public leaderboards offer a useful starting point for comparing large language models, but they are not enough for deployment decisions. This article explains how to assess reasoning, coding, computer use, and agent performance through reproducible, task-specific evaluations, with success rates, stability, execution steps, cost, and latency as practical selection criteria.

    1. Why Leaderboard Gains Do Not Always Make Rankings More Useful

    Whenever a flagship model launches, public leaderboards tend to shift. Their declining value for model selection does not mean evaluation itself is ineffective. Rather, several structural problems undermine the reliability of rankings:

    1. Benchmark saturation. Widely cited, difficult benchmarks typically contain hundreds to thousands of questions. As scores approach the ceiling, the remaining differences can become smaller than the uncertainty introduced by question sampling, making rank order difficult to establish confidently.
    2. Data contamination. Public questions and solutions may enter pretraining datasets as training corpora grow. Outside observers cannot easily distinguish improvements in reasoning from memorization.
    3. Inconsistent reporting conditions. Vendor-reported scores often depend on specific prompting strategies, tool configurations, sampling budgets, and voting mechanisms. The performance gap between different evaluation setups for the same model can exceed the gap between models.
    4. Limited reproducibility around launch. Rate limits, service instability, and silent version updates can make it difficult for third parties to run controlled comparisons under consistent conditions.
    5. Presentation is not measurement. Turning static scores into an interactive leaderboard improves communication and visibility, not measurement validity.

    The practical conclusion is straightforward: use leaderboards for initial screening, not final decisions. The meaningful question is not “Which model ranks first?” but “Which model delivers higher success rates and greater consistency on my task distribution?”

    2. Break “Intelligence” Down into Measurable Capabilities

    Without an operational definition, calling a model “the most intelligent” is not a falsifiable claim. A more useful engineering approach is to separate intelligence into measurable capabilities, with explicit evaluation methods and failure modes.

    Capability Typical evaluation methods Common pitfalls
    Knowledge and reasoning Subject-specific question banks, competition mathematics, multi-hop question answering Leaked questions inflate scores; checking only final answers overlooks the process
    Coding and software engineering Repository-level bug fixes, unit-test pass rates Models may infer visible tests; hidden test cases are needed
    Computer use GUI element localization, long-horizon tasks across applications Measuring click accuracy instead of task completion
    Long-horizon agent behavior Multi-step task success rates, recovery ability Ignoring execution steps, latency, and tool-call costs
    Security and vulnerability analysis Vulnerability exploitation and remediation in controlled test environments Compliance risks when environments cannot be isolated
    Scientific and professional expertise Closed question sets created by domain experts Subjective scoring criteria require review by two evaluators

    Claims such as “near-perfect mathematical reasoning,” “over 90% screen localization accuracy,” or “a perfect vulnerability-exploitation score” should initially be treated as vendor-reported results. They may indicate advances in capability boundaries, but they are not directly sufficient grounds for model selection.

    3. Computer Use: From Recognizing an Interface to Completing a Task

    Computer use is a particularly useful dimension for distinguishing practical model capabilities because it connects perception, planning, execution, and error correction in a closed loop. Evaluations should distinguish at least three levels:

    • Level 1: Visual element localization. The model identifies the coordinates of a target control using only a screenshot, without tools or structured interfaces. This measures perceptual accuracy, not whether the model can successfully operate a computer.
    • Level 2: Single-step action correctness. Given an interface state and a goal, the model produces the correct action or short action sequence. Evaluation must check the action type, parameters, and preconditions.
    • Level 3: Long-horizon task completion. Examples include organizing a calendar and reconciling scheduling conflicts, or completing a web form and verifying the result. This level corresponds to real business value and requires automatically verifiable success conditions, such as database state, file contents, or API responses—not visual inspection alone.

    A single success rate can be misleading for long-horizon tasks. Report at least four groups of metrics:

    • Task success rate
    • Consistency across repeated runs
    • Average execution steps
    • Per-task cost and latency

    A model with a slightly lower success rate but substantially fewer steps and lower costs may be more practical in production.

    4. Engineering a Reproducible Evaluation Pipeline

    For evaluation results to be credible, the pipeline must support reproducibility, isolation, and regression testing.

    Environment isolation. Run each task in a separate container or virtual machine snapshot, then destroy the environment when the task ends. This prevents residual state from affecting later tests. For GUI tasks, use a fixed screen resolution and a consistent initial state.

    Separate task definitions from validators. Decouple task definitions—including initial state, instructions, and success criteria—from the execution engine. Implement validators as pure functions so they can be unit-tested and audited.

    Retain execution traces. Save screenshots, action sequences, tool calls, and final states to support failure analysis. Treat these traces as evaluation assets and archive them for long-term use.

    Aggregate metrics by task category. Report confidence intervals rather than point estimates alone.

    In related Baidu AI Cloud implementations, this type of pipeline is assembled from general-purpose infrastructure components: container platforms host isolated execution environments, object storage retains traces and snapshots, message queues decouple task dispatch, and logging and monitoring services continuously track failure rates and execution time. Avoiding dependence on a single proprietary interface makes the pipeline portable across environments.

    1. import json, math, statistics
    2. from dataclasses import dataclass, asdict
    3. @dataclass
    4. class TaskResult:
    5. task_id: str
    6. success: bool # Determined by a validator, not visual inspection
    7. steps: int
    8. cost: float
    9. latency_ms: float
    10. def pass_at_k(results: list[TaskResult], k: int) -> float:
    11. """Estimate pass@k without replacement to avoid small-sample optimism."""
    12. scores = []
    13. for task_id in {r.task_id for r in results}:
    14. trials = [r for r in results if r.task_id == task_id]
    15. n, c = len(trials), sum(t.success for t in trials)
    16. if n - c < k:
    17. scores.append(1.0)
    18. else:
    19. scores.append(1.0 - math.comb(n - c, k) / math.comb(n, k))
    20. return statistics.fmean(scores)
    21. def report(results: list[TaskResult], k: int = 4) -> dict:
    22. ok = [r for r in results if r.success]
    23. return {
    24. "pass@1": statistics.fmean(r.success for r in results),
    25. f"pass@{k}": pass_at_k(results, k),
    26. "avg_steps": statistics.fmean(r.steps for r in results),
    27. "avg_cost": statistics.fmean(r.cost for r in results),
    28. "p95_latency_ms": sorted(r.latency_ms for r in results)[int(0.95 * len(results)) - 1],
    29. "samples": len(results),
    30. }

    Three engineering guidelines deserve emphasis:

    1. Do not report scores to two decimal places when the evaluation contains fewer than 300 tasks.
    2. Run the full regression suite whenever the model or prompting strategy changes.
    3. Include cost and execution steps in acceptance criteria rather than treating them as later optimization targets.

    5. How to Answer “Is It the Most Intelligent Model Available?”

    A rigorous answer has three parts.

    Capability boundaries are advancing. New generations of models report higher scores in difficult mathematics, general intelligence tests, interface operation, and controlled security evaluations. These results suggest that combined investments in pretraining, reinforcement learning, and alignment are producing gains, while remaining subject to the limitations of vendor-reported evidence.

    An overall ranking is not established. With benchmark saturation, data contamination, and inconsistent reporting conditions, “the most intelligent” lacks an operational definition.

    There is an actionable alternative. Build a high-fidelity evaluation set of 50–200 tasks that reflects your business needs and has automated success criteria. Set acceptance thresholds across four dimensions: success rate, consistency, execution steps, and cost. Run regression evaluations monthly.

    For developers, the useful shift is from “Which model dominates the leaderboard?” to “How much has completion improved on my tasks?” That is how model releases translate into measurable operational value.