How to Objectively Evaluate the Real Capabilities and Business Value of Large Language Models
Learn how to evaluate large language models systematically: understand key concepts like MoE architecture and active parameters, build your own test sets, avoid common evaluation pitfalls, apply models to real coding workflows, and manage risks before production deployment.
Large language models (LLMs) have received significantly more attention over the past year, and the discussion among practitioners has shifted from “can we use them” to “what exactly can they do, and are they worth the investment.” Rather than relying on marketing claims or personal impressions, a more reliable approach is to understand the underlying technology, build reproducible evaluation methods, and test models in real business scenarios. This article covers these three aspects.
1. Clarify What You Are Evaluating
An LLM is a neural network trained on massive text corpora, whose core task is predicting the next token given the preceding context. Models differ in parameter scale, training data, training methods, and inference architecture, so a judgment like “a certain model is powerful” must be broken down into specific dimensions. When discussing capabilities, at least the following categories should be distinguished:
- Knowledge coverage: mastery of public-domain knowledge and its timeliness;
- Reasoning ability: multi-step logic, mathematical computation, task planning and decomposition;
- Language ability: translation, rewriting, summarization, and multilingual processing;
- Coding ability: code generation, explanation, debugging, and refactoring;
- Stability: consistency of answers across repeated queries, and the degree of instruction following.
Each capability requires separate evaluation. A model that excels at translation is not necessarily reliable at mathematical reasoning.
2. Key Technical Concepts
2.1 Mixture of Experts Architecture
Mixture of Experts (MoE) is a common model architecture. The model contains multiple groups of feed-forward subnetworks called experts. Each input token passes through a routing module and is assigned to only a small number of experts. This allows the total parameter count to be very large, while only a fraction of parameters participates in each forward computation.
The value of this design lies in the trade-off: greater total capacity means more room to store knowledge, while per-inference cost stays controlled. However, it introduces new engineering challenges, such as unbalanced expert loads, unstable router training, and significant communication overhead in distributed deployment. Therefore, the total parameter count alone cannot be directly converted into performance or cost estimates.
2.2 Total Parameters vs. Active Parameters
Model specifications typically list two metrics: total parameters and active parameters. The former reflects the model’s overall capacity; the latter reflects the scale of computation actually involved in a single inference. A smaller ratio between the two indicates more pronounced sparse activation.
When comparing inference costs across models, prioritize active parameters, context length, hardware configuration, and batching strategy over total parameter count. With the same parameter scale, latency and throughput can vary dramatically under different hardware and scheduling policies.
2.3 Components of Training Cost
Training cost usually includes:
- Compute cost: accelerator rental or depreciation, electricity, and data center fees;
- Data cost: collection, cleaning, deduplication, annotation, and compliance review;
- Engineering cost: distributed training framework development, failure recovery, and experiment scheduling;
- Labor cost: researchers’ and engineers’ time;
- Trial-and-error cost: resources consumed by failed experiments and hyperparameter searches.
A single publicly announced figure usually covers only part of these, and accounting methods vary. Before comparing the “cost” of different models, confirm whether the statistical scope is consistent. Directly comparing the compute fee of a single formal training run against the total investment of an entire R&D cycle often leads to unreliable conclusions.
3. How to Evaluate an LLM Scientifically
3.1 Define the Evaluation Goal
Before evaluating, answer three questions: What business problem are you solving? What are the input and output formats? What error rate and response latency are acceptable?
For example, customer service Q&A prioritizes factual accuracy and response speed; coding assistance prioritizes correctness and readability; document translation prioritizes terminology consistency and format preservation. Different goals require different test sets and metrics. Without a clear goal, any score is hard to interpret.
3.2 Build Your Own Test Set
Public benchmarks are useful references, but their data distribution often diverges from real business scenarios, and they may already exist in the model’s training data. A safer approach is to collect samples from real scenarios, covering common requests, edge cases, and high-risk cases, with domain experts providing reference answers or scoring rubrics.
It is recommended to prepare at least one hundred samples per task type, recording the following fields: input content, expected output points, difficulty level, and category. The sample count need not be large initially, but it must be representative. The test set should be updated regularly to prevent the team from over-optimizing for known samples.
3.3 Example Evaluation Workflow
The following pseudocode shows a general evaluation skeleton. Replace the model call function with the interface your team actually uses.
function evaluate(model_call, test_cases, grader):results = []for case in test_cases:output = model_call(case.prompt)score = grader(output, case.reference)results.append({"id": case.id,"category": case.category,"score": score,"output": output})report = aggregate_by_category(results)return report
The grader can be rule-based matching, structured field validation, human scoring, or scoring assisted by another model. When using model-assisted grading, perform manual spot checks to confirm the grader itself is reliable.
3.4 Common Pitfalls
- Testing only a few cherry-picked questions, which leads to conclusions that do not generalize;
- Treating demo performance as stable capability, ignoring variance across repeated runs of the same question;
- Looking only at the average score while ignoring per-category performance and worst cases;
- Overlap between the test set and training data, which inflates scores.
Only by avoiding these pitfalls can evaluation results support real decisions.
4. Capability Boundaries in Coding Assistance
In software development, LLMs are well suited for the following tasks:
- Generating function skeletons and unit tests from comments or requirement descriptions;
- Explaining unfamiliar code logic and mapping call relationships;
- Proposing refactoring suggestions, such as splitting long functions or eliminating duplicated logic;
- Assisting with error diagnosis by listing possible causes and verification steps;
- Generating documentation, commit messages, and configuration templates.
These tasks share a common trait: the output can be verified quickly. Compilation, test runs, static analysis, and code review can all catch problems.
Other tasks require more human judgment:
- Designs involving complex concurrency, transactional consistency, or security boundaries;
- Architectural decisions that depend on internal conventions and historical context;
- Performance optimization, which must be based on actual profiling data;
- Logic involving user privacy or sensitive data processing.
A reasonable workflow is: first clarify the context and constraints, and let the model propose a solution; developers review the solution before generating code; run tests and static checks; finally, merge after human review. Model output should be treated as a draft for review, not the final result.
5. Impact on the Industry and Job Roles
LLMs are reshaping certain workflows. In areas such as customer service, content moderation, document processing, and basic data organization, highly repetitive tasks with relatively clear rules are more easily automated. Meanwhile, the importance of system design, requirement clarification, quality assurance, data governance, and model evaluation is actually increasing.
For developers, a pragmatic path is to master prompt design and result verification, become familiar with engineering practices such as model invocation, retrieval-augmented generation, evaluation, and monitoring, and maintain a solid understanding of the business domain. Relying solely on models to complete all work is rarely sustainable in complex projects.
6. Risk Checklist Before Deployment
- Hallucination risk: models may generate plausible but incorrect facts or citations; critical information must be verified against sources;
- Data security: inputs may contain sensitive information; clarify data flows and comply with relevant regulations;
- Copyright and licensing: ownership of generated content and the terms covering training data require legal review;
- Availability: service latency, rate limiting, and outages require fallback plans;
- Cost overruns: expenses can rise rapidly as call volume grows; set up usage monitoring and budget alerts;
- Accountability: user-facing output needs clearly defined human review steps and responsibility ownership.
7. Conclusion
The key to evaluating an LLM is turning “I heard it is powerful” into “how does it perform on my tasks.” First understand the underlying technology, then run reproducible tests with your own data, and finally make decisions by factoring in risks and costs. Only then can a model truly serve your business.
