Choosing a Large Language Model: How to Evaluate Real Engineering Value Beyond Benchmark Scores

    Public benchmark scores often look strong after a model launch, while day-to-day results inside a team can be only average. This article explains how to align evaluation with real work by measuring task quality, cost, latency, stability, and controllability; reading the limits of public scores; building an internal evaluation set; estimating per-task cost; trading off reasoning effort; testing tool-use safety; and running a repeatable selection process.

    After a model is released, public leaderboard scores often look impressive, while the same model performs only modestly in day-to-day use. Most of that gap comes from a mismatch between evaluation tasks and business tasks. A leaderboard measures a fixed set of questions under fixed conditions. A business cares about its own data, its own prompts, its own budget, and the failure rate it can tolerate. Aligning evaluation conditions with business conditions is the first step in model selection.

    Define the evaluation dimensions

    Selection should look at at least five dimensions:

    1. Task quality: Whether the output is correct, complete, and usable as-is.
    2. Cost: The actual spend for a single task, not the unit price alone.
    3. Latency: Time to first token and time to a complete response.
    4. Stability: Consistency across repeated runs of the same input, plus how often rate limits and timeouts occur.
    5. Controllability: Whether the output format can be constrained, and whether tool calls stay within the authorized scope.

    Judging on only one dimension tends to skew the conclusion. A higher-quality model may double the cost of each task, which may not pay off for high-volume batch work. Conversely, a cheaper model that often needs human rework can cost more overall.

    Understand the limits of benchmark scores

    Public benchmarks usually have three limitations.

    First, the question distribution differs from the business. A score on a math or coding set does not directly predict performance on contract review or report analysis.

    Second, the test set may already overlap with training data, which inflates scores. Before relying on a score, check how much the questions overlap with public corpora, and watch whether the score drops on new data.

    Third, a score is an aggregate and hides failure types. A model with a high average may keep failing on a class of critical tasks—the failures the business can least afford.

    Treat leaderboards as a shortlist, not a final answer.

    Build your own evaluation set

    An evaluation set is the most valuable asset in selection. Build it as follows:

    1. Sample from real tickets and business logs. Cover both frequent and long-tail scenarios, with at least 20 to 50 cases in each category.
    2. Write the expected result or a scoring rule for every sample. For open-ended tasks, use a checklist instead of a single correct answer—for example, “includes the three required clauses” or “amounts match the source table.”
    3. Fix the prompt template, sampling parameters, and context so every comparison runs under the same conditions.
    4. Record the raw output, elapsed time, token usage, and error type for later analysis.

    The following minimal script skeleton shows how to run cases in batch and summarize results:

    1. import time
    2. from dataclasses import dataclass, field
    3. @dataclass
    4. class EvalCase:
    5. case_id: str
    6. prompt: str
    7. check: callable # takes model output and returns True or False
    8. @dataclass
    9. class EvalResult:
    10. model: str
    11. passed: int = 0
    12. total: int = 0
    13. latencies: list = field(default_factory=list)
    14. failures: list = field(default_factory=list)
    15. def run_eval(model_name, call_model, cases):
    16. result = EvalResult(model=model_name)
    17. for case in cases:
    18. start = time.perf_counter()
    19. output = call_model(case.prompt)
    20. elapsed = time.perf_counter() - start
    21. result.total += 1
    22. result.latencies.append(elapsed)
    23. if case.check(output):
    24. result.passed += 1
    25. else:
    26. result.failures.append(case.case_id)
    27. return result

    After a run, focus on the pass rate, the distribution of failed cases, and P50 and P95 latency. P95 reflects the slow requests users actually hit better than the average does.

    Estimate cost per task

    Model pricing is usually based on input and output token counts, and the output price is generally higher than the input price. Estimate cost per task rather than comparing only the price per million tokens. A model that reasons more thoroughly may use more output tokens, but it may also finish the task in fewer turns. The real total cost has to come from measured data.

    The formula can be written as:

    Per-task cost = input tokens × input price + output tokens × output price + extra cost from retries

    If the service bills cached repeated prefixes separately, count cached input tokens on their own. The function below shows that calculation:

    1. def estimate_task_cost(input_tokens, output_tokens,
    2. price_in, price_out,
    3. cached_tokens=0, price_cached=None,
    4. retries=0):
    5. """Prices are amounts per million tokens. Returns the estimated cost of one task."""
    6. if price_cached is None:
    7. price_cached = price_in
    8. fresh_input = input_tokens - cached_tokens
    9. per_attempt = (
    10. fresh_input * price_in
    11. + cached_tokens * price_cached
    12. + output_tokens * price_out
    13. ) / 1_000_000
    14. return per_attempt * (1 + retries)

    Use measured token counts from the same batch of real tasks, not estimates. Also include the cost of failure. If a failed task needs human rework, labor often far exceeds the model call itself.

    Trade off reasoning effort and performance

    Many models offer different reasoning-effort levels. Higher levels usually improve quality, but they also increase time and token use. A practical approach is to tier tasks:

    • High-value, low-frequency work, such as contract risk review, uses a higher level.
    • Repetitive batch work, such as log classification, uses a lower level plus sampled review.
    • Latency-sensitive interactive use prioritizes time to first token and can use streaming when needed.

    After tiering, you can add an escalation policy: start at a lower level, then call a higher level when confidence is insufficient or validation fails. That balances quality and cost.

    Tool use and safety boundaries

    Agent-style applications call external tools, which amplifies the risk of model behavior. During selection, test three kinds of problems in particular:

    1. Overreach: Whether the model calls unauthorized interfaces or accesses data unrelated to the task.
    2. Misoperation: Whether, given incomplete information, the model performs irreversible actions such as deletion or sending.
    3. Transparency: Whether the model reports errors honestly, and whether logs can fully reconstruct the call sequence.

    Engineering controls include least privilege for each tool, human confirmation for write operations, audit logs for every tool call, and parameter checks at the gateway. These controls do not depend on a specific model. Build them as default platform capabilities rather than relying on the model to follow the rules on its own.

    A reusable selection process

    1. Define the scenario: task types, average daily call volume, acceptable latency, and budget ceiling.
    2. Shortlist: using official documentation and public materials, pick two or three candidate models.
    3. Build an evaluation set and run every candidate under the same conditions.
    4. Summarize per-task cost, P95 latency, and safety-test results in a comparison table.
    5. Roll out with a small share of traffic and watch real business metrics, such as human edit rate and user satisfaction.
    6. Set a re-evaluation cadence. Model versions change quickly; rerun the evaluation each quarter or after every major update.

    Summary

    Benchmark scores are the start of selection, not the end. What actually decides the choice is the team’s own task types, data quality, cost constraints, and risk tolerance. Break evaluation into quality, cost, latency, stability, and safety, and replace a single leaderboard with an internal evaluation set. Teams can then make reproducible, explainable decisions even as models update frequently.