LLM Evaluation: A Practical Guide to Multi-Dimensional Quantitative Comparison

    Vendor claims rarely match your workload. This guide covers four evaluation dimensions—accuracy, latency, token use, and cost—plus a reproducible benchmark process, normalized composite scoring, how to read trade-offs, and common pitfalls so model selection stays evidence-based.

    Why systematic model evaluation matters

    New large language model versions appear every few months. Vendor messaging often stresses lower cost, stronger performance, and wins on selected benchmarks. Those numbers can inform a shortlist, but they rarely support an engineering decision on their own. Public results usually come from vendor-chosen datasets and scenarios that diverge from your traffic. A lead on a single metric is not a better product: a more accurate model that doubles latency and raises cost may be the wrong choice for high-concurrency online use.

    A reproducible evaluation system of your own is the basis for rational selection. It turns a vague sense that something is better into comparable numbers, so technical choice and budget rest on evidence.

    Four core evaluation dimensions

    A complete comparison should cover at least the four dimensions below. They constrain one another and should be weighed in one table.

    • Accuracy (quality). Share of outputs that are correct or meet the expected standard. It is the most intuitive capability metric, but it must be tied to the business. General benchmarks reflect overall level; they rarely cover vertical needs in education, finance, healthcare, and similar domains.
    • Response latency (experience). Typically mean time per call. It drives how smooth online interaction feels. Latency depends on input and output length, server load, and network conditions. Shortly after a launch, traffic spikes often inflate latency; it usually falls once load stabilizes.
    • Token consumption (efficiency). Average tokens per call. It affects both latency and cost. A cheaper unit price can still cost more overall if the model is verbose.
    • Call cost (economics). Often measured as spend per thousand calls or per million tokens. It is the combined outcome of the other three dimensions and the number that budget reviews use.

    Building a reproducible benchmark process

    Credible comparisons need a standardized process. Suggested steps:

    1. Fix the test set. Prepare a large enough set (often on the order of tens of thousands of samples) that covers core business tasks, and use the same set for every model.
    2. Align call parameters. Temperature, max output length, system prompts, and similar settings must match so extra variables do not confound results.
    3. Average over multiple samples. Latency and token use fluctuate. Call each sample several times and average to reduce one-off jitter.
    4. Break down by domain. Besides overall scores, split by business domain to see strengths and weaknesses.
    5. Record environment conditions. Note test time and concurrency so later retests can be aligned.

    Metric normalization and composite scoring

    The four dimensions have different units, so summing them raw is meaningless. In practice, normalize then apply weights. Illustrative code:

    1. def normalize(value, vmin, vmax, higher_is_better=True):
    2. """Normalize a metric to the [0, 1] interval."""
    3. if vmax == vmin:
    4. return 1.0
    5. ratio = (value - vmin) / (vmax - vmin)
    6. return ratio if higher_is_better else 1 - ratio
    7. def composite_score(metrics, weights):
    8. """
    9. metrics: per-model metrics, e.g. {"accuracy": 0.715, "latency": 72,
    10. "tokens": 2731, "cost": 53.5}
    11. weights: dimension weights set by business priority
    12. """
    13. dims = {
    14. "accuracy": (metrics["accuracy"], True),
    15. "latency": (metrics["latency"], False),
    16. "tokens": (metrics["tokens"], False),
    17. "cost": (metrics["cost"], False),
    18. }
    19. # vmin/vmax should be computed dynamically from the models under comparison
    20. score = 0.0
    21. for key, (val, higher) in dims.items():
    22. vmin, vmax = BOUNDS[key]
    23. score += weights[key] * normalize(val, vmin, vmax, higher)
    24. return score

    Weights are the main design choice. Online support should weight latency more; offline batch jobs can emphasize accuracy and cost. There is no universal formula; it depends on the product.

    How to read a comparison set

    Suppose a run produces the following illustrative results (method only, not a real product):

    • The new version reaches 71.5% accuracy, about 10.9 percentage points above the previous generation’s 60.6%, and moves up clearly in overall rank.
    • By domain, education improves most (+27.5 percentage points); reasoning and math, finance, and healthcare also show double-digit gains.
    • Mean latency rises from 40s to 72s, possibly related to launch-time load.
    • Cost per thousand calls rises from 43.2 to 53.5 currency units, about 23.8%.

    Read it in three parts: the accuracy jump is the main gain, especially in previously weak domains; higher latency and cost are the price, and acceptability depends on the scenario; early-launch latency is noisy—retest after the service is stable before deciding. Benefit–cost–retest is more reliable than a single composite number.

    Common mistakes and better practice

    • Mistake 1: Accuracy only. Ignoring latency and cost often yields a high-benchmark model that is too expensive or too slow to use.
    • Mistake 2: Copying vendor benchmarks. Different test distributions can reverse rankings; always validate on your own data.
    • Mistake 3: One evaluation forever. Models keep shipping; schedule periodic retests.
    • Better practice: Version evaluation scripts, test sets, and parameter configs so every comparison is traceable and reproducible. Turn results into a selection dashboard the team can use together.

    Summary

    Model selection is finding the balance among quality, experience, efficiency, and cost that matches the business. Rather than following single-metric marketing, build an evaluation system that covers the four dimensions, standardizes process, and produces reproducible numbers. With normalized weighting and domain-level reading, “which model is better” becomes a table you can quantify and act on, so you stay deliberate in a fast-moving market.