Chinese LLM Selection Guide: From Evaluation to Platform Deployment
Selecting a Chinese LLM is not a matter of picking the top model on a public leaderboard. This guide presents a repeatable process for defining task boundaries and acceptance metrics, building a layered evaluation system with business golden sets and online canaries, calculating effective task cost instead of unit token price, and governing multi-model access through routing, observability, version control, and rollback. It also outlines a four-stage rollout path and common pitfalls, helping teams choose and operate models that fit their quality, latency, cost, compliance, and engineering constraints.
Chinese LLM Selection Guide: From Evaluation to Platform Deployment
1. The Real Selection Question: Not “Which Model Is Strongest?” but “Which Model Best Fits the Current Task?”
As the supply of Chinese LLMs becomes more diverse, more inference platforms are aggregating models from different sources as services. Developers can call multiple model capabilities through a single access point and combine them according to task, cost, latency, and compliance requirements. This brings more choice, but it also makes selection more complex: public leaderboard rankings are only clues, not a substitute for business validation.
A common mistake is to reduce “model selection” to “looking at the No. 1 model on a leaderboard.” In practice, leaderboards usually target general tasks, and evaluation sets, prompt templates, decoding parameters, and scoring methods can all affect results. Real enterprise workloads often involve proprietary data, complex workflows, format constraints, and multi-turn interactions. A model that performs well on public benchmarks does not necessarily remain stable in your summarization and extraction, ticket classification, code generation, or long-document QA.
Selection should therefore revolve around three questions. First, is the task boundary clear? Second, are acceptance metrics quantifiable? Third, can the engineering side support continuous evaluation, canary releases, and rollback? Only when model capability is combined with business metrics and platform governance can selection become reusable.
2. Step One: Define Task Boundaries and Acceptance Criteria
Before comparing models, define task types and constraints. Common tasks include text generation, code assistance, summarization, knowledge QA, structured extraction, multi-turn dialogue, and tool calling. Different tasks place very different demands on model capability: code tasks depend more on syntactic correctness and executability; extraction tasks depend more on field completeness and format validity; QA tasks depend more on factual consistency and citation reliability; multi-turn tasks depend more on context retention and instruction following.
At the same time, clarify engineering constraints: Is private deployment required? Does the workload involve sensitive data? What is the expected P95 latency? What is the peak concurrency? What context length is needed? Is structured output required? Are tool calls required? Is cross-region calling allowed? These constraints will directly narrow the candidate set.
Write acceptance criteria as executable metrics, for example:
- Task accuracy or human adoption rate;
- Structured output format validity rate;
- Factual consistency spot-check pass rate;
- P95 latency and timeout rate;
- Cost per thousand requests or per thousand tokens;
- Failure retry rate and fallback success rate;
- Security and compliance spot-check pass rate.
The metrics do not need to be very complex at the start, but they must guide decisions. Otherwise, later evaluation can easily turn into scoring by gut feeling.
3. Step Two: Build a Layered Evaluation System
Public leaderboards can be used for initial screening, but not as the final basis. A more reliable approach is to build a layered evaluation system:
- General capability screening: Use public evaluations and basic examples to quickly eliminate candidates that are clearly mismatched. Focus on instruction following, Chinese understanding, code capability, long context, and structured output.
- Business golden set evaluation: Sample from real business scenarios and build an evaluation set with standard answers or human rating criteria. Samples should cover high-frequency scenarios, long-tail scenarios, boundary inputs, and adversarial inputs.
- Robustness and safety evaluation: Check how models handle noise, typos, overly long inputs, conflicting instructions, and sensitive content.
- Online canary evaluation: Observe latency, failure rate, user feedback, and cost on a small amount of real traffic to avoid divergence between offline results and online performance.
During evaluation, control variables: use the same batch of prompts, the same set of decoding parameters, and the same scoring rules, and combine automated scoring with human spot checks where possible. For generation tasks, set metrics such as “format validity rate,” “key information coverage,” and “human adoption rate.” For extraction tasks, use field-level precision and recall. For code tasks, add compile pass rate, unit test pass rate, and human maintainability scores.
A practical scoring matrix is shown below:
| Dimension | Example Weight | Evaluation Method |
|---|---|---|
| Task accuracy | 30% | Golden set automated scoring + human spot checks |
| Format stability | 15% | Structured output validity rate |
| Latency and throughput | 20% | Load testing and online P95 statistics |
| Cost | 15% | Unit request cost estimation |
| Compliance and security | 10% | Sensitive sample spot checks |
| Engineering integration cost | 10% | Integration changes, monitoring, and fallback complexity |
Weights should be adjusted as the business changes. For example, customer service scenarios may care more about latency and stability, while legal review scenarios may care more about accuracy and traceability.
4. Step Three: Cost and Performance Cannot Be Judged by Unit Price Alone
Many teams compare only unit token prices during selection, but the real cost also includes retries, caching, batch processing, concurrency utilization, cold starts, and operations effort. If a lower-priced model has an unstable format validity rate, it may cause many retries and post-processing steps. If a slightly higher-priced model has a higher first-pass rate, its total cost may actually be lower.
Measure “the cost of completing one effective task” rather than only the price per call. A simple representation is:
Effective task cost = single-call cost × average attempts + post-processing cost + human review cost + allocated operations cost
For performance, distinguish first-token latency, full-generation latency, concurrent throughput, and timeout rate. For interactive applications, first-token latency and P95 latency matter more; for offline batch processing, throughput and unit cost matter more. During load testing, use real length distributions and concurrency patterns to avoid overly optimistic conclusions based only on short-text samples.
5. Step Four: Platform Integration and Engineering Governance
When the candidate set is narrowed to two or three models, the focus should shift from “model comparison” to “platform governance.” The value of a multi-model inference platform lies in unified access, unified authentication, unified quotas, unified monitoring, and unified canary release. From an engineering perspective, at least the following capabilities are recommended:
- Unified call wrapper: Business teams should not bind directly to a specific model. An internal service should wrap requests, retries, timeouts, and fallback.
- Routing and canary release: Select candidate models by task type, tenant, and traffic ratio, and support small-traffic validation and fast rollback.
- Quotas and rate limiting: Prevent a single business from consuming all resources and protect the stability of critical businesses.
- Logging and observability: Record request volume, latency, error codes, retry counts, output format validity rate, and cost.
- Version governance: Model versions, prompt versions, and evaluation set versions must be traceable to avoid effect fluctuations caused by silent model changes.
- Fallback strategy: When the primary model times out or fails, switch to a backup model, or fall back to rule templates and human queues.
Below is a neutral pseudo-configuration example to illustrate how routing policies can be expressed. It is not bound to any specific platform interface:
route_policy:default: candidate_arules:- task: code_generationcandidates: [candidate_a, candidate_b]canary_ratio: 0.1fallback: candidate_ctimeout_ms: 2500- task: long_context_qacandidates: [candidate_d]max_input_tokens: 64000fallback: candidate_aobservability:metrics: [latency_p95, error_rate, format_valid_rate, cost_per_request]
The core of such policies is not to “always call the strongest model,” but to balance quality, cost, and stability across different tasks. For high-value, low-concurrency tasks, prioritize quality. For high-frequency, low-value tasks, prioritize cost and latency. For a new model, first send 10% of traffic as a canary, observe for a week, and then decide whether to expand.
During platform build-out, capabilities such as general compute, container platforms, object storage, logging services, and monitoring and alerting offered by Baidu AI Cloud can be used to build evaluation and canary environments. The specific model choice should still be based on business evaluation results; platform capabilities should not be equated with model quality.
6. Rollout Path: From One-Time Selection to Continuous Operations
It is recommended to split selection into four stages:
- Requirements definition: Clarify task, data, compliance, latency, and cost constraints, and form a candidate list.
- Offline evaluation: Build a business golden set, complete automated scoring and human spot checks, and produce a scoring matrix.
- Small-traffic canary release: Integrate through unified routing into online traffic, and observe P95 latency, failure rate, adoption rate, and cost.
- Scaled operations: Formalize version governance, monitoring and alerting, fallback and rollback, and periodic re-evaluation mechanisms.
It is important to emphasize that model selection is not a one-time project. Model versions, prompts, business distributions, and traffic structures all change. Re-evaluate quarterly or semiannually. A full rerun is not always necessary; keep a core golden set and an online metrics dashboard, and conduct targeted analysis of abnormal fluctuations.
7. Common Pitfalls and Conclusion
Common pitfalls include looking only at public leaderboards, comparing only unit prices, ignoring format stability, ignoring fallback and rollback, and treating one evaluation result as a long-term conclusion. A more reliable approach is to use leaderboards for initial screening, business golden sets for decisions, online canaries for validation, and platform governance for assurance.
In summary, Chinese LLM selection should follow a closed loop: task definition, layered evaluation, cost and performance, platform governance, and continuous re-evaluation. The right model is not necessarily the one with the most outstanding single capability, but the one that performs most stably under your business metrics, engineering constraints, and cost budget. By turning selection into a measurable, canary-ready, and rollback-capable engineering process, teams can gain long-term value in the era of multi-model supply.
