How to Choose a Chinese LLM: From Capability Evaluation to Production Inference
Selecting a Chinese large language model is not a leaderboard contest. This article explains how to separate model capability, inference serving, and application architecture; how to turn business needs into testable tasks; and how to evaluate quality, cost, deployment options, and production safety before going live.
Clarify what you are actually choosing
Choosing a Chinese large language model looks like comparing answer quality. In practice it is three different decisions: model capability, inference serving, and application architecture.
Model capability determines whether the system can understand questions, reason, generate code, and use given source material correctly. Inference serving determines whether those capabilities can be delivered with acceptable latency, stability, and cost. Application architecture determines how the model connects to knowledge bases, business systems, and human review.
Do not mix these layers. Strong public-benchmark scores do not mean a model still meets latency targets on a given hardware stack. A convenient API does not mean the underlying model is fit for complex coding work. Fluent answers do not mean the model can be allowed to execute high-risk operations.
Start with requirements, not “which model is strongest”:
- What task must succeed, and how is success judged?
- What materials are in the input, and is sensitive data involved?
- How long will users wait?
- What concurrency must the system support?
- What happens when the answer is wrong?
- Is budget driven by API spend, or by infrastructure and operations?
Answers to those questions usually matter more than a composite ranking.
Inference microservices deliver serving; they do not replace evaluation
LLM inference involves loading weights, allocating compute, scheduling requests, managing caches, returning output, and recovering from failures. If every product team owns those details, cost and operational risk rise.
An inference microservice wraps model execution as a callable, observable, operable service. Applications submit requests through an interface and do not manage the compute layer directly.
A common path is:
Business app → access and auth → request scheduling → model inference → result checks → business output
Around that path you still need logging, monitoring and alerts, rate limits, timeouts, and version management.
Serving is a delivery pattern, not a guaranteed performance win. Results depend on model size, hardware, the inference stack, input length, and load. Streaming, autoscaling, and other optimizations must be judged on the actual deployment.
An available API only proves an access path exists. You still need to confirm service health, access limits, data handling, version stability, and failure recovery before production use.
Break business needs into verifiable capabilities
1. Document Q&A: evidence, not fluency
Enterprise knowledge Q&A must be supported by the given materials, not merely sound plausible.
Tests should cover fact lookup, cross-paragraph synthesis, conditionals, conflicting sources, and missing information. If a policy is not stated, the model should say the evidence is insufficient rather than invent a commonsensical answer.
If you use RAG, score retrieval and generation separately. Wrong documents are a retrieval failure; correct documents with a wrong answer point to understanding or generation. Mixing them produces the wrong selection decision.
2. Code: executable and maintainable, not long
Do not judge code generation by reading the output. A complete-looking patch can contain edge-case bugs, security issues, or style that fights the existing codebase.
Cover requirement understanding, local edits, bug fixes, extra tests, and explanations of errors. Besides passing tests, check whether the model:
- changes unrelated business logic
- handles exceptions and edge inputs
- leaks sensitive data
- keeps validation and permission checks
- can explain why it changed the code
For web work, screenshots are not enough. Verify interaction, layout across screen sizes, form validation, and how the page talks to backend data. Visual quality is only part of engineering quality.
3. Long context: information retention, not advertised window size
Accepting a long prompt is not the same as using all of it reliably.
Place key evidence in different positions, add distractors, and check for dropped conditions, mixed-up entities, or lost constraints in summaries. For multi-document work, check whether the model notices source differences and conflicts.
A stated context limit is not the business-effective length. Cost, latency, and quality can all change as inputs grow; measure on real documents.
4. Multi-step work: process reliability, not a single good reply
When the model sits in a workflow, it may read information, propose a plan, call controlled actions, then summarize.
Evaluate parameter generation, state tracking, failure handling, and stop conditions—not only language understanding. One bad action can fail the whole job even if most steps look fine.
Score end-to-end completion, and record where each step failed. Do not substitute chat quality for process reliability.
Build your own eval set so leaderboards do not steer you
Public leaderboards are a first look at a capability class. They do not replace internal validation. Task mix, scoring, and runtime often differ from your business.
Step 1: Collect real tasks
Sample historical tickets, consultations, code changes, and document jobs. Include frequent work, hard cases, and failure-prone edges.
Redact personal or confidential data and confirm allowed use.
Step 2: Define success
Use task-specific criteria:
- Fact Q&A: key facts correct and grounded in sources
- Extraction: complete fields, faithful to the original
- Code edits: tests pass, no obvious regressions
- Summaries: main conclusions, constraints, and risks covered
- Workflows: goal completed without unauthorized actions
Avoid a single “satisfaction” score. It does not explain failures or guide improvement.
Step 3: Control conditions
Keep materials, prompts, output constraints, and runtime as consistent as possible. For stochastic generation, repeat runs and watch variance instead of keeping only the best trial.
Record model version, service config, and test date. After updates, rerun critical regressions.
Step 4: Score quality and efficiency separately
Quality: task success, factual error rate, format compliance, human edit effort. Efficiency: time to first token, full response time, failure under concurrency, cost per task.
Present them separately. A single total score hides unacceptable weak spots.
Cost is not the price of one call
Total cost includes compute or API fees, data processing, build and ops, plus human review and rework.
The useful metric is cost to complete one successful task:
Cost per successful task = related total cost in the period ÷ number of successfully completed tasks
Include failed requests, retries, and necessary human work. Otherwise a cheap-but-unreliable option looks cheaper than it is.
Use realistic input and output lengths. Savings on short questions may disappear on long analysis, code generation, or multi-turn chat.
Compression, caching duplicates, tighter retrieval, and output limits can cut spend—only after quality checks so you do not drop critical information.
How to choose a deployment model
Managed inference
Managed serving reduces infrastructure work and fits fast validation or teams without dedicated ops.
Confirm data retention, access control, capacity limits, change process, and incident handling. Easy onboarding does not remove data and runtime risk.
Self-hosted inference
Self-hosting fits teams that need tighter control of environment, data flow, and versions. You also own capacity planning, operations, and security.
Confirm license terms and that weights and deployment artifacts are actually available. Not every model supports the same deployment modes.
Self-hosting is not automatically cheaper. Low or bursty utilization can waste capacity and ops effort.
Multiple models
Route simple classification and heavy reasoning to different capability and cost tiers.
Routing itself can fail. Validate classification accuracy, unnecessary upgrades, and whether output differences break business consistency.
Until requirements stabilize, a single design is easier to debug. Multi-model setups pay off after quality or cost bottlenecks are clear.
Production needs safety and stability
Treat model output as unverified information, not trusted instructions.
For database changes, messaging, payments, and permission changes, the business system must enforce auth, parameter checks, and human confirmation where needed. Do not let the model alone decide whether an action is allowed.
For user, web, or external document content, defend against prompt injection: instructions to ignore rules, leak data, or take extra actions. Separate business instructions from untrusted data, and limit which resources and actions the model can reach.
At minimum, design:
- request timeouts and cancellation
- bounded retries
- concurrency control and resource protection
- degradation and human takeover
- idempotency for side-effecting operations
- traceable, redactable logs
Retries on side-effecting work need extra care. A timeout does not mean the action never ran; blind replay can double-submit.
A practical selection process
Phase 1 — Requirements and constraints. Fix goals, data boundaries, quality floor, latency, and budget. Drop options that fail hard constraints.
Phase 2 — Offline eval. Run the same real tasks. Compare quality, stability, and cost. Keep failure cases, not only averages.
Phase 3 — Real load. Vary input length, concurrency, and sustained run time. Watch resource use, timeouts, and queues.
Phase 4 — Limited production trial. Keep human review and rollback. Watch acceptance, edit volume, and completion rates.
Phase 5 — Ongoing regression. Re-test critical tasks when the model, prompts, knowledge base, or process changes.
The goal is not a context-free “strongest” model. It is a combination that meets constraints, produces reliable results, and keeps cost under control. Leaderboards are clues and APIs are a starting point; business eval, serving verification, and ongoing governance decide whether the system can actually ship.
