A Three-Dimensional Framework for Evaluating Large Language Models

    This article presents a three-dimensional framework for large language model selection that turns vague impressions into verifiable numbers. It explains why casual testing often makes new model generations feel indistinguishable, then breaks evaluation into output completeness, delivery time, and invocation cost. You will learn how to score fine-grained quality criteria with reproducible evidence, estimate end-to-end latency from single-response output limits and per-turn length, and separate list prices from the real bill after retries and rework. A scenario-weighting decision method and a practical checklist are included.

    1. Why “It Feels the Same” Is a Measurement Problem

    After trying a new generation of large language models, many developers walk away with a simple impression: the leap described in marketing material is nearly invisible on their day-to-day tasks. That gap usually does not mean the model failed to change. It means the evaluation criteria are too coarse. Casual trials cover only a few short question-answer pairs and a couple of code completions, with small samples, homogeneous tasks, and fuzzy pass/fail judgment. Any generational difference gets drowned out by noise.

    A more common cause is that three dimensions get discussed as one: output quality, delivery time, and delivery cost. These three naturally pull against each other. A higher-quality approach usually costs more per call, a cheaper approach usually forces multiple rounds of rework, and the rework spends back the money you saved. So the first step in professional model selection is not asking “which one is stronger.” It is splitting the three dimensions into numbers that can be checked independently, then reassembling them into one engineering statement you can act on.

    2. The Three-Dimensional Framework: Turning Arguments into Numbers

    2.1 Dimension One: Output Completeness

    Output completeness measures how far a single deliverable is from a mergeable state. Rather than relying on one composite score, break it into several sub-items, score each one, and look at the distribution of wins. Common sub-items include: requirement understanding and constraint adherence, code runnability, test coverage, readability and maintainability, edge-case handling, and safety.

    What matters is how you judge each item: every sub-item must be backed by reviewable evidence, such as whether unit tests pass, whether static analysis raises warnings, or whether an established coding standard is violated. Illustrative scoring logic:

    1. WEIGHTS = {
    2. "spec_follow": 0.20, # constraint adherence
    3. "runnable": 0.25, # runnability
    4. "tests": 0.20, # test coverage
    5. "maintain": 0.15, # maintainability
    6. "edge_case": 0.10, # edge-case handling
    7. "safety": 0.10, # safety
    8. }
    9. def composite(scores: dict) -> float:
    10. return round(sum(scores[k] * WEIGHTS[k] for k in WEIGHTS), 1)

    The key point: when composite scores are close (for example 57.8 versus 56.4, a gap of about 2.5%), you should not claim one side leads across the board. The correct reading is the distribution of sub-item wins. If one side leads on four of six items and the shared baseline splits 3:1, the advantage is a “small structural lead” that is perceptible on most routine tasks but is not sufficient reason to switch. Conversely, if one side clearly overtakes the other on the safety sub-item (for example 30.7 versus 26.6), that single item may act as a veto for teams with compliance requirements.

    2.2 Dimension Two: Delivery Time

    Time is most often misread as “first-token latency” or “typing speed.” In engineering practice, two things actually determine how long you wait: how much can be delivered in a single pass, and how long each round of response runs.

    • Single-response output limit: if the single-response output limit is 1.05M tokens versus 128K tokens, the gap is about 8.2x. For a 200K-token deliverable, the former finishes in one pass, while the latter must be split into two segments plus an extra handoff and consistency check.
    • Length per round: if one approach consumes 6–11x the median number of tokens per round, it says more for the same task, which both stretches generation time and inflates the bill.

    Put together, end-to-end wait time is approximately:

    1. T_total ≈ Σ(output length_i / effective throughput) + (segments - 1) × handoff cost

    The number of segments is determined by the single-response output limit, and the handoff cost includes rebuilding context, re-sending repeated constraints, and merging and verifying results. This is why the approach with the higher limit gains an amplified advantage on long deliverables and is nearly imperceptible on short question-answer tasks, which also explains why lightweight daily trials easily lead to a “no difference” conclusion.

    2.3 Dimension Three: Invocation Cost

    Cost must separate list price from the actual bill. List price usually has three tiers: input, output, and cached input. When all three move in a fixed multiple relationship (for example input 8 versus 2, output 40 versus 10, cached input 0.40 versus 0.10, all 4x), you can project the budget directly from the multiplier:

    1. def estimate(in_tok, out_tok, cache_tok, p_in, p_out, p_cache):
    2. return in_tok * p_in + out_tok * p_out + cache_tok * p_cache

    The actual bill adds two corrections: extra rounds caused by retries and rework, and changes in cache hit rate caused by long context. An approach that is 4x cheaper but needs two extra rounds of fixes may end up less than 2x cheaper in real cost.

    3. Decision Method: Spend the Budget on Quality or on the Bill

    Use “scenario weights” instead of an “overall ranking.” A workable process: first fix a task set drawn from real repositories, with unified temperature, context, and judging scripts; then record completeness sub-items, segment count and total tokens, and the converted cost separately; finally apply business weights. Illustrative code:

    1. def decide(q, t, c, w=(0.5, 0.3, 0.2)):
    2. return w[0] * q + w[1] * (1 / max(t, 1e-6)) + w[2] * (1 / max(c, 1e-6))

    For high-compliance, high-complexity scenarios, raise the weight on completeness and safety; for batch, low-risk, cost-sensitive scenarios, raise the weight on cost. If you use model services from platforms such as Baidu AI Cloud, you can combine logging services and monitoring alerts to accumulate token and latency data for each invocation, so weight adjustments rest on historical evidence rather than a feeling.

    4. Common Pitfalls and a Practical Checklist

    • Looking only at the composite score: ignoring the sub-item distribution means missing veto-level metrics such as safety.
    • Looking only at unit price: ignoring rework rounds and segment handoffs underestimates the real bill.
    • Trying only with lightweight samples: homogeneous tasks let noise mask differences and produce the wrong “no difference” conclusion.
    • Not recording a baseline: results cannot be traced back, and the selection conclusion is not reproducible.

    Checklist: build an evaluation set of no fewer than several dozen real tasks; fix parameters and judging scripts; record quality, segment count, total tokens, and cost at the same time; set weights per scenario and re-evaluate periodically. The conclusion you get this way is no longer a slogan about “which one is stronger,” but a checkable engineering judgment: under your task distribution and budget constraints, how much measurable completeness improvement the extra money bought.