Evaluating Large Language Models: From Benchmark Scores to Inference Engineering Value

    Evaluating large language models requires looking beyond benchmark scores and parameter sizes. This article explores how to assess LLMs from a system-level perspective, covering Mixture of Experts (MoE) deployment costs, expert parallelism trade-offs, cross-hardware migration realities, and translating benchmark scores into practical business value. By establishing an executable model selection process, developers and enterprises can determine whether a model can reliably and economically complete real-world tasks under specific resource and service constraints.

    1. Evaluating LLMs: Look Beyond the Scores

    When evaluating a new generation of large language models (LLMs), the most immediate attention often goes to parameter size, coding scores, math capabilities, and knowledge QA rankings. While these metrics offer a quick overview of a model’s capability boundaries, they cannot directly answer the questions enterprises care about most: Can it reliably complete real-world tasks? Is it available during peak times? What is the cost per task? Will performance hold up after migrating to different hardware?

    Therefore, evaluating LLMs requires distinguishing between two layers:

    • Capability Layer: What problems the model can solve under explicit testing conditions.
    • System Layer: How the model delivers these capabilities in terms of resource consumption, Quality of Service (QoS), and operational complexity.

    These two are related but not equivalent. A high score in a coding test does not mean the model can reliably perform cross-module modifications in a large codebase. Fast single-request generation speed does not guarantee higher effective throughput under high concurrency.

    What is truly worth examining in technical reports are the constraints: the inference budget used, whether multiple attempts were allowed, whether external tools were relied upon, the precision used, and whether service throughput was limited by hardware supply. These conditions are not mere footnotes; they are necessary prerequisites for understanding the results.

    2. How Parameter Scale Affects Actual Deployment

    2.1 Total Parameters vs. Activated Parameters

    Mixture of Experts (MoE) architectures typically contain multiple expert networks, utilizing a routing mechanism to select a subset for computation per input unit. The core idea is to expand the model’s overall capacity while avoiding the use of all parameters during every inference.

    Therefore, when analyzing such models, it is crucial to consider both total and activated parameters.

    Total parameters reflect the complete model size, affecting weight storage, loading, distributed deployment, and device memory requirements. Activated parameters reflect the portion actually involved in a single computation, which is closer to the computational overhead but cannot independently represent the inference cost.

    A common misconception is: “Fewer activated parameters mean cheaper deployment.” In reality, even if only a subset of experts participates in the computation, the complete weights still need to be stored and made accessible to the system via resident device memory, distributed placement, or hierarchical loading. Additionally, attention computation, cache management, expert communication, and scheduling all consume resources.

    Thus, the advantage of MoE models should be understood as a potential efficiency gain brought by computational sparsity, rather than the simultaneous disappearance of storage, communication, and operational costs.

    2.2 Model Scale Does Not Directly Dictate Single Request Cost

    The overhead of a single request depends on at least the following factors:

    • Input context and output length;
    • Activation computation volume and actual batch processing size;
    • Read/write overhead for weights, attention cache, and other data;
    • Data exchange between experts;
    • Quantization precision and corresponding operator implementation;
    • Request queuing, retries, and multi-turn interactions.

    If a model requires a longer reasoning process to arrive at the correct answer, a lower price per unit of output does not necessarily mean a lower task cost. Conversely, a model with a higher cost per call but fewer failure retries might be better suited for certain complex business tasks.

    When evaluating costs, the focus should shift from “how much content was generated” to “how many tasks were successfully completed.”

    3. Fine-Grained Expert Parallelism: Value and Trade-offs

    3.1 What Expert Parallelism Solves

    When a complete model cannot fit reasonably on a single device, or when multiple devices are needed to scale service capacity, different experts can be deployed across different devices. The input is routed to the corresponding experts for computation, and the results are aggregated.

    This method is typically referred to as expert parallelism.

    It decouples the number of experts from single-device capacity limits but introduces communication challenges. The finer the expert partitioning, the more flexible the scheduling, but it may also generate more scattered data transmissions and smaller computational tasks.

    Therefore, expert parallelism is not simply “splitting the model apart.” It requires the co-design of expert placement, routing scheduling, communication organization, and computation execution.

    3.2 Load Imbalance Slows Down the System

    Inputs do not evenly select all experts. Different tasks, text distributions, and contexts may make some experts busier while others remain relatively idle.

    During stages that require multiple devices to complete their work, the slower side dictates the overall progress. The resulting wait times can erode the benefits of adding more devices.

    Common optimization directions include dynamic load balancing, adjusting expert layout, optimizing communication batches, and overlapping communication with computation where conditions permit. However, these methods have boundaries: overlapping communication does not eliminate bandwidth bottlenecks, and increased scheduling complexity may introduce additional overhead.

    To measure the effectiveness of expert parallelism, one must look beyond the speed of a single compute kernel and observe device utilization, communication wait times, and tail latency across the complete request chain.

    3.3 Prompt Processing vs. Step-by-Step Generation

    Inference can generally be divided into the prompt processing phase and the step-by-step generation phase.

    The prompt processing phase handles a larger amount of input content and is usually more likely to form larger computational tasks. The step-by-step generation phase processes a relatively small amount of data per round and is more susceptible to memory access, communication, and scheduling overhead in many configurations.

    This means that the same optimization scheme might significantly improve prompt processing without equally improving step-by-step generation. If an evaluation report only provides a merged average speed, it may obscure these phase differences.

    For interactive business applications, whether the first response is timely (Time To First Token) and whether subsequent generation is continuous (Inter-Token Latency) are often more important than a single average throughput metric.

    4. Cross-Hardware Validation vs. Cost-Free Migration

    4.1 Distinguishing Three Maturity Tiers

    When discussing cross-hardware adaptation, at least three tiers must be distinguished:

    Can Run: The model can perform calculations on another type of accelerator and produce acceptable results.

    Optimized: Key operators, communication methods, and memory layouts have been optimized for that device, achieving reasonable resource utilization.

    Production-Ready: Possesses stable deployment, fault recovery, version management, monitoring diagnostics, and continuous maintenance capabilities.

    The existence of the first tier does not mean the latter tiers automatically follow. Validations in technical reports might cover specific configurations, specific workloads, or partial critical paths, which cannot be directly extrapolated to all scenarios having the same experience.

    4.2 Algorithm Portability vs. Low-Level Implementation Reusability

    Model architecture and trained weights can have strong portability, but high-performance inference usually relies on low-level details, including:

    • Matrix operations and data layout;
    • Low-precision computation support;
    • Operator fusion and memory reuse;
    • Collective communication between devices;
    • Execution scheduling and synchronization mechanisms;
    • Compilation and runtime interfaces.

    These capabilities are closely tied to hardware architecture, drivers, and toolchains. Therefore, public model weights, public algorithm descriptions, and public optimized implementations on specific hardware represent three different levels of openness and cannot substitute for one another.

    4.3 Runtime Decoupling Boundaries

    A more reasonable engineering goal is to ensure that upper-layer service logic does not need to be drastically rewritten as hardware changes, while retaining the space for low-level hardware-specific optimizations.

    The system can be divided into layers: model description, request scheduling, device execution, and operational observation. The upper layer is responsible for input/output, batching, cache lifecycle, and service policies; the lower layer handles specific operators, communication, and memory operations.

    However, abstraction is not always better the more unified it is. If a unified interface cannot express hardware characteristics, performance may be lost. If every hardware backend has completely independent upper-layer logic, maintenance costs will increase.

    The focus of runtime decoupling is to define clear boundaries between stable interfaces and replaceable implementations, rather than promising “develop once, achieve identical performance across all devices.”

    5. Translating Benchmark Scores to Business Judgment

    5.1 Compare Test Conditions Before Scores

    Any test result must be understood within its context. For coding tasks, check whether test execution, tool invocation, and multiple sampling attempts are allowed, and what statistical method determines the final score.

    For knowledge QA, check whether retrieval is permitted, how answers are judged, and whether the test data is time-sensitive. For math and complex reasoning, pay attention to the output budget and number of attempts.

    If test protocols differ, score differences may simultaneously reflect model capability, inference budget, and system strategy. Directly ranking these numbers together often leads to oversimplified conclusions.

    5.2 Coding Ability Does Not Equal Production Development Ability

    Enterprise code tasks often require understanding existing architecture, adhering to internal standards, and controlling the scope of modifications. A standalone test question cannot prove a model possesses these capabilities.

    Business evaluations should include the following dimensions:

    • Whether it correctly understands requirements and identifies missing information;
    • Whether it introduces unnecessary file or interface changes;
    • Whether it accounts for exception handling, security boundaries, and compatibility;
    • Whether it passes existing tests and supplements necessary tests;
    • Whether it provides verifiable, maintainable modification instructions.

    For intelligent coding scenarios, manual review time is also a critical metric. If generated results appear complete but require developers to do extensive verification and rework, the actual benefit may be limited.

    5.3 Different Capabilities Must Be Evaluated Separately

    Coding, math, factual knowledge, and long-text comprehension are not the same capability. Outstanding performance in one category cannot be extrapolated to equal reliability in others.

    For example, factual QA is susceptible to knowledge timeliness and information gaps, requiring integration with retrieval, source verification, and uncertainty expression. Code modification is better suited for combining execution validation, automated testing, and manual review.

    Therefore, enterprises should not look for the abstract “most powerful all-around model.” Instead, they should clarify task distributions and configure appropriate models and verification mechanisms for different tasks.

    6. Throughput and Pricing: Beyond Future Promises

    6.1 Deliverable Capability Depends on Service Constraints

    Service throughput can be affected by the number of accelerators, device memory, interconnect capabilities, deployment scale, and request structure. Insufficient supply of high-end hardware can indeed limit service capacity, but this does not mean new hardware will automatically bring price reductions of a specific magnitude.

    Pricing is also influenced by utilization, redundant capacity, operational investment, demand changes, and service policies. Future hardware supply plans should be viewed as potential improvement factors, not capabilities already realized during current selection.

    Procurement and deployment decisions should be based on currently verifiable pricing, quotas, latency, and stability.

    6.2 Put Throughput Metrics into QoS Constraints

    Throughput is typically expressed as the number of requests or amount of generation completed per unit time, but blindly pursuing throughput may increase queuing times.

    A more meaningful question is: Under the premise of meeting first-response time, generation interval, and success rate requirements, how much load can the system handle?

    Evaluations should record:

    • Time to First Token (TTFT);
    • Overall request completion time;
    • Inter-Token Latency (ITL);
    • Different percentiles of latency;
    • Timeout and error rates;
    • Number of business tasks successfully completed per unit time.

    Testing should also cover short requests, long contexts, burst traffic, and varying output lengths to prevent averages from masking peak-time experiences.

    7. Establishing an Executable Selection Process

    Step 1: Define Real Tasks and Acceptance Criteria

    Extract representative samples from business operations, covering high-frequency tasks, difficult tasks, and risk scenarios. Define what constitutes success and what is an unacceptable error in advance, to avoid adjusting standards based on results after evaluation.

    When sensitive data is involved, desensitization, access control, and usage scope confirmation should be completed first.

    Step 2: Compare Candidates Under Consistent Conditions

    Unify input, output budget, tool permissions, retry rules, and concurrency settings. If different solutions require different configurations to achieve optimal results, report the baseline and tuned conditions separately, rather than blending them into a single result.

    Step 3: Calculate Cost per Successful Task

    The following business metric can be used:

    Average Cost per Successful Task = Total Relevant Cost During Evaluation / Number of Successfully Completed Tasks

    Total cost includes not only inference resources but should also incorporate retrieval, tool calls, failed retries, manual review, and service operations as applicable.

    This metric cannot replace latency and quality metrics, but it helps identify solutions that are “cheap to call but expensive to rework.”

    Step 4: Validate Continuous Operation and Migration Risks

    After quality requirements are met, conduct long-duration load tests, fault recovery tests, and version regression tests.

    If cross-hardware deployment is required, verify numerical consistency, critical task quality, memory footprint, throughput, and tail latency, rather than just confirming the model starts successfully. Deployment documentation, diagnostic capabilities, and maintenance costs should also be included in the acceptance criteria.

    8. Conclusion: Model Evaluation is Ultimately Engineering Evaluation

    Benchmarks can help screen candidate models, and parameter scale can help us understand architecture, but neither can independently complete the selection process.

    For developers and enterprises, a more comprehensive evaluation should answer four questions: Can the model complete real tasks? Can the system deliver them stably? Is the cost per successful task reasonable? Are deployment and migration risks controllable?

    MoE architecture provides a path to expand model capacity while controlling computational overhead; expert parallelism brings communication and scheduling to the core of performance; cross-hardware adaptation further tests runtime boundaries and engineering maturity. Understanding these relationships allows us to translate “higher scores in a certain benchmark” into “better suited for specific business needs.”

    Truly valuable technological progress is not just about letting a model score a few more points in tests, but rather ensuring that more tasks are completed reliably, continuously, and economically under explicit resource and service constraints.