Evaluating Chinese LLMs: A Selection Methodology for Engineers
Choosing the right large language model (LLM) goes beyond simply looking at public leaderboards. For engineers, model selection must be tied to specific task scenarios. This article outlines a comprehensive methodology for rationally evaluating LLMs, covering task profiling, building a custom evaluation dataset, testing often-overlooked capabilities, and balancing cost and deployment constraints. By establishing a reproducible evaluation system, engineering teams can make data-driven decisions that remain resilient to the rapid iterations of the LLM market.
I. Why “Which LLM is in the Top 4?” is the Wrong Question
In technical communities, debates about which models rank highest are frequent. However, as engineers, we must recognize that evaluating models outside the context of specific tasks is largely meaningless. There are three main reasons:
- Diverse evaluation dimensions: Math reasoning, code generation, long-context comprehension, multi-turn dialogue, creative writing, tool calling—no single model excels at everything.
- Rapid iteration: LLM versions update on a monthly basis. Conclusions drawn today may be invalid next month. A review you read might be testing an outdated version.
- Varying evaluation methods: Under different benchmarks, prompts, and decoding parameters, the rankings of the same batch of models can completely flip.
Therefore, the more valuable question is not “Which model is the best overall?” but rather “How can I establish a reproducible evaluation method tailored to my specific tasks?“ Below is a complete selection framework.
II. Step 1: Define the Task Profile
The starting point for selection is clearly defining your use case. Break down your requirements into the following dimensions:
- Task type: Is it academic Q&A, code assistance, document summarization, or multi-step tool calling via an Agent? Different tasks require vastly different capabilities. For example, code tasks demand structured output and logical rigor, while creative tasks prioritize language fluency.
- Input scale: Does it involve ultra-long documents? If a single input frequently exceeds tens of thousands of tokens, long-context capability is a hard requirement. You need to verify the “effective context length” rather than relying on advertised limits—many models exhibit significant “middle information loss” as they approach their context limits.
- Knowledge timeliness: Does the task depend on the latest information? If so, confirm whether the model supports Retrieval-Augmented Generation (RAG) or internet access, and evaluate the retrieval quality.
- Output constraints: Does it require strict JSON formats or specific function-calling structures? The stability of structured output is critical for downstream engineering.
- Scale and cost of calls: Daily call volume, average tokens per call, and latency requirements determine whether you should use an API, a privately deployed model, or an on-device small model.
Document this task profile; it will serve as the anchor for your subsequent evaluations.
III. Step 2: Build Your Own Evaluation Dataset
Public leaderboards (whether academic benchmarks or community arenas) should only be used for initial screening. The actual selection should be determined by a privately built test set. Here is how to do it:
- Sample real data: Extract 50 to 200 real samples from your business logs, historical tickets, and typical documents, covering both high-frequency scenarios and edge cases.
- Define scoring criteria: Establish scoring dimensions for each task type, such as correctness, completeness, format compliance, and hallucination rate. Use rule-based scripts for automated scoring (e.g., whether JSON is parseable, whether code passes unit tests) or conduct manual spot checks.
- Control variables: Ensure all models use the exact same prompts, temperature parameters, and system prompts to guarantee comparable results.
- Run multiple times for statistics: Due to random decoding, a single result is unreliable. Run each test at least 3 times and take the mean or use majority voting.
Here is a simple automated evaluation skeleton:
import json, statisticsCASES = json.load(open("test_cases.json")) # [{"input":..., "checker":...}]def run_eval(model_client, cases, n=3):scores = []for case in cases:results = [model_client.chat(case["input"]) for _ in range(n)]scores.append(max(case["checker"](r) for r in results))return {"mean": statistics.mean(scores), "pass_rate": sum(s>0.8 for s in scores)/len(scores)}
The core idea is to use an engineering approach to transform “which one feels better to use” into “which one scores higher on my data.”
IV. Step 3: Focus on Often-Overlooked Capability Dimensions
Based on common pain points in the community, the following aspects warrant rigorous testing:
1. Hallucination control: For knowledge-based Q&A tasks, construct questions with plausible but non-existent answers (e.g., fabricated technical terms) to see if the model admits it doesn’t know or confidently makes things up. This is a life-or-death line for academic Q&A scenarios.
2. Instruction adherence and structured output: Give the model a complex output format requirement (multi-field JSON + field constraints + exclusion rules) and track the first-attempt pass rate. Models with fragile formatting will generate a lot of dirty data in your parsing layer.
3. Multi-turn context consistency: Does the model forget early constraints in long conversations? Does its persona “drift” as the dialogue progresses? Construct dialogue scripts with 20+ turns to test this.
4. Reasoning depth vs. response speed: Some models offer deep reasoning modes, providing stronger reasoning at the cost of higher latency and token consumption. A common engineering practice is tiered routing: simple tasks go to a fast model, while complex tasks go to a reasoning model. A simple routing example:
def route(prompt):if estimate_difficulty(prompt) > THRESHOLD:return reasoning_model # Complex reasoningreturn fast_model # Daily Q&A
5. Chinese language nuances: Understanding classical Chinese, recognizing idiom misuse, and adhering to Chinese punctuation and typography rules—these “minor issues” significantly impact the user experience in Chinese contexts and deserve targeted test cases.
V. Step 4: Balance Cost, Deployment, and Compliance
Beyond capabilities, engineering constraints are equally critical:
- API calls: Suitable for rapid validation and low-to-medium traffic. Pay attention to rate limits, context window billing methods, and timeout/retry strategies. Always implement backoff, retries, and fallbacks (e.g., falling back to a backup model) in your code.
- Private deployment: Suitable for data-sensitive scenarios. Deploying open-weight models with inference frameworks is a common route, but you must evaluate GPU costs, throughput, and operational complexity.
- Caching and cost reduction: Implement semantic caching for high-frequency repeated questions and leverage prefix caching for long system prompts to significantly reduce costs.
VI. Common Pitfalls to Avoid
Finally, here are some frequent mistakes:
- Relying only on leaderboards without testing a private set—a high leaderboard score doesn’t mean it works well for your specific scenario.
- Using the same prompts indefinitely—prompts need re-optimization when switching models, as different models have different optimal prompt styles.
- Ignoring version locking—fix the model version number in production environments and run regression tests before deploying new versions.
- Blindly trusting “large parameters”—parameter size is just one factor; training data quality and post-training methods are equally decisive.
- Lacking a fallback plan—any single point of dependency carries risk; primary-backup model switching should be standard.
VII. Conclusion
Returning to the original question: Who makes up the first tier of Chinese LLMs? Objectively, the comprehensive capabilities of the leading models are rapidly converging, with gaps more evident in specific dimensions rather than overall tiers. For engineers, rather than chasing rankings, it is better to focus on building your own evaluation system: defining tasks, constructing private test sets, automating scoring, and running continuous regressions. Once this methodology is established, no matter how the model market fluctuates, you can deliver a data-driven selection conclusion within a week. This is the true moat for engineers navigating an era of rapid iteration.
