LLM Evaluation and Model Selection for Chinese-Language Workloads: From Benchmark Scores to Production Decisions
Benchmark scores alone cannot tell you whether a model can support your business. This article breaks down how to build test sets for five core capabilities, provides starting points for metric thresholds and reproducibility requirements, compares the trade-offs between long context and RAG, and offers a weighted scoring table and a go-live checklist to help technical leads turn evaluation results into actionable selection decisions.
| Math and rule-based reasoning (step accuracy) | 15% | Step accuracy and answer accuracy are defined separately | Multi-step problems and business rule question bank |
| Multi-turn dialogue | 10% | Pass rate defined by the business owner | Human review records for three categories of use cases |
| Cost and latency | 10% | Per-task cost stays within the cap; P95 latency meets business requirements | Billing records and load test results |
| Compliance and deployment | 10% | Data residency and retention period requirements are met | Contract terms and security assessment report |
The weights above are suggested values and should be finalized jointly by the technical lead and the business owner. All weights must sum to 100%.
Scoring Rules
Scoring proceeds in three steps.
Step 1: Apply the red lines first. If the hallucination rate exceeds the business limit, data residency requirements are not met, or per-task cost exceeds the cap, the model is eliminated on any single failure and does not enter the weighted calculation.
Step 2: Convert each measured result to a score between 0 and 100. The conversion rules must be fixed before testing begins. For example, reaching the threshold on a given metric scores 60 points, reaching the target value scores 100 points, and values in between are linearly interpolated. If the conversion rules are adjusted after seeing the results, the scores lose comparability.
Step 3: Compute the weighted total score. Each metric contributes its “weight multiplied by its individual score,” and the total is the sum of all contributions. For example, if knowledge Q&A scores 80 points with a weight of 25%, it contributes 20 points.
If the total-score gap between candidate models is smaller than the measurement error, it cannot serve as the basis for selection. Measurement error can be estimated using the confidence intervals from Part 2 and the range across three runs. In this case, the decision should instead be based on cost, latency, and maintenance difficulty.
5. Go-Live Checklist
Confirm each of the following items before launch. Anything incomplete should not go to production.
- Versioning: Record the model name and the exact version number. Do not use dynamic aliases such as “latest” in production.
- Sampling parameters: Temperature, maximum output length, and other parameters in production must be identical to those used during evaluation.
- System prompts: Keep them under version control. Rerun the full test set after any modification.
- Test set: It must cover the five capability categories from Part 1. Bind the test set version to the release version in your records.
- Token counting: Use the official counting method of the target model. Validate the truncation logic with the longest real document before launch.
- Cost caps: Set per-task and daily cost limits. Trigger an alert and stop calls when limits are exceeded.
- Timeouts and retries: Timeout duration and maximum retry count are configured. Costs incurred by retries count toward the caps.
- Log redaction: Logs must not record original document content, user questions, or keys. Record only lengths, counts, durations, and error codes. The log retention period is agreed upon.
- Key management: API keys are stored in environment variables or a key management service, with a defined rotation process.
- Monitoring: Sample and review online traffic, and compare it against offline test results. Trigger an alert when the hallucination rate or error rate exceeds the alert threshold.
- Rollback plan: Retain the complete configuration of the previous stable version. The canary ratio can be adjusted quickly. When an alert fires, roll back to the previous version and record the reason.
6. Common Mistakes
- Arbitrary thresholds. Copying someone else’s numbers without calibrating them against your own business samples.
- Unfixed temperature. Running the same test set at different temperatures makes results incomparable.
- Reporting only the mean. Without the variance range, you cannot judge whether a model is stable.
- Estimating tokens by character count. The conversion between Chinese characters and tokens varies by tokenizer; estimation leads to rejected requests or silently truncated content.
- Ignoring output headroom. When the input fills the context window, the model has no room to generate a complete answer.
max_tokensonly limits the output and cannot substitute for an input budget. - Dropping an entire oversized segment. The truncation logic described earlier preserves content by paragraph, but if the very first paragraph exceeds the budget, nothing is retained. Long paragraphs should be split into sentences before budgeting.
- Looking only at answers, not reasoning steps. Samples with correct answers but flawed reasoning are counted as passes; such models tend to fail when rules change.
- Substituting leaderboard scores for business testing. Leaderboard question distributions differ from enterprise documents; model selection must be based on your business test set.
