How to Evaluate Large Language Models Across Capability and Efficiency
A single aggregate score is a poor basis for choosing a large language model. This article explains how to weight scenario-specific dimensions, read sub-scores for saturation and data contamination, and measure time, tokens, and iteration cost alongside quality. It covers knowledge work, coding and terminal use, scientific reasoning, general ability, and efficiency, plus three high-discrimination tasks and a reusable evaluation pipeline.
1. Why a Single Overall Score Is Not Enough
Large models now ship on a monthly cadence, and each release comes with claims of broad leadership. In production, selection usually turns on three things that an overall score hides: performance on the subtasks that match the target scenario, the time required to reach a usable result, and whether the score was inflated by training-data contamination.
A common mistake is to rank models by the headline total. That total is a weighted mix of sub-scores, and the weights may not match your workload. For report generation and process automation, knowledge-work sub-benchmarks should outweigh general Q&A. For agents that operate a terminal, coding and tool-use items matter more. The first step in evaluation is therefore to set the weights, not to run a leaderboard.
2. Four Capability Dimensions and How to Measure Them
2.1 Knowledge work
This dimension covers long-document understanding, structured output, and process automation. Useful metrics include information-extraction accuracy per document, the share of outputs that can enter a downstream system without manual rework, and completion rate on multi-step tasks. Separate “can write” from “can deliver”: the first is text quality; the second is format compliance and field completeness.
2.2 Coding and terminal operation
Split this into two layers: algorithmic implementation (produce correct code for a given problem) and terminal interaction (multi-turn execution in a real shell, reading logs, and fixing errors). For the second layer, the core metrics are end-to-end success rate and average number of interaction turns, not the quality of a single code snippet.
2.3 Scientific reasoning
Prefer closed problems with automatically checkable answers, such as constructive math problems and numerical optimization. Their advantage is that answers are verifiable and free of subjective scoring noise, which yields high discrimination.
2.4 General ability
This covers cross-domain common sense, long-context consistency, and multimodal understanding. It saturates most easily. Treat it as a reference signal, not as a hard gate.
2.5 Efficiency (the dimension most often skipped)
Record at least three quantities: end-to-end latency, total tokens generated, and the number of iterations needed to reach the current best solution. The same final answer reached in one 30-minute attempt versus four hours of repeated iteration differs by an order of magnitude in engineering value.
3. How to Read the Scores
- Normalize. Sub-benchmarks use different scales (percentages, ratios, counts). Map them to [0, 1] before aggregation.
- Close but not ahead. A model that stays just behind the leader, without surpassing it, is usually in the same capability band. Selection should then shift to efficiency and cost.
- Saturation and contamination. When a problem class is published repeatedly, a model that “hits the best known solution on the first try” may be recalling rather than reasoning. The signal is a very high first-hit rate that falls on generalization items, together with a clear drop after an equivalent problem is reworded.
- Sub-rankings carry more information than the total. A model ranked 5th overall but 1st on the science sub-benchmark can be a better fit for research assistance than a model ranked 2nd overall.
4. Three High-Discrimination Practical Tasks
Case A: Text to 3D animation
Given a combat description and a reference video, the model must produce a runnable 3D animation. Suggested scoring axes: shot composition, character and scene modeling detail, consistency between motion and the text, and runtime frame rate. The task stresses long-text understanding, spatial reasoning, and code generation at once, and a person can judge quality at a glance. A pattern worth watching in practice: newer models show clearer shot language and finer modeling, while runtime drops from several hours to about half an hour. That efficiency gain is itself part of capability.
Case B: Constructive combinatorial optimization
Connect edges among 125 points so the graph contains no 3-edge or 4-edge cycle, and maximize the number of edges. Answers can be checked exactly:
def is_valid(n, edges):adj = [set() for _ in range(n)]for u, v in edges:adj[u].add(v); adj[v].add(u)# Triangle checkfor u in range(n):for v in adj[u]:if adj[u] & adj[v]:return False# C4 check: two or more common neighbors means a 4-cyclefor u in range(n):for v in range(u + 1, n):if len(adj[u] & adj[v]) >= 2:return Falsereturn True
Reference baseline: a known strong construction has about 638 edges; some evaluated models reach only 600 or 550. Hitting 638 on the first attempt in very little time indicates strong search intuition. If performance then drops after the problem statement is rewritten, treat memorization as a risk.
Case C: Low-rank matrix multiplication
Design an exact algorithm for multiplying a 3×5 matrix by a 5×37 matrix, using only coefficients in {−1, 0, 1}, and minimize the number of scalar multiplications. This measures search depth in algorithm design. A better solution (for example, 427 multiplications) takes multiple iterations, while a 439-multiplication solution shows the model chose a conservative tradeoff between “submit quickly” and “keep searching for the optimum.”
5. A Reusable Evaluation Pipeline
@dataclassclass Case:name: strdim: str # knowledge / code / science / generalverify: Callable # returns (passed, score)limit_sec: intdef run(model, cases, weights, thinking="xhigh"):raw = {}for c in cases:t0 = time.time()out = model(c.prompt, thinking=thinking)ok, score = c.verify(out)raw[c.name] = {"score": score, "sec": time.time() - t0, "pass": ok}dims = {}for d in weights:vals = [raw[c.name]["score"] for c in cases if c.dim == d]dims[d] = sum(vals) / len(vals) if vals else 0.0total = sum(dims[d] * w for d, w in weights.items())return total, dims, raw
Engineering requirements: fix the random seed and temperature, use a consistent reasoning effort, snapshot every iteration, and keep the verifier separate from generation so results are reproducible and regression-testable.
6. Trading Off Efficiency and Quality
“Rushing to submit” shows up repeatedly: when the model receives a clear positive signal, it tends to stop early. Three counters help. Set a minimum iteration budget and block submission until it is met. Ask the prompt to “state the current best solution and the paths already ruled out.” Include elapsed time in the score so unlimited runtime cannot buy a higher mark.
7. Putting It into Practice
Build sub-benchmarks with weights that match the business, use verifiable closed problems as hard gates, and sample generative tasks for human review. Convert latency and token cost into cost per task. If the evaluation and inference path must handle large concurrent workloads, use a container platform for elastic compute, object storage for artifacts, a message queue to absorb bursts, and logging plus monitoring alerts for end-to-end tracing, so results stay reproducible and auditable.
