A Three-Dimensional Framework for Evaluating Large Language Models
Why "it feels about the same" is the most common evaluation mistake, and how to replace subjective impressions with verifiable numbers across output quality, latency, and cost. This article breaks model selection into three independently measurable dimensions, explains why single-output limits and per-turn response length matter more than raw generation speed, and outlines a reproducible evaluation workflow with hard gates for security and compliance.
1. Why “It Feels About the Same” Is the Most Common Evaluation Mistake
When teams discuss a new model internally, the most frequent feedback is that “in real testing it looks about the same as the old version.” Such subjective judgments are not worthless, but they blur three things that should be measured separately: whether the deliverable is actually better, whether the wait time is acceptable, and whether the bill is affordable. Fold all three into a single “feeling,” and the conclusion will drift with the task, the prompt, and the mood of the day.
The problem gets worse because high scores on public leaderboards often come with a higher unit price and longer outputs, while cheaper options frequently require two extra rounds of manual edits. In other words, quality, latency, and cost naturally pull against each other, so no single-dimension ranking can directly guide selection. The goal here is not to declare “who is stronger,” but to break these three things into numbers that can be independently verified, then reassemble them into a statement that engineers can actually act on.
2. The Three-Dimensional Framework: Turning Arguments into Checkable Numbers
2.1 Dimension One: Deliverable Completeness
Completeness measures how much manual rework a single delivery saves. Rather than relying on one composite score, break it into sub-scores and rate them individually — for example, code runnability, requirement coverage, edge-case handling, maintainability, test completeness, and security compliance. After scoring the sub-items, apply business weights. The weights themselves must be written into the evaluation notes so that parameters cannot be tuned after the fact.
The key constraint is “same measurement basis”: the same batch of tasks, the same prompt, the same automated validation scripts, and the same temperature and decoding configuration. If any one of these differs, cross-model comparison loses its meaning. In practice, keep a shared set of benchmark tasks for horizontal alignment, and record each model’s wins and losses on those shared tasks separately instead of reporting only a total score.
2.2 Dimension Two: Latency — “Typing Fast” Is Not “Writing Long in One Pass”
Latency is the dimension most easily oversimplified. Real wait time consists of three parts: time to first token, generation rate, and the number of rounds required to finish the entire deliverable. Many evaluations measure only the first two and conclude that “the difference is minor,” but for long-form deliverables the bottleneck is usually the third.
If the single-response output limit is only around a hundred-odd thousand tokens while the target deliverable is on the order of two hundred thousand tokens, the model must produce the output in multiple segments that a person or script then stitches together. Stitching introduces repeated context, style drift, and interface inconsistencies, and the rework cost is counted as hidden latency. By contrast, an option whose single-response limit reaches the million-token scale can write the whole thing in one pass and is therefore faster end to end.
The second commonly ignored factor is “how long the model talks”: under a cost-per-turn basis, some models produce several times to as much as ten times the token volume per response compared with the median model. Saying more is not necessarily worse, but under a fixed budget it significantly reduces the number of attempts you can make.
2.3 Dimension Three: Cost — List Price Versus the Actual Bill
Cost must be assessed in terms of both list price and structure. Input, output, and cached input are usually billed at different unit prices, and cache hits can sharply reduce the cost of repeated context, so scenarios with long conversations or large repository context are especially sensitive to the cached-input price. When evaluating, use “average tokens per turn × number of turns × unit price” as the estimation formula rather than comparing only the listed price per million tokens.
# Illustration: three-dimensional scoring and weighted decision.# Metric definitions must match the team's evaluation notes.def evaluate(m):quality = sum(w * m["scores"][k] for k, w in WEIGHTS.items())latency = m["rounds"] * (m["ttft"] + m["out_tokens"] / m["tps"])cost = (m["in_tokens"] * P_IN + m["out_tokens"] * P_OUT+ m["cached_tokens"] * P_CACHE)return {"quality": quality, "seconds": latency, "cost": cost}def choose(candidates, budget, max_seconds):ok = [c for c in candidatesif c["cost"] <= budget and c["seconds"] <= max_seconds]return max(ok or candidates, key=lambda c: c["quality"])
3. How to State Conclusions Rigorously
When reassembling the three-dimensional results into plain language, use a fixed sentence pattern: on deliverable completeness, one option leads slightly, with a gap in the single-digit percentage range; on cost, another option holds a multiple-fold advantage; on latency, the dividing line is not generation speed but the single-response output limit and the length of each response. The sub-item that is usually the one being overtaken is security compliance, and such sub-items should be set as separate gates that do not participate in weighted trade-offs.
The benefit of this phrasing is that every conclusion points to verifiable evidence: same-basis indices, shared-benchmark win/loss records, output limits stated in vendor documentation, and unit prices on the official billing pages. Readers can substitute their own data and recompute, instead of being forced to accept a single total score.
4. Putting the Evaluation into Practice
- Build the task set: extract 30–50 items from real requirements, covering CRUD operations, concurrency handling, exception branches, and refactoring, with fixed prompts and acceptance scripts.
- Fix the measurement basis: unify temperature, maximum output, timeout and retry policy, and record time to first token, generation rate, number of rounds, and token usage.
- Run three rounds and take the median: single-run variance is large, and the median is more stable than the mean.
- Set gates before ranking: security and compliance as hard gates, budget and time limit as hard constraints, and rank the remaining candidates by completeness.
- Archive for reproducibility: save prompts, parameters, raw outputs, and billing details so the evaluation can be repeated quarterly.
5. Common Pitfalls
Looking only at the leaderboard total while ignoring the sub-item structure; using average latency to mask differences in the number of rounds; comparing list prices while ignoring the structural differences caused by cache hits; simply adding security sub-items to functional sub-items; and, most typically, substituting one subjective experience for a same-basis evaluation. If an organization already has a container platform, logging service, and monitoring and alerting system in place, these metrics can be wired into the existing dashboard, turning model selection from a one-off argument into a continuously observable engineering metric. In related practice at Baidu AI Cloud, the same approach of “fix the measurement basis first, then discuss which is better” applies equally well.
