Evaluating LLMs on Three Axes: Quality, Latency, and Cost

    A practical framework for LLM selection that puts quality, latency, and cost into a single reproducible comparison. Learn why "it feels about the same" is an unreliable conclusion, how to break quality into verifiable sub-items, why single-response output limits drive waiting time, and how list-price multiples shape your bill. Includes a scoring snippet, a segmentation model, and a checklist for repeatable evaluations.

    1. Why “It Feels About the Same” Is the Most Dangerous Conclusion

    When model capabilities iterate quickly, many teams’ first impression during selection is that “the new version seems about the same.” The problem with this subjective judgment is not whether it is right or wrong, but that it cannot be re-checked: without fixed test questions, a fixed scoring rubric, and latency and cost placed in the same table, no conclusion can be reproduced by anyone else.

    More often, the evaluation is split across three scenarios that never contradict each other: the demo uses short Q&A, the bill comes from long context, and what users complain about is waiting time. Each of the three holds up on its own, yet together they contradict one another. So the first step in professional selection is not to ask “which one is stronger,” but to break the question into three things that can be verified independently:

    • Is the delivered output good enough (quality axis)?
    • How long do you wait (latency axis)?
    • How much does it cost in total (cost axis)?

    The entire work of this article is to turn these three things into numbers that can be checked independently, and then reassemble them into one plain sentence.

    2. Three Axes in One Frame: Conclusion First, Data Second

    Under a publicly reproducible measurement standard (the data cutoff should be labeled with the evaluation date, and prices follow the vendor’s list price), a typical conclusion looks like this:

    Dimension Conclusion Key evidence (re-checkable)
    Output completeness The leader’s advantage is small, about 2%–3% Composite index under the same standard is close; sub-item win/loss ratio is about 4:2
    Latency (one-shot output) The gap in single-response output ceiling can be several times Different numbers of segments needed for a long deliverable
    Latency (length of speech) Some models output significantly more tokens per turn Per-turn cost-token deviation
    Cost (list price) Input, output, and cached input may differ by whole-number multiples Three-item comparison of both vendors’ official list prices

    The most important information in this table is not who wins, but this: the quality gap is a single-digit percentage, while the cost gap is a whole-number multiple. This is the quantified source for “spend the budget on quality or on the bill.”

    Standard note: only publicly reproducible data is accepted; anything derived is labeled separately with its assumptions.

    3. Quality Axis: Breaking “Completeness” into Checkable Sub-items

    When the composite index is close, what really carries information is the sub-item distribution. It is recommended to break it into at least six items: instruction following, structured output, code correctness, long-document consistency, factuality, and safety. Four of them share a benchmark for win/loss statistics, avoiding a single average score that hides weaknesses.

    One key observation: the safety item is often the only sub-item that gets overtaken. This reminds us that quality is not a scalar; selection must be weighted by business priorities rather than by total score.

    An illustrative weighted calculation:

    1. weights = {"instruction_following": 0.2, "structured_output": 0.15, "code_correctness": 0.2,
    2. "long_doc_consistency": 0.15, "factuality": 0.15, "safety": 0.15}
    3. def score(detail): # detail: same-standard index for each sub-item
    4. return round(sum(weights[k] * detail[k] for k in weights), 1)

    4. Latency Axis: The Dividing Line Is Not Typing Speed, but How Much You Get in One Pass

    Latency is often misunderstood as “time to first token.” In real delivery, two things determine waiting time: the single-response output ceiling, and the length of one turn.

    • The single-response output ceiling determines the number of segments. If the ceilings differ by several times, a 200,000-token deliverable might be written in one segment, or might have to be stitched from two segments, and waiting time and stitching complexity rise together.
    • Output length per turn determines total token consumption. If a model’s answer is several times the token count of the median model per turn, it says more for the same job, and the bill grows accordingly.

    Illustrative logic for segmentation and stitching:

    1. def plan(total_tokens, max_out):
    2. n = (total_tokens + max_out - 1) // max_out
    3. return {"segments": n, "wait_factor": n} # rough estimate of waiting and failure surface

    5. Cost Axis: Whole-Number Multiples in List Price Are the Main Driver of the Bill

    Cost must be viewed across four items at once: input, output, cached input, and tokens per turn. A common situation is that the first three happen to form whole-number multiples (for example, input and output differ by 4x), and then longer output per turn is added on top, so the actual bill gap gets amplified.

    1. cost per task ≈ input tokens × input price + output tokens × output price
    2. + cache-hit tokens × cache price

    Therefore, for long-context scenarios with many repeated prefixes, the cache hit rate often affects the bill more than the unit price itself.

    6. A Reproducible Evaluation Method (Implementation Checklist)

    1. Fix the question set and scoring script, and record all metrics together with the evaluation date and version number.
    2. Present the three axes—quality, latency, and cost—in the same table; reporting only an average score is not allowed.
    3. Validate long-text tasks with storyboard-script-style work: visuals and narration synchronized second by second, testing long-range consistency and structured output.
    4. Label all derivations with their assumptions; list prices follow the official source.
    5. Maintain document details such as the table of contents and page numbers with automatic fields, refreshed by selecting all, to avoid manual maintenance causing standard drift.

    7. Conclusion

    When the quality gap is only a single-digit percentage but the cost gap is a whole-number multiple, the rational approach is to decide the tradeoff by business weight: pay for quality in scenarios where errors are costly, and optimize for cost in throughput-sensitive scenarios. Put the three axes on the same table, and selection is no longer taking sides, but a re-checkable engineering decision.