A Three-Dimensional Framework for Evaluating Large Language Models
Why models can feel indistinguishable in daily work is often a measurement problem rather than a real lack of difference: vendor demos favor short, self-contained samples, while real engineering tasks involve long files, cross-module dependencies, and rework. This article proposes a three-dimensional evaluation framework—output completeness, latency, and cost—each backed by a verifiable source such as public benchmarks, service specifications, and official pricing. It explains how to measure completeness across shared benchmarks, per-category win/loss, and variance; why latency depends on maximum single-response length and verbosity rather than token speed; and how to model cost by call structure, including cached input and retry overhead. It closes with a practical evaluation checklist for reproducible model selection.
1. Why “They Feel the Same” Is a Measurement Problem
Many developers try a new generation of AI coding tools and come away with a hunch: the capability leap described in the marketing material is nearly invisible in their day-to-day work. That gap is usually not an illusion. It comes from inconsistent evaluation criteria. Vendor demos tend to pick samples with clear boundaries, short context, and a single-pass result, while real engineering tasks involve long files, cross-module dependencies, established conventions, and plenty of rework. Unless the task set, sampling parameters, and judging criteria are all fixed, no comparison is reproducible.
So the first step in model selection is not to ask “which one is stronger.” It is to break the question into three things that can be checked: whether the delivered output is good enough, how long you wait, and what it costs in total. These three pull against each other in any evaluation—higher scores usually cost more, and cheaper options usually need another two rounds of edits. The goal of this article is to separate them into independent numbers, then reassemble them into a statement an engineer can act on.
2. The Three-Dimensional Framework at a Glance
Break the evaluation into three dimensions, each with a verifiable source:
| Dimension | Key question | Key metric | Source |
|---|---|---|---|
| Output completeness | Can the first delivery be merged as-is | Composite completeness index, per-category win/loss | Public benchmarks run under identical conditions |
| Response latency | How long the user waits | Maximum output length per response, verbosity per turn | Context and output specifications in the service documentation |
| Call cost | What the bill looks like | Input, output, and cached-input unit prices | The provider’s published pricing |
The core judgment can be stated up front: on output completeness, the gap between leading models is often only a few percentage points; on cost, different tiers can differ by several times; on latency, the real dividing line is not “how fast tokens come out” but “how much can be delivered in one response” and “how long each turn runs.” In other words, selection is essentially a budget allocation decision: spend the budget on quality, or spend it on the bill.
3. Dimension One: Measuring Output Completeness
Completeness cannot be expressed by a single overall score. At minimum, split it into three layers:
- Shared benchmark layer: the same task set that every candidate model has run. The win/loss ratio here best indicates stability. If one side leads in four of six categories and the shared benchmark is three to one, the advantage exists but is not overwhelming.
- Per-category layer: code correctness, defect fixing, refactor readability, test coverage, instruction following, security, and so on. Among leading models the usual pattern is a mixed record—being overtaken on security and compliance is not unusual.
- Variance layer: sample the same task multiple times and observe the fluctuation. A model with a similar mean but smaller variance is more controllable in engineering terms.
A minimal evaluation driver can be written in a very plain form:
# Pseudocode: fixed task set + fixed sampling parameters + automated judgingtasks = load_benchmark("shared_tasks_v1")params = dict(temperature=0.0, max_output_tokens=8192)results = {}for name, client in candidates.items():records = []for t in tasks:out = client.generate(t.prompt, **params)records.append(judge(t, out)) # compile / unit tests / static checks / manual spot checksresults[name] = aggregate(records) # mean, variance, per-category win/loss
The key point: judging must be automated or semi-automated, and the judging script must be identical for all candidates. Otherwise the conclusions are not comparable.
4. Dimension Two: Latency Is Not Just “Typing Speed”
The wait a developer perceives is made up of three parts: queueing and time to first token, generation speed, and total generated length. The first two fluctuate heavily with load on the service side; the third is where the architectural difference lies.
The first difference comes from the maximum output per response. If one tier supports roughly a million tokens in a single response and another supports only a hundred-odd thousand, then a 200,000-token deliverable is written in one pass by the former but must be split into two or more segments by the latter—and stitching, deduplication, and style consistency all add cost. This is not a speed problem; it is a workflow being stretched out.
The second difference comes from verbosity. If a certain class of model emits several times the token count of the median model per turn, it “says more” on the same task, and the time users spend reading and trimming goes up accordingly. The engineering response is to put output length under a budget constraint:
budget = dict(max_output_tokens=4096, target_facts=8)prompt = f"""Complete within {budget['max_output_tokens']} tokens, list at most {budget['target_facts']} points,do not restate the requirements, do not output explanations that were not requested."""
Practical advice: use “first-pass acceptance rate” and “average rework rounds per person” as the real proxy metrics for latency. They track perceived experience more closely than time to first token.
5. Dimension Three: Calculate Cost by Structure, Not by Unit Price
Cost cannot be compared by unit price alone; it has to be converted according to the call structure. Common billing items include input, output, and cached input, and the cache-hit price is usually significantly lower than the regular input price. If the three prices of two tiers happen to be in a fixed multiple relationship, then under the same call structure the total bill will be in the same multiple, and selection becomes a pure budget question.
A reusable estimation formula:
cost per call = input tokens × input unit price+ output tokens × output unit price+ cached input tokens × cache unit pricemonthly cost = cost per call × daily calls × 30 + extra calls from retries and rework
The last term is easy to overlook: a model with slightly lower completeness pushes up the number of rework rounds, which cancels out the “cheap” part. So run a sensitivity analysis: check whether the total-cost ranking of the two options flips when the rework rate rises from ten percent to thirty percent.
def monthly_cost(price, tokens, calls, retry_rate):per_call = (tokens["in"] * price["in"]+ tokens["out"] * price["out"]+ tokens["cached"] * price["cached"])return per_call * calls * (1 + retry_rate) * 30
6. Putting the Three Dimensions Back Together
Overall, leading models have a limited lead in output completeness, cost may differ by several times, and the key latency variables are the maximum output per response and verbosity. So the conclusion is not “which one is stronger” but “where the budget goes”:
- For scenarios that need first-pass output, whole-document generation, and carry high rework costs, lean toward the tier with a long output limit and low verbosity.
- For high call volume, short tasks, and acceptance of two rounds of edits, lean toward the tier with the lower unit price.
- For scenarios with strict security and compliance requirements, treat the security category as a hard gate on its own and exclude it from the average.
7. A Practical Evaluation Checklist
- Fix the task set: cover five categories—short Q&A, cross-file changes, long-form generation, defect fixing, and security review.
- Fix the parameters: keep temperature, output limit, and system prompt identical, and record the version and date.
- Track three metric groups: completeness (including variance), latency (first-pass acceptance rate and rework rounds), and cost (including rework correction).
- Validate with a canary: run a small parallel traffic slice first, and check the estimation formula against the real call structure.
- Archive the conclusion: keep the criteria, scripts, and raw outputs together so the result is still reproducible three months later.
Run through this process once and you will find that “they feel the same” usually comes from inconsistent criteria. Once the criteria are unified, the differences land on a few numbers that can be checked, and selection turns from an argument into a calculation. If you need somewhere to hold evaluation data and artifacts, object storage can archive the raw outputs, while a logging service with monitoring and alerting can track latency and failure rates so the conclusions stay verifiable over time.
