How to Evaluate and Select Chinese LLMs: Benchmark Analysis and Engineering Practices

    This article explains why near-identical benchmark scores for Chinese general-purpose LLMs should be treated as a screening tool rather than a ranking, and how engineering teams can move from public leaderboards to reproducible evaluation and model selection. It covers the dimensions behind general-capability benchmarks, how to build a small evaluation set with fixed decoding parameters, a four-factor decision framework balancing quality, cost, stability, and compliance, practical cost-control techniques, production reliability requirements, and a staged rollout path with regression testing. Readers will find pseudocode examples and concrete guidance for turning subjective impressions into measurable engineering metrics.

    1. What Benchmarks Actually Tell You: Scores Are Only the Entry Point

    A recent round of Chinese general-capability testing showed leading general-purpose LLMs in China clustering around a composite score of 61, with less than one point separating them. For engineering teams, the value of this information is not who ranks higher, but what it reveals: the capability distribution of mainstream Chinese general models has become highly converged. On common tasks such as general knowledge Q&A, text summarization, and semantic understanding, the practical usability gap between mainstream models is shrinking.

    Building a selection decision on leaderboard rank is therefore unreliable. A more sensible approach is to treat the leaderboard as a sieve for the capability floor: first eliminate candidates that clearly fall short, then run a second evaluation using your own business data. Near-identical scores also mean that the factors真正 driving differences in user experience are usually on the engineering side: whether the context window is large enough, whether structured output is stable, whether long documents lose information in the middle, and whether latency jitter under concurrency is acceptable.

    2. Inside the Evaluation System: What General Capability Really Measures

    Chinese general-capability evaluations are typically a weighted combination of several dimensions, commonly including language understanding, knowledge Q&A, logical reasoning, math and code, instruction following, long-text processing, and safety/compliance. Understanding the dimension mix yields two direct benefits:

    • You can judge whether a candidate model fits your business. For contract review, for example, long-text processing and instruction following carry far more weight than math ability.
    • You can locate the cause of failures. If a model loses points on “multi-constraint formatted output,” the problem is usually not insufficient knowledge but limited instruction parsing and constraint satisfaction.

    It is worth stressing that public leaderboards use general task sets that deviate from real business distributions. A model that performs mediocrely on enterprise knowledge-base Q&A may offer better cost efficiency on summarization and compression tasks. There is no context-free “strongest model.”

    3. Reproducible Evaluation: Turning Subjective Feelings into Engineering Metrics

    Teams should build a small but stable evaluation set of their own, on the order of a few hundred cases, covering high-frequency real requests and typical long-tail scenarios. The core goal is to convert “feels good” into statistically measurable metrics.

    Evaluation scaffold (pseudocode):

    1. # 1) Fix inputs and decoding parameters to ensure reproducibility
    2. cases = load_jsonl("eval_set.jsonl") # each entry has prompt, reference answer, scoring dimensions
    3. params = {"temperature": 0.0, "top_p": 1.0, "max_tokens": 1024, "seed": 42}
    4. # 2) Run inference per case and record latency and usage
    5. records = []
    6. for c in cases:
    7. t0 = time.time()
    8. out = call_model(c["prompt"], **params)
    9. records.append({
    10. "id": c["id"],
    11. "output": out.text,
    12. "latency_ms": (time.time() - t0) * 1000,
    13. "prompt_tokens": out.usage.prompt_tokens,
    14. "completion_tokens": out.usage.completion_tokens,
    15. })
    16. # 3) Score by dimension: rule checks + model cross-review + human spot checks
    17. report = score_by_dimension(records, rubric="rubric.yaml")

    Three points that are easy to overlook in practice:

    1. Decoding parameters must be fixed. If temperature and sampling parameters are not fixed, the same input produces different results across two runs, and the evaluation conclusions are untrustworthy.
    2. Separate “capability metrics” from “service metrics.” Accuracy and format-compliance rate are capability; time to first token, output tokens per second, and rate-limit trigger rate are service. The two must be tracked separately.
    3. Keep failure samples. Failure samples are more valuable than the total score and are a direct source for prompt optimization and fine-tuning data construction.

    4. From Leaderboard to Selection: A Four-Dimension Decision Framework

    Given that candidate models are close in capability, score and weight them along four dimensions:

    • Quality fit: per-dimension scores on your own evaluation set; this should carry the highest weight.
    • Inference cost: estimated by total input and output tokens per thousand requests. Long-context scenarios need separate modeling because input tokens often dominate.
    • Service stability: latency distribution (focus on P95/P99 rather than the mean), rate-limiting policy, and availability-zone failover capability.
    • Compliance and data boundaries: whether data is used for training, log retention period, content-safety filtering policy, and whether private network access is supported.

    A simplified weighted calculation example:

    1. weights = {"quality": 0.45, "cost": 0.25, "stability": 0.20, "compliance": 0.10}
    2. score = sum(weights[k] * normalized[k] for k in weights)

    5. Cost Control: Architecture Determines the Bill

    Model invocation cost is driven mainly by input tokens, output tokens, and call volume. Four common engineering techniques apply:

    1. Context trimming. In retrieval-augmented scenarios, rerank and deduplicate first, compressing a dozen retrieved passages down to three to five highly relevant ones; input tokens often drop by more than half.
    2. Result caching. Build a semantic cache for high-frequency repeated questions and return on a hit to avoid repeated inference.
    3. Tiered routing. Send simple requests to a small-parameter model or rule templates, and escalate complex requests to a large-parameter model, using a routing classifier to control the ratio.
    4. Streaming output. Reduces time to first token and improves interactive feel, while making timeout interruption easier and cutting wasted consumption.

    Illustrative routing logic:

    1. def route(req):
    2. if req.estimated_tokens < 512 and not req.need_reasoning:
    3. return small_model
    4. if req.task_type in {"code", "math"}:
    5. return reasoning_model
    6. return default_model

    6. Stability and Engineering Support

    In production, treat the model as an external dependency that “jitters, rate-limits, and occasionally returns non-compliant content”:

    • Timeouts and retries: set tiered timeouts, and use exponential backoff for retries to avoid cascading failures.
    • Fallback strategy: switch to a backup model or return cached results when the primary model is unavailable, keeping the pipeline usable.
    • Output validation: apply schema validation to structured output, and on failure retry automatically with additional constraint hints.
    • Observability: have the logging service record request fingerprints, token usage, and latency; set alerting thresholds on error rate and P99 latency.
    • Data pipeline: use object storage to hold evaluation sets and failure samples, a message queue to smooth traffic peaks, and a container platform to host the inference gateway and routing service with elastic scaling.

    7. Rollout Path: Canary, Evaluate, Iterate

    A four-step approach is recommended: first use the offline evaluation set as an admission gate; then canary at 5% traffic and compare core business metrics (such as task completion rate and human-takeover rate); then gradually ramp up while keeping one-click rollback; finally establish a monthly regression evaluation to prevent quality drift caused by model-side updates. A model version change should be treated as a “dependency upgrade” that requires rerunning the regression suite.

    8. Common Pitfalls

    • Looking only at the composite score and not the per-dimension breakdown, leading to concentrated failures on specific tasks after launch.
    • Using mean latency for capacity planning while ignoring queuing caused by long-tail requests.
    • Changing prompts frequently without version control, making quality fluctuations impossible to attribute.
    • Sending all requests to a single model, amplifying both cost and service risk.

    Conclusion

    When the capability gap among mainstream Chinese general-purpose LLMs narrows to within one point, the focus of competition shifts from “model scores” to “engineering execution quality.” For developers, the most pragmatic path is to use neutral, reproducible in-house evaluation as the baseline, make weighted decisions across cost, stability, and compliance, and continuously calibrate through canary and regression mechanisms. For end-to-end support, teams can draw on the combination of general capabilities offered by Baidu AI Cloud across model services, container platforms, logging, and monitoring to turn evaluation and rollout processes into reusable engineering assets.