LLM Evaluation: From Accuracy to Engineering Cost

    Evaluating large language models requires more than a leaderboard score. Using a benchmark of approximately 15,000 questions as a methodological example, this article explains how to interpret accuracy, latency, token usage, and cost; build reproducible evaluations; analyze failures; and choose deployment strategies that meet business requirements for quality, reliability, safety, and efficiency.

    1. Separate Commercial Milestones from Technical Evidence

    An IPO, funding round, or increase in market attention can signal commercial progress. None directly proves that a model leads in accuracy, reliability, or engineering efficiency. For developers and enterprise users, the practical questions are whether a model can complete the target task, how long it takes, how many resources it consumes, and whether it remains reliable under high concurrency and exceptional conditions.

    Model evaluation should therefore move from “Which model gets the most attention?” to “Which tasks, under which conditions, measured by which metrics?” A useful technical report needs more than rankings and aggregate scores. It should explain the test set, request configuration, scoring method, failure handling, and cost accounting.

    The source material reports results from approximately 15,000 test questions. Rather than ranking or recommending specific products, this article uses those figures to illustrate how evaluation results can inform engineering decisions. Because the complete test configuration and per-question records are unavailable, the analysis stays within what the reported evidence supports. These figures should not be treated as generally applicable performance claims.

    2. What the Core Metrics Tell You

    The reported evaluation includes the following figures:

    Metric Reported value What it indicates
    Test size Approximately 15,000 questions A starting point for assessing evaluation coverage
    Overall accuracy 71.5% Task performance under the specified scoring method
    Average latency per call 96 seconds Average waiting time under the test conditions
    Average token usage per call 3,922 tokens Text-processing resource consumption
    Average cost per 1,000 calls CNY 52.5 Request expenditure under the stated accounting method

    These metrics need to be interpreted together, not as isolated numbers where higher or lower is automatically better.

    Accuracy: Understand the Denominator and Scoring Rules

    An overall accuracy of 71.5% is comparable only when the task mix and scoring rules are clear. “Correct” means different things for multiple-choice questions, open-ended answers, code generation, and tool use. Some tasks allow direct comparison with a reference answer. Others require checking whether constraints were satisfied or verifying the actual state after execution.

    If accuracy is calculated simply as correct answers divided by total questions, 71.5% of approximately 15,000 questions corresponds to roughly 10,725 correct answers. If the overall score is a weighted combination of category scores, that conversion is not valid.

    A large sample also does not guarantee business relevance. If a benchmark is dominated by knowledge questions while the application primarily depends on tool use, overall accuracy may conceal critical risks.

    Latency: Averages Do Not Capture User Experience

    An average latency of 96 seconds indicates lengthy calls under the reported conditions. It does not reveal whether the bottleneck is model inference, output length, queueing, or external tool execution.

    Engineering evaluations should distinguish at least:

    • Time to first output: How long users wait before seeing the first content.
    • Full-response latency: How long it takes to receive the complete response.
    • End-to-end task time: Total time, including retrieval, tool execution, and result validation.
    • Tail latency: How long the slowest portion of requests takes.

    Streaming can reduce the wait for the first visible output, but it does not automatically reduce total task execution time. If a downstream system needs the complete result before proceeding, faster initial output does not necessarily make the business workflow faster.

    Token Usage: Not the Same as Answer Length

    Tokens are units used by models to process text. They are not equivalent to Chinese characters, words, or individual characters. An average usage of 3,922 tokens per call still requires clarification: does it include input tokens, output tokens, or other metered categories?

    System prompts, conversation history, retrieved material, tool descriptions, and tool results can all increase input size. Optimizing token usage should therefore go beyond asking the model to produce shorter answers. It should also examine duplicate context, overly long tool descriptions, and irrelevant retrieved passages.

    Call Cost: Distinguish Billing Cost from Business Cost

    CNY 52.5 per 1,000 calls works out to approximately CNY 0.0525 per call. This helps estimate request expenditure, but it does not directly measure the cost of completing a business task.

    One task may require multiple calls, retries, recovery from tool failures, or human review. A more complete cost calculation includes model calls, external resources, retries, and manual processing.

    3. Describe Capability Changes in Percentage Points

    The reported language-understanding and instruction-following score increased from 64.6% to 69.3%. That is an increase of 4.7 percentage points, or approximately 7.3% relative to the original score. These descriptions are not interchangeable.

    The change may matter for format constraints, tasks with multiple conditions, and complex instructions. It does not establish that every related business workflow improved. A more informative analysis examines which questions changed from incorrect to correct and whether those questions reflect actual requirements.

    Meanwhile, the tool-use score decreased from 69.9% to 68.1%, a decline of 1.8 percentage points. Different capability dimensions can move in different directions: stronger language understanding does not necessarily mean better tool execution.

    Accuracy and latency changes alone cannot prove that a model uses a more complex internal reasoning mechanism. Nor do they establish that a decline resulted from a capability trade-off. Prompt differences, request parameters, tool definitions, scoring errors, and test variability can all affect results. Explaining the cause requires per-question records, repeated experiments, or substantiated technical documentation.

    4. Why Equal Scores Can Produce Different Engineering Outcomes

    The source material also describes two test results with the same overall accuracy of 71.5%, but average latencies of 96 seconds and 72 seconds.

    Numerically, 96 seconds is 24 seconds longer than 72 seconds, or approximately 33.3% higher. That comparison is meaningful only if the task set, concurrency conditions, timeout configuration, and latency definition are consistent.

    Even under those conditions, equal aggregate scores do not make two solutions interchangeable. They may answer different questions correctly or exhibit different failure patterns:

    • One may perform better on long-document analysis, while the other handles short instructions more effectively.
    • One may frequently produce formatting errors, while the other makes more factual errors.
    • One may recover readily through retries, while the other requires human intervention.
    • One may have lower average latency but extremely long waits for a small subset of requests.

    Aggregate scores provide an overview. Task-level performance, failure types, and latency distributions provide the basis for selection. Without explicit ranking rules, different leaderboard positions for equal scores should not be interpreted as a definitive capability gap.

    5. How to Build a Reproducible Evaluation

    Build the Test Set Around Business Tasks

    Group tasks into categories such as knowledge questions, text processing, complex reasoning, code generation, and tool use. Assign weights according to business frequency and the consequences of errors.

    High scores on many low-risk questions must not offset failures on high-risk tasks. For example, tasks involving data writes or permission changes require separate checks for unauthorized actions and incorrect execution, even when overall success rates are high.

    The test set should also include ambiguous inputs, insufficient information, abnormal responses, and boundary conditions—not just the happy path.

    Control Inputs and Runtime Conditions

    When comparing solutions, keep prompts, context length, tool definitions, output constraints, concurrency, timeouts, and retry policies as consistent as possible. Record the actual request configuration.

    For tasks affected by randomness, repeat tests to observe variability. When two solutions run against the same questions, prioritize paired, per-question analysis to identify which samples changed rather than relying solely on aggregate scores.

    Separate First-Attempt Success from Success After Retries

    Reporting only final success rates can hide heavy dependence on retries. Track first-attempt success, success after retries, average number of attempts, and final failure rate separately.

    Retries can improve completion rates for some tasks, but they usually increase both cost and latency. If an error comes from consistently missing context or a flawed tool definition, repeated calls may not help.

    Keep Auditable Failure Records

    Evaluation logs should capture request content, configuration, responses, latency, usage, scoring evidence, and failure causes. Sensitive information should be redacted, with access controls and retention limits in place.

    Failure categories should distinguish at least:

    • Factual errors
    • Reasoning errors
    • Instruction violations
    • Formatting errors
    • Incorrect tool parameters
    • Timeouts
    • External dependency failures

    Different failures require different remedies. They should not all be attributed to insufficient model capability.

    6. Move from Cost per Call to Cost per Successful Task

    Enterprises need to know how much it costs to complete a task that meets their requirements, not merely how much each request costs.

    A useful calculation is:

    Average cost per successful task = Total task-related cost during the evaluation period ÷ Number of tasks meeting acceptance criteria

    For a simplified estimate, assume:

    • Each task requires exactly one call.
    • Every call costs an average of CNY 0.0525.
    • The 71.5% accuracy figure can serve as the task acceptance rate.
    • All other costs are excluded.

    Under those assumptions, the average model-call cost per successful task is:

    CNY 0.0525 ÷ 0.715 ≈ CNY 0.0734

    This is a calculation based on explicit assumptions, not an additional measured result. In production, failed requests may be longer, retries may consume more resources, and some errors may trigger human review. Actual operational records should take priority when calculating costs.

    The source material also lists a price of CNY 1 per million output tokens. That figure cannot directly explain the reported CNY 52.5 per 1,000 calls. The input/output breakdown of the 3,922 tokens is unknown, and input pricing and other charges are not provided. Cost analysis must reconcile billing line items rather than multiply total token usage by the output-token price.

    7. Match Deployment Strategies to the Use Case

    Real-Time Interaction: Set a Latency Budget

    For consultation, interactive assistance, and immediate question answering, focus on time to first output, high-percentile full-response latency, and timeout rates.

    Potential improvements include trimming context, limiting unnecessarily long answers, caching reusable results, and moving complex tasks into asynchronous workflows. Recheck quality after every optimization so that speed does not come at the expense of critical constraints.

    Complex Analysis: Make Results Verifiable

    Long-document analysis, complex reasoning, and coding tasks may justify longer execution times, but they need explicit acceptance criteria.

    Check whether answers cover essential conditions, whether conclusions are supported by the supplied material, and whether generated code passes actual tests. Fluent writing or lengthy output is not evidence of correctness.

    Tool Use: Put Safety Controls in the Execution Path

    Tool use is more than generating text. It includes selecting a tool, constructing parameters, interpreting results, and deciding what to do next.

    Operations with side effects should use controls such as parameter validation, least privilege, idempotency, human confirmation, and audit logging. A model-generated request to call a tool must be validated before execution; it is not trusted authorization.

    For multistep tasks, measure success across the entire workflow separately. A high single-step success rate does not guarantee reliable completion of a sequence. Errors may also be correlated, so independence between steps should not be assumed.

    8. Evaluate Models Through Business Outcomes, Not a Single Score

    LLM capability needs support from multiple forms of evidence. Accuracy measures result quality, latency affects interaction quality, token usage reflects resource consumption, and cost determines the economics of sustained operation.

    A reliable evaluation process defines business tasks, builds the test set, controls conditions, measures individual dimensions, analyzes failures, and calculates costs. Small-scale deployment should then validate performance in real operating conditions.

    The goal is not to choose the model with the highest abstract score. It is to select a technical solution that meets quality thresholds, latency budgets, safety requirements, and cost constraints for the target workload. Connecting offline evaluation with production outcomes is what turns model capability into engineering value that can be delivered and maintained.