A Three-Dimensional Framework for Evaluating Large Language Models

    Choosing between large language models often feels impossible because new releases all claim to lead, yet hands-on testing shows little practical difference. This article presents a three-dimensional evaluation framework that turns model selection into verifiable numbers: output completeness, latency, and cost. It explains how to quantify deliverable quality with shared benchmarks and weighted sub-metrics, why time-to-first-token is misleading compared with output limits and effective output ratio, and how to compare costs based on real price structures. Readers will learn how to combine the three dimensions into a repeatable, engineering-ready decision process.

    1. Why “They Feel the Same” Is an Evaluation Problem

    In a cycle of rapid model releases, developers face a familiar contradiction: every new model is marketed as a broad improvement, but after running a few dozen real tasks, the perceived difference is close to zero. This is not an illusion. It is the inevitable result of missing evaluation criteria. Without a shared standard, people substitute binary judgments (“did the task run?”) for quality, subjective impressions (“was it fast?”) for latency, and vague feelings (“was it expensive?”) for cost. None of these judgments land on verifiable numbers, so no stable conclusion can be drawn.

    The fix is to split model selection into three independent, separately measurable dimensions: how good the deliverable is, how long you wait, and how much you spend in total. In real projects these three pull against each other. Higher quality usually costs more per token; a lower price often means two extra rounds of revisions. The goal of evaluation is not to declare a winner, but to turn these three factors into reproducible numbers and then reassemble them into one engineering statement: should this budget go toward quality, or toward the bill?

    2. Dimension One: Quantifying Deliverable Completeness

    Completeness is the easiest dimension to measure incorrectly. Looking at a single demo almost always produces a “they’re about the same” conclusion, because demo tasks are short, have clean context, and have one correct answer. A reliable measurement needs three elements: a task set large enough and close enough to real business work, scoring rules fixed before evaluation begins, and the same prompts plus the same judging scripts run against every candidate model.

    Split completeness into two layers. The first is a shared benchmark: tasks every candidate can run under identical criteria, used for lateral ranking. The second is fine-grained capability, such as code runnable rate, defect fix hit rate, behavior consistency after refactoring, test coverage gain, documentation and comment completeness, and safety regression rate. Fine-grained metrics explain why a model wins; the shared benchmark ensures the win is reproducible.

    An illustrative scoring aggregation looks like this:

    1. # Completeness index: weighted sub-metrics + shared benchmark check
    2. weights = {
    3. "runnable_rate": 0.25, # Share of generated code that runs directly
    4. "fix_hit_rate": 0.20, # Defect fix hit rate
    5. "behavior_unchanged": 0.20,# Behavior consistency after refactoring
    6. "test_coverage_gain": 0.15,# Test coverage gain
    7. "doc_completeness": 0.10, # Documentation completeness
    8. "safety_regression": 0.10, # Safety defect introduction rate (inverse)
    9. }
    10. def quality_index(report):
    11. score = sum(weights[k] * report[k] for k in weights)
    12. return round(score * 100, 1) # Normalize to a 100-point scale for comparison

    One point deserves emphasis: when two models differ by only two or three percentage points on the composite index, that gap is usually not statistically significant. The correct conclusion is “completeness is essentially on par,” not “one side leads.” It is also normal for individual sub-metrics to be reversed. The more conservative model on safety, for example, often introduces fewer defects. Such single-metric advantages should have their weight deliberately raised in some business contexts rather than being averaged away by the composite score.

    3. Dimension Two: Latency Is More Than Time to First Token

    The most common latency mistake is treating “typing speed” as “delivery speed.” In real projects, waiting time is determined by two things: how much a model can output continuously in one pass, and how many words a single answer actually contains.

    The single-output limit determines how many segments a long deliverable needs. If one model can output several times the length of another in a single request, then for the same deliverable on the order of two hundred thousand tokens, one can produce it in one pass while the other must continue in segments. Segmentation adds not linear time but extra concatenation, validation, and repeated-context overhead, plus the risk of inconsistency between segments. So in latency evaluation, record “the number of calls required to complete the same deliverable.” That predicts real waiting time better than time to first token.

    Answer length affects how long you spend reading and verifying. Some models tend to explain the same task at greater length, consuming several times the median token count, which raises human review and post-processing costs. The more useful engineering metric is token consumption per unit of effective information, meaning the output length actually required to complete the task, not the absolute length.

    A suggested latency record structure:

    Record Item Meaning Purpose
    Single-output limit Maximum length produced continuously in one request Estimate number of segments
    Completion rounds Requests needed to deliver the same artifact Predict end-to-end waiting
    Effective output ratio Effective content tokens / total output tokens Measure redundancy
    Time to first token Time from request sent to first incremental return Reference for interactive feel

    4. Dimension Three: Calculate Cost by Bill Structure

    Cost comparison must be grounded in list-price structure, not a vague “four times more expensive.” Writing out the cost of a single call explains where the difference comes from:

    1. Cost per call = input tokens × input price
    2. + output tokens × output price
    3. + cache-hit tokens × cache price
    4. + overhead from failed retries and segmented continuation

    In long-context scenarios, the input side is often the largest component, so whether the cache-hit price is reasonable can significantly change the conclusion. Segmented continuation recomputes input repeatedly, widening the gap further. When the input, output, and cache prices happen to form a fixed ratio, the cost difference is a stable multiple, and selection becomes a direct conversion: if quality leads by only two or three percentage points while cost differs by several times, then in most businesses the more economical choice is the low-cost option plus one round of human or automated validation.

    5. Combining the Three Dimensions into a Decision

    In practice, fix the weights, fix the task set, and fix the judging scripts, then produce a three-dimension quick-reference table: completeness from the composite index and shared-benchmark wins, latency from the single-output limit and effective output ratio, and cost from the list-price multiple and segmentation overhead. Baidu AI Cloud typically also provides common capabilities in model services and engineering tooling, such as monitoring and alerting, logging services, and container platforms, which can turn these metrics into a scheduled evaluation pipeline. That way every model version change produces comparable historical curves instead of conclusions based on feel.