Selecting Chinese LLMs: From Capability Evaluation to Inference Service Deployment
Selecting a large language model (LLM) goes beyond simply picking the highest-scoring model on a leaderboard; it requires a holistic evaluation across the model capability, inference service, and business application layers. This article provides a comprehensive guide to evaluating Chinese LLMs, covering how to build customized test sets, assess actual performance and cost, choose between managed APIs and private deployments, and implement an isolation layer to reduce migration costs. It emphasizes that the ultimate goal is not to find the "strongest" model, but a verifiable technical solution that consistently delivers qualified results within your data, workflows, budget, and risk boundaries.
1. Clarify the Problem: Are You Choosing a Model or a Complete Service?
Faced with constantly updating Chinese LLMs, developers often fall into the trap of treating “which model is stronger” as a question that can be answered independently of the use case.
In reality, enterprises need to select more than just a model; they must also consider access methods, inference environments, data processing pipelines, and subsequent O&M mechanisms. A model performing well in public tests does not guarantee its suitability for enterprise document QA, code maintenance, or structured information extraction. The same model deployed differently can exhibit varying latency, throughput, and operating costs.
Therefore, a reasonable selection target should be divided into three layers:
- Model Capability Layer: Can the model correctly complete the target task, and is the output reliable?
- Inference Service Layer: How is the model loaded, scheduled, and called? Is the service stable?
- Business Application Layer: How does the model integrate with knowledge bases, permission systems, business workflows, and human review?
These three layers are interconnected but cannot replace one another. A connected API only proves the call chain is basically functional; passing business acceptance proves it has the foundation to enter production.
2. What Problems Do Inference Microservices Solve?
A model is essentially a set of parameters and its accompanying compute structure. To enable a business system to call it, a series of tasks must be completed, including model loading, compute resource allocation, request handling, and result returning.
Inference microservices encapsulate these inference capabilities into independently deployable, callable, and manageable service units. You can think of it as a service-bearing layer between the model and the business system, but it should not be simplistically equated with a “model directory” or “model download station.”
A typical inference service system usually involves the following components:
First, Runtime Environment Management.
Model execution depends on compute devices, drivers, inference runtimes, and related components. Service encapsulation reduces repetitive configuration, but it does not mean any hardware can directly run any model.
Second, Request Scheduling and Resource Utilization.
When multiple users call the model simultaneously, the system must coordinate queuing, batching, concurrent execution, and resource usage. Scheduling policies affect average throughput and the wait time for individual requests.
Third, Service Governance.
Production systems typically require identity authentication, call quotas, access logs, health checks, and fault alerts. Some capabilities are provided by the inference service, while others need to be supplemented by peripheral gateways and O&M systems.
Fourth, Version Management.
Changes in model weights, inference runtime, or input templates can alter actual outputs. Version management must cover the entire runtime combination, not just record the model name.
Therefore, “the model appears in a service directory” does not equal “ready for immediate production use.” You should also verify the service status, available regions, data processing rules, resource limits, and applicable licenses.
3. Start with Business Acceptance Criteria, Not Leaderboards
Public leaderboards can help you understand a model’s capability direction, but they only reflect results under specific test sets, scoring rules, and runtime configurations.
For example, scoring for page generation tasks might emphasize visual effects and interaction completeness, while internal enterprise management pages must also meet permission control, field validation, accessibility, and long-term maintenance requirements. Excelling at the former does not directly imply reliability for the latter.
A more effective approach is to first answer three questions:
- What specific tasks will the model undertake?
- What constitutes a success, and what errors are absolutely unacceptable?
- To achieve the quality requirements, what wait time and cost are acceptable?
Different tasks require different acceptance focuses:
| Task Type | Key Capabilities Evaluated | Common Failure Modes |
|---|---|---|
| Document QA | Citation usage, factual consistency, reference accuracy | Fabricated conclusions, misplaced citations, ignoring document versions |
| Structured Extraction | Field accuracy, format adherence, missing value handling | Missing fields, unauthorized auto-completion, type errors |
| Coding Assistance | Requirement understanding, code correctness, maintainability | Non-runnable code, missing edge cases, insufficient security checks |
| Workflow Execution | Step planning, external tool calling, exception recovery | Parameter errors, duplicate operations, unauthorized execution |
| Content Generation | Instruction adherence, style consistency, factual constraints | Off-topic, verbosity, unsupported facts |
The first document in model selection should not be a candidate list, but this business acceptance table.
4. Build Your Own Test Set for Reliable Conclusions
1. Use Real Tasks, Not Just Showcase Questions
Test samples should come from actual business operations and undergo necessary desensitization and authorization before use.
If the goal is contract information extraction, samples should cover various layouts, missing fields, duplicate clauses, and date formats; if the goal is knowledge QA, it should include answerable questions, insufficient-material questions, cross-document questions, and conflicting information.
A test set with only simple questions can usually only prove that the model works under ideal conditions, failing to demonstrate its reliability in complex environments.
2. Divide the Test Set by Difficulty and Risk Levels
It is recommended to include at least:
- Routine Samples: Represent daily primary workload.
- Boundary Samples: Include long inputs, ambiguous expressions, incomplete conditions, etc.
- Abnormal Samples: Involve invalid inputs, external service failures, missing materials.
- Safety Samples: Test sensitive information protection, permission boundaries, and malicious prompt handling.
For high-risk tasks, severe errors should be tracked separately rather than being diluted by high scores from a large number of simple tasks.
3. Fix Test Conditions While Retaining Reasonable Adaptation Space
When comparing candidate models, you should record the input template, output length limits, sampling settings, retry rules, knowledge retrieval method, and runtime environment.
You can arrange two rounds of testing:
- Round 1: Use unified task constraints to observe the model’s baseline performance.
- Round 2: Under the same optimization budget, allow adjusting prompts and service configurations for different models to compare the practically achievable effects.
This avoids unfairness caused by boundless parameter tuning and reduces the bias of “the same prompt naturally fitting a certain model better.”
4. Combine Programmatic Checks with Manual Review
Structured output can be checked for field completeness, data types, and constraint satisfaction; coding tasks can be verified through compilation, automated testing, and security checks; open-ended answers require manual review combined with reference materials.
Using another model to assist with scoring can improve efficiency, but its judgment should not be directly treated as fact. For financial, legal, and security-related results, professional review should be retained.
5. Performance Evaluation: More Than Just Generation Speed
The response time perceived by the business does not equal the model’s generation speed.
A complete request may go through authentication, retrieval, queuing, input processing, generation, and post-processing. Therefore, you should at least observe the following separately:
- Time to First Token (TTFT): How long until the user sees the first part of the result.
- Full Request Latency: How long from submission to the complete return of results.
- Concurrency Capacity: Under multi-user access, whether quality and latency still meet requirements.
- Tail Latency: Whether the slower portion of requests severely drags down the experience.
- Effective Throughput: How many tasks passing quality acceptance are completed per unit of time.
Among these, effective throughput has more business value than raw output speed. A fast-generating solution that frequently requires retries may be inferior to a slightly slower but stable and correct solution.
Stress testing should also closely mimic real traffic. Short-input tests cannot represent long-document processing performance, and single-user tests cannot infer queuing situations under high concurrency.
6. Calculate Cost Based on “Effectively Completed Tasks”
Comparing only the API unit price easily underestimates actual expenditure. The costs truly borne by an enterprise usually also include:
- Input, output, and long-context processing consumption;
- Retrieval, storage, logs, and network resources;
- Failed retries and multi-turn corrections;
- Manual review and result rework;
- Compute resources and O&M investments for private deployment;
- Regression testing and migration costs after model upgrades.
A general accounting approach can be adopted:
Cost per Effective Task = Total Relevant Costs in the Statistical Period ÷ Number of Accepted Tasks
When calculating, you must first define the task acceptance criteria and statistical boundaries. Otherwise, a model with cheap output but frequent errors might seem economical on paper while actually increasing the rework burden.
For low-frequency, fast-changing business needs, managed API calls are usually convenient for experimentation; for continuous high-load scenarios with O&M capabilities, self-built deployment is worth further calculation. However, which is more economical depends on resource utilization, service goals, and personnel costs—there is no direct conclusion.
7. How to Choose Between Managed APIs and Private Deployment?
Managed APIs: Focus on Service Boundaries
Managed methods usually reduce the maintenance work for the model’s runtime environment, but the following must be verified:
- Whether business data is allowed to be sent to the server;
- How input, output, and logs are retained;
- Whether the service meets the required concurrency and response requirements;
- Whether version changes have notification and rollback arrangements;
- Whether data export, access audits, and exit migration are feasible.
Do not automatically interpret “accessible API” as having a production availability commitment, nor treat temporary trial resources as long-term stable resources.
Private Deployment: Focus on Runtime Conditions
Private deployment requires first confirming whether the model license covers the target use case, followed by evaluating the resource demands brought by weights, computation, and context caching.
Model size is not the only variable in resource requirements. Context length, concurrent requests, numerical precision, and scheduling policies all affect memory or VRAM usage.
Reducing numerical precision may decrease resource consumption but could also affect output quality for specific tasks. Therefore, after deployment optimization, you must re-run business tests, not just check if the service started successfully.
Furthermore, private deployment does not inherently mean security. Access control, dependency management, log protection, network isolation, and vulnerability patching still require continuous investment.
8. Use an Isolation Layer to Reduce Migration Costs in Business Integration
If business code directly depends on a specific service’s request fields, error codes, and return structures, replacing the model later often requires widespread modifications.
A more prudent approach is to establish a unified adaptation layer between the business and the inference service:
Business request
$\rightarrow$ Identity authentication and permission check
$\rightarrow$ Input validation and necessary desensitization
$\rightarrow$ Model routing and service adaptation
$\rightarrow$ Inference call
$\rightarrow$ Output validation and risk control
$\rightarrow$ Return result or transfer to manual processing
This layer doesn’t need to be complex, but should prioritize solving a few key issues:
Unify Business Semantics.
The business side expresses “extract contract fields” or “answer knowledge questions” rather than scattering low-level service parameters everywhere.
Define Timeout and Retry Policies.
Only apply a limited number of retries to appropriate failures. For tasks involving external writes or actual execution, set up business deduplication mechanisms to avoid duplicate operations.
Validate Output Before Execution.
Model-generated structured content might not conform to constraints. You should check fields, value ranges, and permissions; high-risk actions still require manual confirmation.
Retain Necessary Runtime Records.
Log the model version, template version, latency, error types, and acceptance results, while avoiding keeping complete sensitive content in standard logs.
This design cannot eliminate model differences, but it confines them to a smaller scope, reducing the risk of subsequent replacement and rollback.
9. Launching is Not the End of Selection, But the Start of Continuous Validation
After completing offline testing, you should first launch within a controlled scope and gradually increase traffic, rather than replacing all business operations at once.
During the launch, both technical and business metrics must be monitored simultaneously. Technical metrics include failure rate, queue time, and resource usage; business metrics include task pass rate, manual revision rate, complaints, and the number of high-risk errors.
Model upgrades, input template adjustments, knowledge base updates, and inference configuration changes can all alter results. Therefore, key changes should trigger regression tests and retain executable rollback plans.
For higher-risk applications, clear stop conditions should be established: when the error rate exceeds internal tolerance, permission check anomalies occur, or signs of sensitive data leakage appear, relevant automated processes should be paused, switching to degraded service or manual processing.
10. Final Choice: Finding a Verifiable Solution, Not the Strongest Model
The selection of Chinese LLMs can be condensed into a clear path:
Define Tasks & Risks $\rightarrow$ Set Hard Constraints $\rightarrow$ Build Business Test Set $\rightarrow$ Verify Quality $\rightarrow$ Measure Performance & Cost $\rightarrow$ Launch Small Scale $\rightarrow$ Continuous Regression.
Among these, data compliance, license conditions, permission security, and minimum quality requirements should serve as entry thresholds, which cannot be offset by lower prices or faster speeds.
If a single model cannot cover all requirements, you can also route by task complexity: use lightweight processing for tasks with clear rules, stronger inference capabilities for complex tasks, and human review for high-risk results. However, routing itself increases system complexity, and is only worth adopting if the benefits cover the governance costs.
What is truly worth choosing is not the model topping a leaderboard or the newly opened API service, but a complete technical solution that can continuously deliver qualified results within your data, workflows, budget, and risk boundaries.
