Chinese LLM Selection: An Evaluation Framework and Practical Deployment Checklist
This guide explains how enterprises can systematically evaluate and select large language models instead of relying on a single leaderboard or a one-off hands-on impression. It presents a seven-dimension evaluation framework—general capability, complex reasoning, code and agentic programming, long-context handling, multimodal understanding, hallucination control, and cost efficiency—along with concrete quantification methods, a sample agentic-programming evaluation script, a business-scenario weighting table, sampling guidance, and a pre-launch acceptance checklist with common pitfalls. It shows how to replace subjective scoring with verifiable results and how to measure the cost per unit of effective output for reproducible, production-oriented decisions.
1. Why You Need a Systematic Evaluation
Chinese LLMs are moving into more and more business scenarios—customer service, knowledge bases, office documents, R&D assistance, content generation, workflow automation, and beyond. Whether a model fits a given business can no longer be judged by a one-off hands-on impression or a single leaderboard. A model that performs well on a general Q&A leaderboard may fail to complete long-horizon agentic tasks reliably; a model that shines at code generation may still produce plausible-looking but unusable output in fact-sensitive scenarios.
For this reason, model selection needs to shift from “who is stronger” to “who is a better fit, who is more reproducible, and who is more controllable.” The goal of a systematic evaluation is to break abstract capabilities into measurable, verifiable, and comparable metrics, then combine them with business context to form a selection rationale.
2. How to Choose Chinese LLMs: Build a Seven-Dimension Evaluation Framework
A fairly complete evaluation framework for Chinese LLMs usually covers the following seven dimensions:
- General capability: foundational abilities such as language understanding, commonsense reasoning, knowledge Q&A, and math and logic.
- Complex reasoning: multi-step reasoning, constraint satisfaction, and complex instruction following.
- Code and agentic programming: code understanding, modification, testing, tool calling, and end-to-end task completion.
- Long-context handling: long-document retrieval, cross-section summarization, multi-document Q&A, and consistency.
- Multimodal understanding: recognition and understanding of images, screenshots, charts, and UI elements.
- Hallucination control: factual accuracy, expressing uncertainty, and refusal calibration.
- Cost efficiency: token consumption, call cost, and the overall cost driven by task success rate.
General capability is suitable for initial screening, but it should not be the final decision basis. For example, you can ask a model to “read a Chinese passage and summarize three key points” or “based on the product description, what conditions must a user meet to get a refund?” Tasks like these reveal basic language understanding, but they usually involve short context and clearly bounded answers, so they cannot represent how a model performs with long documents, multi-turn tool calls, and real system operations.
3. Complex Reasoning and Engineering Development: Replace Subjective Scoring with Verifiable Results
Complex reasoning focuses on whether a model can maintain logical consistency across multiple steps and constraints. For example:
- Inferring a final result from multiple conditions;
- Completing an answer while satisfying format, length, and tone constraints;
- Breaking down a complex requirement and outputting executable steps;
- Understanding code context and making modifications.
Engineering development is an extension of complex reasoning into software scenarios. When evaluating it, don’t just check whether the code “looks correct”—emphasize that it is “runnable, testable, and maintainable.” When conditions allow, use automated test scripts to verify outputs rather than relying on subjective human scoring.
4. Code Capability and Agentic Programming: How to Measure Timeout Rate and Reproduce Results?
Agentic programming is the dimension that best separates models. It no longer requires a model to simply output a piece of code; instead, the model must complete a closed loop in an environment: “understand the task—read the code—modify the code—run tests—iterate based on feedback.” These tasks place higher demands on planning ability, tool calling, and long-horizon stability.
In complex tasks, a model may fail to converge within the time limit because of repeated trial and error, poor planning, or failed tool calls. During evaluation, a “timeout rate” is usually recorded. Note that different evaluation times, model versions, task types, and resource budgets all affect results. Therefore, any claim about timeout rate or cost reduction should state the evaluation setup—for example, number of tasks, task complexity, timeout threshold, token limit, and test environment.
The following sample code illustrates how pass rate and timeout rate are computed in an agentic programming evaluation. Treat it as pseudocode; in practice you need to fill in the task structure, model client interface, test runner, and runtime environment.
# Sample pseudocode: agentic programming evaluation# tasks: list[dict], each task should contain task_id, prompt, repo_snapshot, test_command# model_client.run(...) returns an outcome, which should contain completed, patch, steps, tokens# runner.check_tests(...) runs automated tests and returns a boolean# TimeoutError may be raised by the runner, a subprocess, or a platform timeout mechanism;# sources may include model response, tool calls, and test executiondef run_agentic_eval(tasks, model_client, runner, timeout_sec=300, max_tokens=8000):results = {"passed": 0, "timeout": 0, "failed": 0, "total": len(tasks)}for task in tasks:try:# Drive the model through an end-to-end task within the time and token budgetoutcome = model_client.run(task,deadline=timeout_sec,max_tokens=max_tokens)# Decide the result via automated tests rather than subjective human scoringif outcome.completed and runner.check_tests(task, outcome.patch):results["passed"] += 1else:results["failed"] += 1except TimeoutError:# Did not converge within budget; count as a timeout failureresults["timeout"] += 1results["pass_rate"] = results["passed"] / results["total"]results["timeout_rate"] = results["timeout"] / results["total"]results["fail_rate"] = results["failed"] / results["total"]return results
When running this in practice, clarify the following key parameters and dependencies:
tasks: the task list, which should include task ID, task description, code snapshot, test command, and acceptance criteria.model_client.run(): the model call interface, which should support constraints such as deadline, max tokens, and max steps.runner.check_tests(): the test runner, which can invoke unit tests, integration tests, or custom validation scripts.TimeoutError: should be raised explicitly by the evaluation runner, distinguishing model response timeouts, tool call timeouts, and test execution timeouts.- Runtime environment: pin the Python version, dependency versions, Docker image, network allowlist, and permission scope.
In agentic programming evaluation, beyond pass rate and timeout rate, you can also record average steps, tool call success rate, average token consumption, and failure-reason categories, so you can more accurately judge whether a model is production-ready.
5. Long-Context Handling and Agent Planning: How to Quantify?
Documents in real business are often long-form. A model must locate key information within a large context window, build associations across sections, and stay consistent. Long-context evaluation can include:
- Needle in a haystack: insert key information into a long document and test whether the model can find it accurately.
- Cross-section summarization: have the model synthesize multiple sections into a structured summary.
- Multi-document Q&A: have the model extract answers from multiple sources without confusing them.
- Consistency check: have the model keep terms, conclusions, and formatting consistent across a long context.
Suggested metrics include:
- Localization accuracy = correctly located information points / total inserted information points
- Summary recall = covered key information points / total information points in the reference answer
- Multi-document answer accuracy = fully correct answers / total questions
- Distraction resistance = correct answers among samples containing distractors / total samples containing distractors
Agent planning ability, in turn, emphasizes task decomposition and step orchestration. Given a composite goal, whether a model can reasonably break down tasks, decide the calling order, and adjust its strategy when exceptions occur is key to whether an automated workflow can run stably.
6. Multimodal Understanding and Computer Operation: Evaluation Environment and Compliance Requirements
Multimodal understanding lets a model parse images, UI screenshots, charts, and similar content. Computer-operation capabilities go further, requiring the model to understand a graphical interface and simulate clicks, input, and page switching.
When evaluating these capabilities, focus on two aspects:
- Modality alignment accuracy: whether the model correctly understands images, buttons, tables, dialog boxes, and other content.
- Operation robustness: whether the model can still complete tasks reliably when interface size, control positions, popup states, or app versions change.
Recommended test conditions cover:
- Screenshots at different resolutions, such as 1080p, 2K, and 4K;
- Control reflow, changed button labels, collapsed menus;
- Abnormal popups, permission prompts, network failure prompts;
- Cross-app switching and multi-window collaboration;
- Theme switching and mixed Chinese-English scenarios.
At the same time, multimodal and computer-operation evaluations are more likely to involve sensitive data and system permissions, so compliance and security need special emphasis:
- Evaluation data should be authorized, and sensitive information should be de-identified;
- Confirm the license and usage scope of open-source assets;
- Sandbox environments should follow the principle of least privilege;
- External system calls should use an allowlist;
- Operations should be rollbackable, and operation traces should be retained;
- Configure audit logs, failure alerts, and exception circuit breakers.
7. Hallucination Control: How to Evaluate Hallucinations?
A hallucination is content that a model generates that looks plausible but does not match the facts. In fact-sensitive scenarios such as customer service, finance, healthcare, legal, and government services, hallucination control is often more important than simply “answering fast” or “answering at length.”
Hallucination evaluation usually involves two types of methods:
- Fact-checking: compare the model’s output against authoritative sources, reference answers, or the business knowledge base.
- Refusal calibration: when information is insufficient or a question is out of scope, assess whether the model can honestly express uncertainty instead of forcing a fabricated answer.
Suggested metrics:
- Hallucination rate = responses containing hallucinations / total fact-check samples
- Refusal accuracy = correct refusals / total samples that should be refused
- Over-refusal rate = cases that should be answered but were refused / total samples that should be answered
A healthy model doesn’t necessarily have to answer every question, but it should be able to distinguish “I know,” “I’m not sure,” and “I need more information.” For serious business, a low hallucination rate and high refusal accuracy are usually more valuable than a high surface-level answer rate.
8. Cost and Inference Overhead: How to Calculate the Cost per Unit of Effective Output?
When evaluating cost, don’t just look at the unit price—look at the total cost of completing effective tasks. It is recommended to introduce the “cost per unit of effective output” metric.
It can be expressed with the following formulas:
- Total cost = input token cost + output token cost + retry cost + tool call cost + base resource cost
- Cost per unit of effective output = total cost / number of effective tasks
Here, the number of effective tasks should be defined as the number of tasks that meet the acceptance criteria. If a task requires multiple retries to succeed, the tokens, call counts, and human costs from retries should also be counted in the total cost, rather than only counting the first successful attempt.
For example, two models complete the same batch of tasks:
- Model A: total cost $500, 80 effective tasks, cost per unit of effective output = $6.25.
- Model B: total cost $400, 70 effective tasks, cost per unit of effective output = $5.71.
In this case, although Model A’s absolute cost is higher, Model B’s cost per unit of effective output is lower. When selecting a model, enterprises should combine quality, stability, compliance, and long-term operating cost for an overall judgment.
9. An Executable Evaluation Checklist: How to Run Acceptance Before Launch?
How to Choose Chinese LLMs? Set Weights by Business Scenario
Different businesses have different capability requirements, so you cannot use the same set of weights to measure every scenario. Refer to the following weight table:
| Business Scenario | General | Complex Reasoning | Code/Agent | Long Context | Multimodal | Hallucination Control | Cost & Security |
|---|---|---|---|---|---|---|---|
| Customer support & knowledge Q&A | 20% | 15% | 10% | 15% | 5% | 25% | 10% |
| Code & R&D assistance | 15% | 20% | 40% | 10% | 5% | 5% | 5% |
| Document analysis & report generation | 15% | 20% | 10% | 35% | 5% | 10% | 5% |
| Multimodal & computer operation | 10% | 10% | 20% | 10% | 30% | 10% | 10% |
The weight table is only a starting point; enterprises should adjust it according to real business distribution, risk level, and cost constraints.
Evaluation Set Sampling and Sample Size Recommendations
- Exploration phase: prepare 100 to 300 tasks per core scenario for quickly screening candidate models.
- Decision phase: expand core scenarios to 500 to 1000 tasks, covering the real problem distribution.
- High-risk scenarios: for finance, healthcare, government services, legal, and similar domains, aim for 1000+ samples and use stratified sampling.
- Public leaderboards can only serve as a reference; the final decision should rely on a dataset close to the business.
Pre-Launch Acceptance Checklist
- Has the evaluation data completed authorization, de-identification, and source tracking?
- Have you fixed the timeout, token limit, concurrency, and retry strategy?
- Are automated tests or fact-checking used instead of subjective scoring?
- Are pass rate, timeout rate, failure rate, and hallucination rate all measured?
- Have you calculated the cost per unit of effective output, rather than just the model’s unit price?
- Do the tests cover key real-business dimensions such as long context, multimodal, and hallucination control?
- Have you completed least-privilege sandbox configuration, an external-call allowlist, and audit logging?
- Have you established a periodic regression mechanism after model iterations?
Common Evaluation Mistakes
- Looking only at general leaderboards and not at performance on real business tasks.
- Relying only on subjective human scoring with no automated verification.
- Not fixing the timeout, tokens, and runtime environment, making results non-reproducible.
- Ignoring hallucination rate and refusal ability, causing high-risk scenarios to spin out of control.
- Looking only at unit price and not at effective output cost.
- Overlooking evaluation data compliance, open-source licenses, and sandbox permission risks.
10. Conclusion
Evaluating Chinese LLMs is essentially about turning the abstract notion of “capability” into measurable, comparable, and reproducible metrics. General capability is the foundation; complex reasoning and agentic programming separate the field; long context, multimodal, and planning capabilities determine scenario breadth; hallucination control holds the line on trustworthiness; and cost efficiency determines feasibility at scale.
What enterprises really need to build is not a one-off model ranking but a sustainable, continuously running evaluation system. Only by combining business scenarios, metric formulas, resource boundaries, compliance requirements, and an acceptance checklist can you make more robust, more verifiable selection decisions in a fast-moving model market.
