Evaluating LLM Capabilities: Architecture, Cost, and Implementation Practices

    This article explores a practical methodology for evaluating Large Language Model (LLM) capabilities beyond public benchmarks. It covers the engineering realities of Mixture of Experts (MoE) architectures, breaks down verifiable dimensions of model performance (including knowledge QA, code generation, and complex reasoning), clarifies the true costs of training and API invocation, and outlines a repeatable enterprise evaluation process to build reliable production systems.

    1. Asking the Right Questions About LLM Capabilities

    The question “What is the current capability level of LLMs?” may seem like a straightforward performance inquiry, but it actually encompasses three distinct questions: What tasks can the model perform? Under what conditions can it perform them stably? And how much does it cost to complete these tasks?

    For individual users, natural language expression and answer accuracy are often the most intuitive metrics. For developers, the model must also adhere to output formats, understand code context, and expose uncertainty when information is insufficient. For enterprises, permission isolation, service stability, data governance, and long-term operations also fall within the scope of capability boundaries.

    Therefore, you cannot determine that a model is suitable for production business solely based on a single brilliant answer or a high ranking on a public benchmark. A more reasonable object of evaluation is “the actual performance of the combination of the model and the business system.”

    This article does not rank individual products. Instead, it establishes a reusable analytical framework centered on the technical routing, capability verification, and engineering implementation of LLMs.

    2. Mixture of Experts: Why More Parameters Don’t Mean Full Computation Every Time

    1. Total Parameters vs. Activated Parameters

    Parameters are numerical values learned by the model during training. They participate in text understanding and generation, but parameter scale does not directly equate to knowledge accuracy or reasoning capability.

    In a typical dense model, each input position usually passes through a computational path involving most of the main network parameters. The Mixture of Experts (MoE) architecture, however, sets up multiple expert sub-networks in some network layers and uses a routing mechanism to select only a subset of experts to participate in the computation for different input positions.

    Therefore, it is necessary to distinguish between:

    • Total parameters: The full scale of parameters contained in the model.
    • Activated parameters: The scale of parameters that actually participate in computation when processing a single token.

    This allows the model to increase its parameter capacity while controlling the primary computational overhead per token. However, activated parameters are usually only an approximate metric and cannot independently represent the resource consumption of the entire service.

    2. Sparse Compute Doesn’t Mean Proportional Cost Reduction

    While the MoE architecture can reduce some computational overhead compared to a dense model with the same total parameters, it also introduces new engineering challenges.

    First, experts that do not participate in the computation for the current token do not mean they can be omitted from storage during deployment. Model weights still need to be placed reasonably, and VRAM, memory, or other storage resources may still form constraints.

    Second, different experts may be distributed across different computing devices. Routing and data exchange incur communication overhead, and cross-device bandwidth, network topology, and batching methods will all affect throughput.

    Third, expert load is not inherently balanced. If a large number of inputs are routed to a few experts, it may result in some devices being busy while others are idle.

    Thus, “fewer activated parameters” should be understood as a design to improve computational efficiency, not a promise that “deployment resources are reduced in the same proportion.”

    3. Code Volume Is Not a Metric for Compute Needs

    A model’s core algorithm can be expressed with very little code, but training and inference still require massive matrix calculations, data transfers, and resource scheduling.

    Code conciseness mainly reflects the implementation method and the level of abstraction. The real factors determining compute requirements include network structure, the number of training tokens, numerical precision, context length, hardware utilization, and parallelization strategies.

    Using “minimal source code” to explain “cheap model training” confuses software implementation complexity with actual computational volume; the two do not have a simple proportional relationship.

    3. Verifiable Dimensions of Model Capabilities

    1. Knowledge QA: Facts and Evidence Over Tone

    LLMs excel at generating coherent text, but linguistic fluency does not equal factual correctness. When evaluating knowledge QA, at least three points must be checked:

    • Is the key conclusion accurate?
    • Is the information applicable to the current time and business scope?
    • Can the answer be supported by reliable materials?

    For content involving internal corporate policies, contract terms, or equipment manuals, Retrieval-Augmented Generation (RAG) can be used to let the system first search authorized materials and then generate an answer based on the relevant segments.

    However, RAG does not automatically eliminate errors. Outdated materials, recall omissions, and quoting out of context will all affect the results. The system needs to simultaneously evaluate retrieval quality, evidence coverage, and answer faithfulness.

    2. Code Generation: From “Looks Like Code” to “Deliverable”

    Code generation capability should not only look at whether simple functions can be written, but should also test whether the model understands existing project constraints.

    Effective testing should cover requirement understanding, interface compatibility, boundary conditions, exception handling, dependency constraints, and security risks. For code repair tasks, you should also check whether the modifications introduce new regression issues.

    It is recommended to adopt a closed loop of “generate patch — isolated execution — automated testing — human review.” The code provided by the model is only a candidate solution; it can become a deliverable only after passing tests and reviews.

    When operations involve deleting data, changing permissions, or accessing production environments, the model’s output should not be executed directly. Approval and permission verification should be in place.

    3. Complex Reasoning: Correctness Under Changing Conditions

    Complex reasoning is common in multi-constraint scheduling, fault localization, mathematical analysis, and business decision support.

    For these tasks, the focus should not just be single-pass accuracy, but also:

    • Are limiting conditions overlooked?
    • Do conclusions adjust accordingly when input conditions change?
    • Can it distinguish between known facts, inferences, and assumptions?
    • Can the final result be verified by independent methods?

    A lengthy explanation does not mean reliable reasoning. Engineering systems should verify observable conclusions as much as possible, such as validating constraints through rule checkers, double-checking numbers through calculation programs, and confirming code behavior through test cases.

    4. Long Context Processing: Receiving vs. Effectively Utilizing

    Context capacity determines how much information a model can receive, but it does not guarantee that all information can be utilized with equal reliability.

    Practical testing needs to observe whether the model can find key evidence located in different positions, whether it confuses similar terms, whether it omits exceptions during summarization, and whether the answer is interfered with by irrelevant content.

    In addition, long inputs usually increase processing overhead and may raise Time to First Token (TTFT) and cache resource usage. For large-scale document QA, reasonable retrieval and hierarchical summarization are often more controllable than inputting all materials at once.

    5. Instruction Following: Stability for Production Systems

    Even if a model’s answer content is correct, unstable output structures can cause downstream parsing failures.

    Therefore, specific tests should be conducted on fixed-field output, type constraints, multi-turn instruction consistency, missing information handling, and whether established priorities are followed when faced with conflicting instructions.

    Format validation should be done by programs. Upon validation failure, there can be a limited number of retries, or it can be downgraded to manual processing, rather than infinite repeated generation.

    4. Understanding “Cheap Training” and “Cheap Invocation”

    1. Defining the Boundaries of Training Costs

    Training costs discussed publicly may only include the compute resource consumption of a specific primary training run, or may be converted using a specific resource unit price.

    It may not cover preliminary experiments, failed runs, data processing, personnel investment, hardware procurement, cluster construction, and subsequent alignment training.

    Therefore, different numbers are only directly comparable when the statistical scope, resource prices, and calculation methods are basically consistent. Without these premises, simply calculating “how many times cheaper” can be misleading.

    2. Service Price vs. Underlying Technical Cost

    Invocation prices may be affected by service strategies, resource utilization rates, input-output ratios, cache hit rates, and context length.

    Looking solely at the price per unit token cannot determine a company’s final expenditure. A solution with cheaper single-call costs may not be more economical if it requires multiple retries, generates verbose output, or incurs high manual rework.

    A more practical metric is:
    Cost per valid task = Total relevant expenditure during testing ÷ Number of tasks meeting acceptance criteria

    Here, relevant expenditure can include model invocations, retrieval, compute resources, manual review, and failed retries according to business needs, but the statistical criteria must remain consistent.

    3. Observing Latency Across the Entire Task Chain

    The wait time perceived by users usually includes queuing, input processing, TTFT, continuous generation, and external tool execution.

    Interactive assistants typically prioritize TTFT and tail latency; offline batch processing may focus more on total throughput and cost per task. Different businesses should not use the same set of performance targets.

    5. Establishing an Executable Enterprise Evaluation Process

    Step 1: Define Tasks and Acceptance Criteria

    First, select clear business tasks, such as after-sales QA, contract information extraction, code completion, or ticket classification.

    Each task must specify input sources, expected outputs, allowed materials, unacceptable errors, and failure handling methods. Without acceptance criteria, it is difficult to objectively discuss model pros and cons.

    Step 2: Build a Representative Test Set

    The test set should include common requests, complex requests, ambiguous expressions, missing information, and high-risk edge cases, not just samples that are easy to succeed.

    The development set used to tune prompts and workflows should be separate from the final acceptance set, to avoid repeatedly optimizing around the same batch of questions and causing an overestimation of actual performance.

    Step 3: Fixed-Condition Comparisons

    When comparing different solutions, try to keep prompts, context materials, generation length limits, sampling strategies, and tool permissions consistent.

    If comparing complete business solutions, different implementations can be allowed, but it must be clear that the object of comparison is the system’s effectiveness, not the standalone base model capability.

    Step 4: Combine Automated Evaluation and Human Review

    Automated evaluation is suitable for handling format correctness, classification accuracy, field extraction, and test case pass rates.

    For open-ended answers, personnel familiar with the business should review them based on unified scoring rules, focusing on facts, evidence, omissions, and risks. Model-assisted scoring can improve efficiency but cannot replace necessary manual spot checks.

    Step 5: Canary Release and Continuous Regression

    After passing offline evaluation, go live with limited traffic and controlled permissions first. Continuously record task success rates, latency, retries, manual takeovers, and security incidents.

    Changes in model versions, prompts, knowledge bases, or retrieval strategies can all affect results and should trigger corresponding regression tests while retaining the ability to roll back.

    6. Bridging the Gap from Demo to Reliable System

    A usable LLM application is usually more than just “input a question, get an answer.” A more complete pipeline is:

    Request intake → Identity and permission verification → Material retrieval or controlled tool invocation → Model generation → Structure and rule validation → Result delivery → Logging and feedback.

    Permission checks must be executed on the system side and cannot rely solely on prompts asking the model to keep secrets. Logs need to balance troubleshooting with sensitive information protection, desensitizing data and limiting retention periods when necessary.

    For tool invocation, the model can only propose operational intent; before actual execution, parameters, user permissions, and operation scopes should still be verified. High-risk actions require human confirmation and must have timeout, rate-limiting, idempotency, and audit mechanisms.

    The system should also prepare failure strategies: explain limitations when materials are insufficient, control retries when structural validation fails, degrade when external services are abnormal, and hand over high-risk requests to humans. Being able to handle failures reliably is often more valuable to a business than occasionally generating amazing answers.

    7. Conclusion: Business Evidence Over Parameter Worship

    When evaluating LLMs, one should neither underestimate the efficiency gains brought by architectural and engineering optimizations, nor should they interpret parameter scale, single benchmark rankings, or low invocation prices as proof of comprehensive superiority.

    The MoE architecture explains why a model can expand parameter capacity while controlling some computational overhead, but actual deployment is still constrained by factors like storage, communication, load, and context. Knowledge QA, code generation, and complex reasoning each have their applicable boundaries and need to be verified separately.

    For developers and enterprises, the most reliable path is: clarify tasks first, then build test sets; verify correctness and risks first, then compare cost and latency; and finally, form a closed loop through controlled deployment and continuous regression. Being able to complete tasks stably and controllably in real business scenarios is the true embodiment of a model’s valuable capability.