A Guide to LLM Capability Evaluation: From Parameter Size to Business Value

    Evaluating Large Language Models (LLMs) requires moving beyond superficial metrics like parameter size or isolated success cases. This guide explores a rigorous, business-centric approach to LLM evaluation, covering the establishment of task-specific evaluation datasets, control of experimental variables, and the assessment of coding, creative, and complex task execution capabilities. It emphasizes the importance of balancing output quality with latency and cost, transitioning from offline baseline testing to continuous validation, and ultimately turning evaluation results into actionable decision-making frameworks for developers and enterprises.

    1. Starting Point: Define the Problem Before Judging the Model

    Evaluating LLMs often falls into two traps: judging capabilities based solely on parameter size, or drawing comprehensive conclusions from a few demo tasks. The former ignores the impact of training data, model architecture, training methods, and inference resources, while the latter mistakes accidental success for stable capability.

    For developers, the more valuable question is not “which model looks stronger,” but “given specific resources and business constraints, can the model consistently complete the target tasks?”

    Therefore, rigorous evaluation should start from the business problem. For example, code assistance scenarios care about whether modifications are correct and if regressions are introduced; content production scenarios focus on expression quality, factual accuracy, and constraint adherence; process automation scenarios care about whether tasks are genuinely completed, if failures can be recovered, and whether operations exceed authorization boundaries.

    These goals require different testing methods and cannot be replaced by a single overall score. A reasonable evaluation report should clearly state the applicable tasks, experimental conditions, and result boundaries, rather than providing a capability ranking stripped of context.

    2. What Parameter Size Can and Cannot Tell Us

    Parameters are numerical values learned during training. While parameter size reflects one aspect of model capacity, it is not directly equivalent to knowledge accuracy, code correctness, or task completion rate.

    First, the quality, coverage, and organization of training data significantly impact model performance. More parameters cannot automatically compensate for low-quality data.

    Second, different model architectures may utilize parameters differently. Some sparse architectures only activate a portion of parameters during a single inference. Thus, total parameters, active parameters per inference, and actual computational overhead need to be discussed separately.

    Third, inference strategies also change outcomes. Allowing longer generation processes, more attempts, or additional tool calls may increase task completion rates but also adds latency and cost. If these conditions are not disclosed in the evaluation, the results lack interpretability.

    Additionally, whether model parameters are open-source is distinct from whether they are easy to deploy, usable for specific commercial scenarios, or accompanied by open training data—these need separate verification.

    Therefore, parameter size is suitable as background information but should not directly serve as the primary selection criterion. What truly needs verification is: under the same or explicitly comparable resource budget, how many actual problems can the model stably solve.

    3. Establishing an Evaluation Dataset Covering Real Needs

    A high-quality evaluation dataset is not just a collection of questions but a structured expression of business risks and capability requirements. It is recommended to organize tasks across the following three dimensions.

    1. Stratification by Capability Type
    Programming tasks can cover requirement understanding, code generation, defect localization, local modification, test supplementation, and boundary handling.
    Creative tasks can cover theme conception, narrative organization, language style, audience adaptation, and multi-constraint writing.
    Complex execution tasks can cover goal decomposition, information retrieval, tool usage, state tracking, exception recovery, and result verification.
    It is also necessary to separately set up tests for factual reliability, handling of insufficient information, instruction conflict identification, and safety boundaries, avoiding evaluating only “whether it can be done” while ignoring “whether it is reliable.”

    2. Stratification by Difficulty and Risk
    Simple tasks check basic capabilities, medium tasks identify common issues, and complex tasks observe stability during long-chain execution.
    Business risk does not always align with task difficulty. A seemingly simple task like extracting an amount field can cause significant losses if an error occurs. Therefore, tasks involving funds, permissions, privacy, or irreversible operations should have stricter passing criteria.

    3. Stratification by Data Source
    You can combine general public questions, self-built tasks, and desensitized real business cases. Public questions help understand the capability range but may overlap with training data, failing to fully represent the ability to handle novel problems.
    Self-built tasks should use newly constructed inputs, explicit acceptance criteria, and business-representative constraints. Real business samples must undergo desensitization, authorization, and access control to prevent introducing new data risks during evaluation.
    Furthermore, an independent test set that does not participate in prompt tuning should be retained. If you continuously modify prompts based on the same batch of questions and then use that batch to prove improvement, you are likely just overfitting to the test set.

    4. Controlling Experimental Variables for Reproducible Results

    Evaluation results depend not only on the model but also on input organization, generation settings, external tools, and the runtime environment. Without variable control, differences are difficult to attribute.

    It is recommended to save the following information for each experiment:

    • Model version and evaluation time;
    • Complete task instructions and their versions;
    • Input content, context range, and truncation strategy;
    • Output length limits and configurable generation settings;
    • Whether external retrieval, code execution, and other tool calls are allowed;
    • Retry conditions, maximum attempts, and timeout rules;
    • Runtime environment, concurrency level, and resource configuration;
    • Dataset version, scoring rules, and raw output.

    Fair comparison does not mean only using one setting. In practice, two types of experiments can be set up: “unified input” and “optimized within a fixed budget.” The former facilitates comparing performance under identical conditions, while the latter better reflects actual deployment effects. However, all optimization processes should be completed using a development set and fully disclosed.

    It is also necessary to clearly distinguish between two evaluation scopes: first, the model’s own performance under direct input; second, the performance of the complete system including prompt orchestration, retrieval, tools, and retry mechanisms. The latter has business significance, but the contributions of system components cannot be entirely attributed to the model.

    5. Evaluating Coding Capabilities: From Code Appearance to Engineering Acceptance

    Generated code with clear structure and complete comments does not guarantee functional correctness. The core of programming evaluation should be executability, verifiability, and non-disruption of existing behavior.

    The first layer is functional correctness. Tests should cover normal input, empty input, boundary values, abnormal data, and expected failure paths. Acceptance criteria should preferably be determined before evaluation, retaining test cases invisible to the model.

    The second layer is modification scope and compatibility. For defect fixes in existing engineering, you should not only check if the target problem disappeared but also run relevant regression tests to ensure existing interfaces, data formats, and error handling have not been unexpectedly altered.

    The third layer is engineering quality. Check if the code introduces unnecessary dependencies, hardcodes sensitive information, omits resource release, or has obvious performance or security vulnerabilities.

    The fourth layer is task process quality. For instance, whether the model locates the problem before modifying it, explains assumptions when evidence is insufficient, or deletes necessary validations just to pass individual tests.

    When automatically executing generated code, an isolated environment should be used, restricting network, file, and system resource access. Test code submitted by the model cannot be the sole judge, otherwise “implementation and tests sharing the same flawed assumption” can easily occur.

    6. Evaluating Creative Capabilities: Turning Subjective Judgment into Explainable Judgment

    Creative quality cannot be fully measured by a single numerical value, but randomness can be reduced through clear criteria.

    It is recommended to evaluate from at least four aspects:

    • Constraint adherence: Whether it meets requirements for theme, length, structure, audience, and prohibited content;
    • Content organization: Whether it has a clear main thread and natural transitions between paragraphs;
    • Expression quality: Whether the language is accurate and specific, without vague repetition;
    • Creative effectiveness: Whether novel expressions serve the goal rather than deviate from the task.

    Factual accuracy should be an independent dimension. For content emphasizing real information, errors cannot be ignored just because the language is compelling; for tasks explicitly allowing fiction, focus on checking internal logic and setting consistency.

    Manual review should adopt an anonymous, randomized order, and multi-reviewer mechanism. During pairwise comparisons, output positions can be swapped to reduce order bias. If reviewer disagreements are significant, return to the scoring criteria to find the cause instead of simply averaging and ignoring the issue.

    Model-assisted scoring can be used to expand coverage but should not be the sole basis. Automated judges may prefer answers with longer length, more confident wording, or more familiar structures, so continuous calibration with human samples is needed.

    7. Complex Task Execution: A Reasonable Process Does Not Equal Goal Completion

    Complex tasks usually contain multiple steps. Even if the success probability of each step is high, the entire chain may fail due to error accumulation. Therefore, you cannot only look at whether the plan is complete or the explanation is fluent.

    Evaluation should set observable acceptance criteria around the final state. For example, a data processing task should check the output file content, not just whether the model claims completion; a configuration modification task should check the actual configuration and its effective status, not just the operation instructions.

    Process metrics are equally important, including the number of invalid tool calls, repeated operations, error recovery situations, and state tracking accuracy. These metrics can help distinguish whether the problem stems from a misunderstanding, inappropriate tool selection, or lack of post-execution verification.

    For operations involving writing, deleting, sending, or permission changes, authorization boundaries should be tested separately. A robust system should request confirmation at critical nodes and stop high-risk actions when information is insufficient, rather than continuing execution just to pursue task completion rates.

    8. Unified Analysis of Quality, Latency, and Cost

    Business viability involves multi-dimensional constraints; you cannot only look at output quality.

    Quality metrics can include task pass rate, severe error rate, factual error rate, and manual takeover rate. Latency metrics should observe both first response time and full task completion time, reporting percentiles to prevent averages from masking a few long waits.

    Cost should cover input/output processing, tool calls, retrieval, retries, runtime resources, and manual review. For self-deployed systems, resource utilization, capacity redundancy, and O&M investment should also be considered.

    A practically meaningful metric is:
    Cost per successful task = Total cost within the evaluation scope ÷ Number of tasks passing acceptance

    This metric reveals why solutions with “low single-call cost but frequent retries and high failure rates” may not be economical. However, when using this metric, failure rates and severe risks must be reported separately; low cost cannot mask unacceptable errors.

    For result stability, repeat runs should be conducted on representative tasks, reporting sample size and uncertainty. When comparing similar results, paired analysis and appropriate statistical intervals can be used; if differences are insufficient to support a clear conclusion, state it honestly.

    9. Moving from Offline Evaluation to Continuous Validation

    A complete evaluation process can be divided into four steps.

    First, establish an offline baseline. Use fixed datasets and scoring rules, save raw outputs, and form traceable initial results.

    Second, conduct failure attribution. Categorize failures into comprehension deviation, knowledge gaps, constraint omissions, tool misuse, execution failures, and insufficient result verification, then choose corresponding improvement measures.

    Third, verify in a controlled environment. Conduct trial runs that do not affect the real business, observe permission control, runtime stability, tail latency, and exception recovery, before deciding whether to expand the scope.

    Fourth, continuous regression. When model versions, prompts, knowledge bases, tools, or business rules change, rerun core tests and add new typical failure cases to the regression set.

    Online feedback should also form a closed loop with evaluation data, but business records cannot be directly incorporated into the dataset without review. Privacy, authorization, sample representation, and data quality all need to be checked.

    10. Conclusion: Evidence-Based Capability Judgment and Bounded Selection Conclusions

    Reliable LLM evaluation is not about finding the most stunning answer once, but confirming whether the system can stably create value under explicit constraints.

    Parameter size, single-task performance, and comprehensive scores can only provide partial information. Truly actionable conclusions should be built on representative tasks, controlled experiments, independent acceptance, risk checks, and cost analysis.

    For developers and enterprises, the final product of an evaluation should not just be a score sheet, but a decision-making basis: which tasks can be automated, which require manual review, under what conditions execution must be stopped, and what should be prioritized for improvement next.