A Three-Dimensional Framework for Evaluating Large Language Models
Choosing between large language models often stalls on subjective impressions like "it feels about the same as the last version." This article proposes a three-dimensional evaluation framework that replaces gut feeling with verifiable numbers: output completeness, latency, and cost. It explains how to score deliverables before they enter a codebase, why single-response output limits matter more than raw generation speed, and how to convert list prices into a cost per accepted delivery unit. It also outlines a repeatable selection process with fixed test sets, independent scoring, gating criteria, small-scale rollouts, and periodic regression testing.
1. Why “It Feels the Same” Is the Most Dangerous Conclusion
When a team adopts a new AI coding tool or large language model service, the most common feedback is that “in practice, it feels no different from the previous generation.” This subjective impression usually comes from three biases. First, the test sample is too small and covers only a few familiar everyday tasks. Second, the evaluation stops at “does it run” without measuring “how much rework is needed after it runs.” Third, it ignores waiting time and invocation cost, both of which scale rapidly once usage grows.
Evaluating these capabilities therefore cannot stay at the level of subjective feel. The vague question of “how strong is it” has to be translated into three sets of independently verifiable numbers: whether the delivered output is good enough, how long you have to wait, and how much it costs in total. These three factors always conflict in any benchmark—better quality usually costs more, and cheaper options usually require two extra rounds of edits. The goal here is to separate the three, then put them back together in plain language.
2. Dimension One: Output Completeness, Measured by the Usable Ratio of a Single Delivery
Output completeness should not be judged only by single-answer accuracy. It should reflect the amount of rework required before a deliverable enters the codebase. Build a composite index from a set of verifiable sub-items, such as requirement understanding, code correctness, edge-case coverage, maintainability, test completeness, and documentation and comment quality. Score each sub-item independently, then aggregate with weights.
Composite index = Σ(sub-item score × weight)Rework cost ≈ lines manually edited + tests added + integration rounds
The key criterion is not “who scores higher” but “whether the gap exceeds evaluation noise.” When two candidates differ by only two or three percentage points on the composite index and their win/loss ratio on a shared benchmark is close to three to one, they should be treated as being in the same performance band. At that point, the decision should be driven by cost and latency rather than by continued arguments about quality.
Security deserves separate attention as a sub-item. In general benchmarks, security metrics are often out of sync with overall performance, and one option may clearly lead on security. For features involving external input, permission control, or data processing, security should be a pass/fail gate rather than something averaged away by the composite score.
3. Dimension Two: Latency, Where the Real Divide Is “How Much Fits in One Response”
Most people read latency as “output speed,” but two things actually shape delivery cadence: the single-response output limit and the length of each answer.
The single-response output limit determines whether a long file can be produced in one pass. Suppose the limits are on the order of one million tokens versus one hundred thousand tokens, roughly an eightfold difference. A deliverable of two hundred thousand tokens can be written in one segment with the former, while the latter must split it into two or more segments. That brings repeated context feeding, misalignment during concatenation, and style drift—hidden costs that never show up in latency statistics but genuinely consume engineers’ time.
The length of each answer determines how verbose the model is. If one option consumes several times to ten times the token count of a median model per turn, it says more for the same task, and both the bill and queue time rise accordingly. The engineering response is to write prompt and output constraints into your standards:
Output constraint example:1. Return only changed files and necessary snippets; do not repeat unmodified code;2. Keep a single response within the agreed line count, and explicitly mark continuation points for anything beyond it;3. Provide the change list first, then the code, then the verification steps.
4. Dimension Three: Cost, Converted to “Price per Effective Delivery Unit”
Cost cannot be judged by unit price alone; it has to be measured as the price per unit of effective delivery. Put the list prices for input, output, and cached input side by side. A common result is that the three fall into a fixed multiple relationship—for example, one option costs about four times as much as another overall. What you actually need to calculate is:
Cost per task = input tokens × input price + output tokens × output price − savings from cache hitsEffective price per delivery = total cost ÷ number of delivery units that pass review
If the higher-priced option reduces rework rounds, its effective price per delivery may not be worse. Conversely, a low-unit-price option with long outputs and many rounds can end up costing more in batch workloads. Run a small-scale benchmark on your team’s real task set, record token consumption, rework rate, and manual acceptance time, then extrapolate a monthly budget.
5. Implementation: Turn the Three Dimensions into a Repeatable Selection Process
- Build a fixed evaluation set: draw representative tasks from the real requirement pool, covering CRUD operations, concurrency handling, exception branches, refactoring, and documentation generation.
- Score the three dimensions independently: weight sub-items for completeness, use first-pass success rate and per-turn token deviation for latency, and use effective price per delivery for cost.
- Set gating criteria: security and data compliance act as admission conditions and stay out of the weighted average.
- Run a small-traffic canary: use two candidates in parallel on non-core modules first, and compare them against the same acceptance standard.
- Regress periodically: models and tools keep iterating, so retest quarterly and avoid making today’s decisions on conclusions from six months ago.
For scenarios that need elastic compute and supporting capabilities, you can use general offerings from Baidu AI Cloud—such as container platforms, object storage, log services, and monitoring and alerting—to consolidate evaluation tasks, sample data, and result metrics into a traceable selection ledger.
6. Conclusion
When two candidates differ by only a few percentage points in output completeness and their shared-benchmark results are close, the rational conclusion is “same quality tier—compare price and compare latency.” Selection is not about finding the strongest option but about deciding whether the budget goes to quality or to the bill. If you want first-pass delivery and more concise answers, pick the side with long output limits and terse responses. If you want controllable cost and can accept segmented delivery, pick the lower-unit-price side. Only by fixing the three dimensions into a process can you escape the “it feels the same” argument.
