How to Evaluate a New LLM’s Real-World Capabilities

    Launch-day benchmarks and one-off demos are not enough to choose a model for production. This article explains how to run reproducible evaluations across task success, cost per successful task, latency and throughput, and quota reliability, then turn the results into a practical rollout strategy with tiered routing, verification loops, and observability.

    1. Why Launch-Day Verdicts Are Usually Unreliable

    When a new large language model launches, the first community reports typically fall into two categories: benchmark comparisons and accounts of using the model to complete a large project. Both are useful, but neither is sufficient for an engineering decision.

    Benchmarks suffer from distribution shift. The style, length, and expected answer format of public benchmark questions can differ substantially from your production traffic. There is also a natural incentive to optimize for benchmarks, so a higher score does not necessarily translate into a higher success rate on your tasks.

    Project demos have a different problem: a sample size of one. A successful run may reflect model capability, but it may also result from the prompt, supporting scaffolding, and luck.

    The right approach is therefore not simply to assign a score. It is to run a reproducible, controlled comparison on your own traffic distribution. Four dimensions matter most.

    2. Capability: Use an Internal Evaluation Set, Not Just Public Leaderboards

    Public leaderboards are useful for initial screening. Production decisions require an evaluation set built around your workload.

    1. Sample real requests. Cluster production requests by intent and sample from those groups. Preserve the original context and tool-call traces, remove sensitive information, and freeze the resulting dataset.
    2. Define verifiable acceptance criteria. Prioritize tasks that can be judged programmatically, such as unit-test results, schema validation, or compilation success. This reduces the noise introduced by subjective scoring.
    3. Report results by segment. Break results down by task difficulty, context length, language, and framework rather than reporting only an aggregate score.

    An illustrative evaluation loop:

    1. def evaluate(model_client, cases, judge):
    2. report = defaultdict(lambda: {"n": 0, "pass": 0, "tokens": 0, "latency": 0.0})
    3. for c in cases:
    4. t0 = time.perf_counter()
    5. out = model_client.generate(c.prompt, effort=c.effort)
    6. dt = time.perf_counter() - t0
    7. ok = judge(c, out) # Compilation, unit tests, or schema validation
    8. b = report[(c.bucket, c.effort)]
    9. b["n"] += 1
    10. b["pass"] += int(ok)
    11. b["tokens"] += out.usage.total
    12. b["latency"] += dt
    13. return {k: {**v, "pass_rate": v["pass"] / v["n"]} for k, v in report.items()}

    The key requirement is consistency: use the same test cases, the same evaluator, and the same concurrency level when comparing models.

    3. Cost: Measure Cost per Successful Task, Not Just Token Prices

    Token prices matter, but they can be misleading in isolation. A useful normalized estimate is:

    1. Expected cost per successful task =
    2. (Input tokens + Output tokens × Output-to-input price ratio)
    3. ÷ Task success rate

    This expresses cost in input-token price units; applying the input-token price converts it into monetary cost.

    Three factors are easy to overlook:

    • Input and output pricing are asymmetric. Output tokens often cost several times more than input tokens. Agents can produce long tool-call arguments and patches, making output a major cost driver.
    • Context grows across turns. Long-context support does not make long context free. If the full conversation history is replayed on every turn, cumulative input-token usage can grow quadratically as the conversation expands. Context compression, summarization, and retrieval instead of full-context injection should be priorities in cost engineering.
    • Caching and batch processing change the bill. Prefix caching and batch-processing channels can materially affect actual costs. Evaluate with the same settings used in production; otherwise, the results are not comparable.

    Treat cost per successful task as a first-class metric alongside latency, rather than relying on price per million tokens.

    4. Throughput and Latency: Separate Time to First Token from Steady-State Speed

    User experience depends on two distinct measurements:

    • Time to first token (TTFT): Determines how responsive an interaction feels. Queueing and input length can have a substantial effect.
    • Steady-state tokens per second (TPS): Determines the wall-clock duration of long-output tasks, such as refactoring code or generating tests.

    You also need to measure the performance degradation curve under concurrency. As concurrency rises from 1 to 8, 32, and 64, how do TPS and error rates—such as HTTP 429 and 503 responses—change?

    Many complaints that a model is “slow” actually reflect queueing after account-level or project-level concurrency limits have been reached, rather than slow generation by the model itself.

    5. Quotas and Reliability: An Often-Underestimated Production Risk

    One valuable lesson from hands-on reports is frequently absent from leaderboards: different capability tiers may have entirely different quota consumption rules and reset cycles.

    • Some high-capability tiers use a long-cycle quota pool, such as a weekly reset. Once exhausted, the tier may remain unavailable until the next reset.
    • Other tiers may share a short rolling window with lightweight models, such as an hourly refresh, allowing capacity to recover after a traffic spike.
    • Exhaustion behavior must be verified explicitly. Does the service fail, queue requests, or silently fall back to a smaller model? Silent fallback is particularly risky because it may produce no error while gradually reducing task success rates.

    Capacity planning should therefore include quota-usage monitoring, circuit breaking and queueing before exhaustion, and observable fallback behavior, including recording the actual serving tier in responses.

    6. Reasoning Effort: Diminishing Returns and Verification Loops

    Many newer models offer multiple reasoning-effort levels, such as low, medium, high, and very high. A practical pattern is:

    • Low effort suits classification, extraction, and formatting, with favorable cost and latency.
    • Medium and high effort can provide meaningful gains for multistep reasoning and cross-file refactoring.
    • The highest setting may offer limited additional gains while sharply increasing cost and latency. Reserve it for offline batch processing or high-value tasks.

    More important than the effort setting is a verification loop. Let the model run compilation, unit tests, and static checks in a restricted environment, then feed failures back into the next repair attempt. Verifiable feedback often improves success rates more than simply increasing reasoning effort.

    1. for attempt in range(3):
    2. patch = agent.propose(issue, context)
    3. r = sandbox.run(tests=issue.tests, patch=patch)
    4. if r.passed:
    5. return patch
    6. context = context + r.failure_summary # Feed failures back into the next attempt
    7. raise VerificationError(issue.id)

    7. Production Implementation: Tiered Routing, Gradual Rollout, and Observability

    Combine the four evaluation dimensions into an operational model-access layer:

    1. def route(task):
    2. if task.est_tokens > 300_000:
    3. return "long_context_tier" # Long-context tier
    4. if task.requires_code_verification:
    5. return "reasoning_high_tier" # High reasoning effort plus verification
    6. return "fast_tier" # Lightweight tier for high-volume tasks

    Support this routing layer with three practices:

    1. Gradual rollout. Start by sending 5% of traffic to the new model. Use task success rate, cost per successful task, and P95 latency as guardrails, with automatic rollback.
    2. Observability. Consistently record the actual serving tier, token usage, quota utilization, and fallback events. Send logs to a logging service and metrics to monitoring and alerting systems. Set threshold alerts for quota utilization.
    3. Abstraction and isolation. Wrap model calls behind a unified gateway so application code does not depend on a specific model. This reduces model replacement to a configuration change. The same principle applies when using managed cloud services, including Baidu AI Cloud model services and associated logging and monitoring capabilities: retain the abstraction layer rather than coupling applications to one implementation.

    8. Common Evaluation Mistakes

    • Making production decisions from aggregate public benchmark scores.
    • Comparing token prices without comparing cost per successful task.
    • Comparing models without production-equivalent caching and batch settings.
    • Ignoring quota reset cycles and treating long-cycle quota pools as unlimited resources.
    • Assuming quota exhaustion causes a hard failure without testing fallback behavior.
    • Treating long context as free and allowing cumulative input costs to grow quadratically.
    • Adjusting reasoning effort without building a verification loop.

    Conclusion

    Evaluating a new model means answering four measurable questions:

    1. What is its success rate on my tasks?
    2. What is the expected cost of completing a task successfully?
    3. How do latency and error rates change as concurrency increases?
    4. Is its behavior under quota exhaustion controllable and observable?

    Turn these questions into a repeatable evaluation pipeline. With that pipeline in place, a new model release can be assessed within a day using credible, workload-specific evidence—a more durable basis for engineering decisions than any single benchmark or demo.