How to Choose a Chinese LLM: A Systematic Evaluation Framework for Developers
Learn how to systematically evaluate Chinese large language models for your project. This guide covers eight evaluation dimensions, building a business-aligned benchmark, and turning results into decisions.
Why “Tier-One” Rankings Are Not Enough for Selection
LLM rankings are often presented as “which vendor sits in the first tier.” This framing assumes two things: that evaluation criteria are uniform, and that the ranking applies equally to all users. Neither holds in practice. Models perform differently across general Q&A, code generation, long-document understanding, and multi-turn dialogue, and the same model’s relative standing shifts from task to task. For developers, the more useful question is: in my business scenario, which model completes the target task at acceptable cost, latency, and compliance levels?
Personal impressions are also worth considering, but they easily mix in subjective preference. Some people care about whether API documentation is clear; others care about whether the response style feels natural. Treating these impressions as conclusions makes them hard to reproduce and hard to use for long-term team decisions. Selection should start from the scenario and decompose judgment into dimensions that can each be verified independently.
Developers vs. End Users: Different Core Concerns
Developers and everyday users care about clearly different things.
- Developers focus on API stability, response speed, structured output capability, function calling support, context length, billing model, and the possibility of private deployment.
- End users focus on whether answers are accurate, whether expression is natural, whether interaction is smooth, whether the model retains conversational context, and whether it explicitly admits uncertainty instead of guessing.
The same model may serve one group very well and the other only adequately. Discussing the two sets of needs separately leads to clearer conclusions and maps more directly to concrete product decisions.
Eight Evaluation Dimensions for Model Selection
1. Task Performance
Task performance is the most critical metric. Break your business down into concrete task types—for example, information extraction, summarization, text classification, code completion, code explanation, mathematical reasoning, and writing. Prepare a set of representative samples for each type and check whether outputs are correct, complete, and conform to format requirements. Samples shown in demos are usually cherry-picked and do not represent overall quality, so validation requires a broader sample set.
2. Instruction Following
In engineering scenarios, model output is typically parsed by downstream programs. If you ask the model to return JSON and it occasionally wraps the JSON in explanatory text, parsing fails. Evaluation should measure format compliance rate, not just whether content “looks right.” Instructions with complex constraints—field counts, enumerated values, output length limits—should also be checked item by item.
3. API and Integration
Confirm that the API protocol integrates with your existing system and that it supports streaming output, timeout control, retry strategies, and concurrency limits. Streaming matters especially for interactive products because it lets users see the first token sooner and reduces perceived latency. Whether the API design is consistent and error codes are clear also directly affects development efficiency and troubleshooting cost.
4. Latency and Throughput
Latency should be measured with percentiles—such as P50 and P95—rather than averages. Averages hide long-tail requests, and those are exactly what users complain about. Throughput determines whether the service can sustain concurrency at peak load. Load tests should use input and output lengths close to real traffic; otherwise the measured data has limited value.
5. Cost Model
Most pay-as-you-go services price by input and output tokens. Cost estimation must account for average dialogue turns, system prompt length, retrieved context size, and output length. A common mistake is comparing only unit prices while ignoring differences in token consumption across models for the same task. The correct approach is to measure total token consumption per request on real business samples, then multiply by unit price to get per-task cost.
6. Data Security and Compliance
Clarify whether the provider uses customer data for model training, how long data is retained, who can access logs, and whether private deployment or dedicated network access is supported. For workloads involving personal information or trade secrets, involve legal and security teams early in selection rather than discovering compliance obstacles after technical rollout.
7. Stability and Service Guarantees
Examine the service’s availability commitments, rate-limiting rules, version-change notification mechanism, and incident response process. Model version updates can change output style or format; production environments should pin a version number whenever possible and run regression tests before upgrading.
8. User Experience
For end-user-facing products, experience includes response style, multi-turn memory, friendliness of error messages, and command of natural language conventions. Experience metrics are subjective; blind testing can reduce bias—have reviewers score outputs without knowing which model produced them.
Building an Evaluation Set Aligned with Your Business
Public leaderboard results should only serve as a reference. A reliable approach is to build an evaluation set closely aligned with your own business:
- Collect samples. Extract questions from real business logs or historical data, covering both high-frequency scenarios and edge cases. Samples must be de-identified, removing personal information and sensitive content.
- Define scoring criteria. Write explicit scoring rules for each task type. For example, score extraction tasks by field accuracy, summarization by key-point coverage and factual error count, and code tasks by unit test pass rate.
- Unify call conditions. Fix temperature, system prompts, output length limits, and other settings so different models are compared under identical conditions.
- Have multiple reviewers score and check consistency. At least two reviewers should score independently; measure inter-rater agreement. Samples with large disagreements need group discussion and revision of the scoring criteria.
- Record results and re-test periodically. After every model version update or business rule change, rerun the evaluation and keep historical records to track trends.
Below is a general-purpose evaluation script. call_model is an adapter function for a specific service; swapping in different service implementations lets you compare their quality and latency under the same workflow.
import jsonimport statisticsimport timedef try_parse_json(text):try:return json.loads(text)except (ValueError, TypeError):return Nonedef evaluate_model(call_model, test_cases):"""call_model: a function that takes a prompt string and returns the model output text.test_cases: a list where each item contains the keys "prompt" and "expected_fields"."""latencies = []passed = 0format_ok = 0for case in test_cases:start = time.perf_counter()output = call_model(case["prompt"])latencies.append(time.perf_counter() - start)parsed = try_parse_json(output)if parsed is None:continueformat_ok += 1if all(parsed.get(k) == v for k, v in case["expected_fields"].items()):passed += 1total = len(test_cases)latencies.sort()p95_index = max(0, int(len(latencies) * 0.95) - 1)return {"accuracy": passed / total,"format_rate": format_ok / total,"latency_p50": statistics.median(latencies),"latency_p95": latencies[p95_index],}
This script demonstrates only three metrics: field accuracy, format compliance rate, and latency percentiles. Real projects should add semantic similarity checks, manual spot checks, and cost statistics according to task type.
Turning Evaluation Results into Decisions
A single metric rarely determines the choice. A more robust approach is to set hard thresholds first, then compare the remaining metrics by weight.
- Hard thresholds: for example, data must remain within a required jurisdiction, format compliance must not fall below an agreed threshold, and P95 latency must stay within the product’s acceptable range. Options that fail any threshold are eliminated outright.
- Weighted scoring: assign weights to task performance, cost, experience, and other dimensions based on business priorities, then compute composite scores.
- Weight determination: weights should be set jointly by business and engineering stakeholders and documented in the evaluation write-up. Agreeing on criteria in advance prevents adjusting the rules after seeing the results.
Recommended Selection Process
- Define the business scenario and list non-negotiable constraints, such as compliance requirements and latency ceilings.
- Shortlist three to five candidate services; too many candidates will make evaluation costs unmanageable.
- Run benchmarks with your own evaluation set, recording quality, latency, and per-task cost.
- Roll out with a small-traffic canary release, collecting real user feedback and failure cases.
- Select a primary option while keeping a backup to handle service fluctuations or pricing changes.
- Establish a regression mechanism for version changes—rerun the evaluation set before every upgrade.
Common Pitfalls
- Treating demo results as stable performance. Demo samples are usually curated; validate with randomly sampled real data.
- Comparing only unit prices while ignoring differences in token consumption across models.
- Judging user experience by average latency while ignoring the impact of long-tail requests.
- Overlooking how version upgrades affect output format and style, causing downstream parsers to break without warning.
- Drawing conclusions from personal preference alone, without reproducible data to back them up, making it hard for teams to reach consistent judgments.
The essence of model selection is converting subjective impressions into verifiable metrics. The sooner a team establishes a unified evaluation methodology, the better it can make stable, explainable decisions in an environment where models iterate rapidly.
