How to Evaluate a New LLM Version: A Reproducible Model Selection Workflow

    When model versions update frequently, teams cannot rely on leaderboard scores alone to make decisions. Leaderboards rarely reflect your actual workloads and seldom disclose full test conditions. This article explains how to design a reproducible evaluation across four dimensions—identity and knowledge cutoff, multi-step reasoning, code generation, and multi-turn interaction consistency—plus how to measure cost-effectiveness and identify boundaries where the model cannot be trusted.

    When model versions update frequently, it is difficult for teams to make decisions based solely on leaderboard scores. Leaderboards usually do not reflect your own business workloads, and they rarely publish complete test conditions. Therefore, instead of reporting the scores of any specific model, this article explains how to design a reproducible evaluation and how to interpret each type of result.

    1. Record Test Conditions First—Otherwise Results Are Not Comparable

    The same model can behave very differently under different parameter settings. Before each test run, record at least the following:

    • Model name, version number, and the date of the API call.
    • Temperature, top_p, maximum output length, and context length.
    • The full text of the system prompt.
    • Whether web access or tool calling is enabled. For pure reasoning tests, these capabilities should be turned off so that retrieval results do not mask the model’s own performance.
    • The number of repetitions per question. It is recommended to run each question at least three times and record the pass count, because answers to the same question may not be fully consistent.

    The question set also needs documented provenance and size. Questions should be split into a development set and a test set. The development set is used to tune the scoring rubric; the test set is run only once at the very end, preventing the team from repeatedly modifying questions to chase higher scores. Scoring criteria should be finalized before the run and not changed afterward.

    Latency metrics also need a clear definition. Reporting only “total time for six questions” says little. A more useful practice is to record time to first token and full response time for each request, and report the median and 95th percentile.

    2. How to Test the Four Dimensions

    This article uses four evaluation dimensions. Each dimension corresponds to specific question types and scoring methods, making it easy to verify results item by item.

    2.1 Identity and Knowledge Cutoff

    Ask the model questions such as “When does your training data end?” or “Which version are you?”, then compare the answers against the provider’s published documentation. If the version the model claims does not match the model name returned by the API, record it as a failure.

    A model’s description of itself is generated text, not equivalent to system configuration. The most reliable approach is to place version information in the system prompt or API metadata, have the model reference it, and check whether it quotes the information faithfully.

    A typical failure case: the model confidently states a cutoff date later than the real one, or fabricates details when asked about events near the cutoff. Therefore, before relying on the model for recent facts, run dedicated tests with recent questions whose answers are already known.

    2.2 Multi-Step Reasoning

    Prepare a set of compound-condition problems with known answers, each requiring step-by-step calculation. Scoring should not look only at the final answer—the intermediate steps must also be checked.

    Two situations should be recorded separately. In the first, the final answer is correct but the intermediate derivation contains errors, which means the conclusion may have been reached by luck. In the second, the final answer is wrong but the derivation is fluent and plausible. The latter is more dangerous in production, because the error is hard to spot.

    Reasoning tests should be conducted without time limits. If you also need to measure speed, design a separate speed test—do not mix time pressure into reasoning accuracy.

    2.3 Code Generation

    Provide the model with documentation excerpts for the target API and ask it to write a function. Scoring proceeds in three steps:

    1. Check whether every module and function referenced in the import statements actually exists in the pinned dependency versions. You can verify this by importing them one by one in a clean virtual environment.
    2. Run the code in a sandbox and validate the output with unit tests.
    3. Check for obvious security issues, such as hardcoded credentials, running eval on user input, or concatenating unescaped SQL.

    The first step is especially important. Models sometimes generate import paths or function names that look reasonable but do not exist. This is hallucination, indicating an inaccurate grasp of the library’s interface. Such code fails immediately in a real environment and can sometimes introduce dependency confusion risks. Therefore, any generated code must pass dependency existence checks and runtime tests before being merged.

    2.4 Multi-Turn Interaction Consistency

    Design a set of multi-turn conversations. In the first turn, ask the model to recommend a non-mainstream approach; in the second turn, ask it to add content irrelevant to the topic into its answer. Record the model’s behavior in the following categories:

    • Complies directly without any note: 0 points.
    • Complies but includes a warning: 1 point.
    • Refuses and explains why: 2 points.
    • Refuses and offers an alternative: 3 points.

    This dimension measures instruction following and safety policy, not just capability. Refusal is not necessarily better. If your business requires the model to output in an internal format, excessive refusal reduces usability. When scoring, judge which behavior is more appropriate based on your business scenario.

    3. How to Calculate Cost-Effectiveness

    A model with a lower unit price does not necessarily have a lower total cost. If it needs more rounds to produce a usable result, the total cost may be higher. The following metrics are recommended:

    • First-pass rate = number of tasks passed on the first attempt / total tasks
    • Average interaction rounds = average number of user messages needed to complete each task
    • Average token consumption = sum of input and output tokens across all tasks / number of tasks
    • Manual correction rate = lines of code requiring human edits / total lines of generated code

    The table below contains fictional example numbers used only to demonstrate the calculation method; it does not represent the performance of any real model:

    Metric Model A Model B
    First-pass rate 70% 58%
    Average interaction rounds 1.8 2.9
    Average token consumption 3,200 2,100
    Manual correction rate 12% 21%

    In this example, Model B consumes fewer tokens per call, but its pass rate is lower, it needs more rounds on average, and its manual correction rate is higher. The team must calculate token fees and human time together to compare the total cost of the two models.

    4. Failure Cases and Boundaries Where the Model Cannot Be Trusted

    The evaluation report should clearly state in which situations the model cannot be relied upon. Based on the test methods above, the following cases require human review:

    • Content involving recent facts, especially events near the knowledge cutoff.
    • Generated code that calls third-party libraries without dependency verification.
    • Long reasoning chains whose intermediate steps have not been checked one by one.
    • High-risk scenarios such as medical, financial, and legal applications. Even if the model passes the tests, human review remains necessary in these domains.