How to Choose an LLM: Three Core Capabilities and Evaluation Practices

    This article shifts the focus of Large Language Model (LLM) selection from general leaderboards to business-specific requirements by evaluating three core capabilities: factual reliability and task planning, agentic programming, and scientific reasoning. It details practical assessment dimensions such as hallucination control, engineering closed-loop fixes, and computational consistency. Furthermore, it outlines a reusable selection process—including building a real-world test set, standardizing comparison conditions, and adopting layered routing—to help developers and enterprises make stable, auditable model choices validated by actual business tasks.

    I. From “Top Three” to “Best Fit for Business”

    When discussing Large Language Models (LLMs), the most common question is: which models have the best overall performance? However, for developers and enterprise users, the real problem to solve is not leaderboard rankings, but whether a model can reliably accomplish specific business tasks.

    Some materials compare overall performance, hallucination control, agent task planning, agentic programming, and scientific reasoning without providing evaluation sources, test dates, sample compositions, scoring methods, or runtime conditions. Therefore, specific scores are insufficient to support conclusions like “the best this year” or “an insurmountable lead.” Different evaluations may use different task sets, tool permissions, prompting methods, and compute budgets. Comparing numbers detached from these conditions can easily lead to incorrect judgments.

    A more reasonable approach is to strip away product rankings and translate the selection problem into an evaluation of three core capabilities:

    The first is factual reliability and task planning, focusing on whether the model can answer questions based on evidence and break down complex goals into executable steps.

    The second is agentic programming, focusing on whether the model can understand engineering context, locate issues, modify code, and complete verification.

    The third is scientific reasoning, focusing on whether the model can perform mathematical analysis, quantitative calculations, and solve scientific problems under constraints.

    These three capabilities are not mutually exclusive, nor do they directly correspond to three fixed models. They function as three evaluation dimensions where the same candidate model may exhibit different performance levels. Selection should start from business tasks rather than accepting a generic “best list.”

    II. Factual Reliability and Task Planning: Credibility First, Automation Second

    1. Hallucination Control is Not “Being More Conservative”

    LLM hallucinations typically manifest as generating unsupported content, content inconsistent with facts, or content contradicting input materials. In enterprise scenarios, this might appear as fabricating policy clauses, misinterpreting business rules, or treating historical information as currently valid.

    Therefore, reliability cannot be judged solely by fluency. More valuable evaluation questions include:

    • Can key facts in the answer be traced back to valid materials?
    • When materials are insufficient, does the model explicitly state its uncertainty?
    • Faced with conflicting materials, does the model identify and present the conflict?
    • When a user’s question contains a false premise, does the model correct the premise first?
    • Does the model distinguish between facts, inferences, and suggestions?

    For example, in internal policy Q&A, if the materials do not specify an approval timeframe, the model should not invent a seemingly reasonable number of days. The correct approach is to state that current materials do not provide this information and suggest checking the corresponding policy or supplementary materials.

    2. Reducing Factual Risk with Retrieval and Evidence Verification

    For tasks relying on internal enterprise knowledge, depending solely on the knowledge within the model’s parameters is usually insufficient. A general workflow of “question understanding — material retrieval — evidence filtering — answer generation — result verification” can be adopted.

    Material retrieval finds candidate content, evidence filtering judges its relevance, validity period, and scope of application, and answer generation should revolve around confirmed evidence. Final verification checks whether key conclusions are supported by evidence, not just whether the answer includes citations.

    This workflow still has boundaries: retrieved materials may be outdated, conflicts may exist between documents, and access permissions may limit available information. Therefore, knowledge base construction should simultaneously maintain document versions, effective dates, applicable targets, and permission tags. Otherwise, even if the model correctly understands the text, it might cite rules that do not apply to the current user.

    3. Task Planning Must Include Execution and Recovery Mechanisms

    Task planning capability refers to breaking down goals into subtasks, identifying dependencies, scheduling tool calls, and adjusting subsequent steps based on execution results.

    Take “aggregating business data and generating anomaly analysis” as an example. An executable plan should at least include: confirming statistical criteria, reading authorized data, checking missing and duplicate records, calculating metrics, identifying anomalies, generating conclusions, and verifying consistency between conclusions and data.

    However, generating a reasonable list of steps does not equate to having reliable agent execution capabilities. It is also necessary to test whether the model can handle API failures, insufficient permissions, missing data, and repeated executions. Especially when involving write operations, clear execution states, retry conditions, and rollback plans should be set to prevent the same task from being submitted repeatedly.

    For high-risk behaviors like data deletion, permission adjustment, or sending external information, a manual confirmation step should be retained. The model can suggest actions, but should not automatically gain full execution privileges just because the plan seems reasonable.

    III. Agentic Programming: Evaluate Complete Fixes, Not Code Generation Speed

    1. The Core of Programming Capability is the Engineering Closed-Loop

    Agentic programming is different from generating a code snippet based on a one-line requirement. Real engineering tasks usually require the model to understand existing project structures, read relevant modules, reproduce issues, analyze dependencies, modify implementations, run tests, and confirm that other functionalities are not broken.

    Therefore, evaluation cannot stop at “whether the code looks like the correct answer.” More attention should be paid to whether the final changes truly solve the problem, comply with project constraints, and introduce no new defects.

    For example, when fixing a data processing error, the model might pass a test by removing validation logic, but this weakens the system’s input protection. Such a result cannot be considered successful. An effective fix should simultaneously meet the original requirement, necessary constraints, and regression verification needs.

    2. Test Tasks Should Cover Different Engineering Difficulties

    It is recommended to include at least the following task types:

    • Local bug fixes: Verify if the model can locate the specific cause and make the minimal necessary modifications.
    • Cross-module feature implementation: Verify if the model can understand interface dependencies and data flow.
    • Test supplementation: Verify if the model can identify boundary conditions, not just cover normal paths.
    • Structural adjustments: Verify if the model can improve code organization while maintaining consistent behavior.
    • Failure recovery: Verify if the model can re-analyze after test failures, rather than repeatedly making random changes.

    Each task should clearly define the allowed modification scope, acceptance criteria, and prohibited behaviors. If a model can modify acceptance tests, skip key checks, or change expected results, its test score may not reflect its true capability.

    3. Use Engineering Metrics to Measure Programming Effectiveness

    Programming evaluations can record task completion rate, regression defect count, manual correction time, modification scope, runtime, and resource consumption. For enterprises, manual correction time is often more valuable than one-time generation speed.

    Hidden acceptance test cases (not disclosed to the model) should also be used to check abnormal inputs, boundary values, and compatibility. Simultaneously, manual reviews should be arranged, focusing on error handling, data consistency, permission control, and maintainability.

    Model code execution should take place in an isolated environment, limiting network access, credential reading, and file write scope. Operations like modifying production configurations or executing database changes require additional approval; success in a test environment cannot be directly equated to production readiness.

    IV. Scientific Reasoning: Test the Consistency of Constraints, Calculations, and Conclusions

    1. Fluent Explanation Does Not Mean Correct Reasoning

    Scientific reasoning tasks often involve quantitative relationships, unit conversions, conditional constraints, and multi-step calculations. Even if a model provides a complete explanation, it might use an incorrect formula at a certain step, omit conditions, or make arithmetic errors.

    Therefore, evaluation should revolve around three levels: whether input conditions are correctly understood, whether the derivation process meets constraints, and whether the final conclusion withstands independent verification.

    For example, when calculating equipment energy consumption, power units, runtime, and load conditions must be explicit. Confusing power with energy, or omitting time conversion, cannot be judged as correct even if the final number looks reasonable.

    2. Distinguish Reasoning Capability from Domain Knowledge Coverage

    A model’s ability to answer scientific terminology does not mean it can solve new scientific problems. Conversely, a model with a correct reasoning process might fail to reach a reliable conclusion due to a lack of necessary parameters or domain facts.

    During evaluation, two types of tasks should be distinguished: one provides complete conditions and primarily tests logical derivation and calculation; the other requires supplementary domain knowledge, testing fact retrieval and application. Mixing these two types of tasks can easily lead to misdiagnosing the cause of failure.

    In engineering analysis, it is also necessary to distinguish between “data-supported conclusions” and “hypotheses requiring further verification.” The model can propose possible causes, but should not write unverified explanations as established facts.

    3. Calculation Tools Assist but Cannot Replace Problem Modeling

    For complex calculations, the model can be allowed to invoke a controlled computing environment to perform numerical calculations, equation solving, or statistical processing. However, correct tool output does not mean the entire task is correct.

    If the model selects the wrong formula, passes the wrong units, or omits constraints, the computing tool will faithfully calculate the erroneous input. Therefore, key variables, units, calculation expressions, and verification results should be retained for review.

    Common verification methods include magnitude checks, dimensional analysis, boundary condition checks, and substituting results back into the original conditions. High-risk scientific and engineering decisions still require review by professionally qualified personnel.

    V. Establishing a Reusable LLM Selection Process

    1. Build Test Sets from Real Business Scenarios

    Test sets should cover high-frequency, complex, and high-risk tasks, rather than just picking examples that are easy for the model to answer. Samples can be extracted from historical tickets, desensitized documents, existing bugs, and manual processing cases.

    Each sample needs clearly defined inputs, expected results, scoring criteria, and failure consequences. For tasks without a single correct answer, itemized evaluation should be used, such as factual consistency, requirement coverage, executability, and the quality of risk prompts.

    Test data should be separated from daily tuning data as much as possible to avoid overly optimistic results from repeatedly optimizing the same set of cases.

    2. Standardize Comparison Conditions

    When comparing candidate models, try to unify prompt templates, available materials, tool permissions, and execution budgets. If one model can invoke tools while another cannot, the results cannot be simply attributed to the models themselves.

    Simultaneously record test dates, model versions, context configurations, retry counts, and timeout handling. For tasks involving randomness, repeated testing should be conducted to observe result volatility, rather than only keeping the best single outcome.

    3. Compare Quality, Cost, and Latency Simultaneously

    Enterprise selection should not rely on a single comprehensive score. It is recommended to report task success rate, severe error rate, response latency, cost per successful task, and manual takeover ratio separately.

    “Cost per successful task” should include overheads like failure retries, tool execution, and manual corrections. A solution might be cheap per call, but if frequent retries are required, the overall cost might be higher.

    For issues like permission boundary violations, sensitive information leaks, and destructive operations, a threshold should be set rather than allowing them to be offset by other high scores. Security baselines are not suitable for simple average score calculations.

    VI. Layered Routing Instead of Betting on a Single Model

    When a business simultaneously includes knowledge Q&A, programming assistance, and complex reasoning, you can first identify the task type and then select the corresponding processing workflow.

    Standard knowledge Q&A prioritizes evidence retrieval and answer verification; coding tasks enter an isolated execution environment for testing and review; complex reasoning tasks add condition checks, calculation verification, and necessary professional reviews.

    The value of this layered design is that it allows different tasks to receive matching resources and protective measures. It does not require all requests to use the most expensive reasoning pipeline, nor does it assign high-risk tasks to fast-answer paths lacking verification.

    After launch, quality changes should be continuously monitored, failure cases retained, and re-evaluation conducted when model versions, knowledge bases, or tool APIs change. Passing a single test only proves performance under specific conditions and does not guarantee stability across all subsequent scenarios.

    VII. Conclusion: The Best Choice is One Validated by Business

    The key to LLM selection is not finding a top-three model detached from scenarios, but determining which capabilities can solve your specific problems.

    Factual reliability and task planning determine whether the system can credibly organize information and execute processes; agentic programming determines whether the model can complete engineering task closed-loops; scientific reasoning determines whether the model can correctly handle constraints, calculations, and complex analysis.

    Breaking these three capabilities into verifiable tasks, combined with cost, latency, permissions, and manual review requirements, forms a reusable and auditable selection basis. For developers and enterprise users, the truly worthwhile solution is one that performs stably in real business tests, has clear failure boundaries, and can be continuously monitored and improved.