A Practical Guide to Open-Source LLM Evaluation
This guide explains how to evaluate open-source large language models for real business use. It introduces a four-dimension metric framework covering accuracy, latency, token consumption, and cost, shows how a stable release compares with a preview version, and outlines a three-way comparison method. It also includes practical recommendations for building domain-specific test sets and release gates.
1. A New Selection Challenge in the Open-Source Wave
Open-source large language models have become a major industry focus in recent years. Open source is not just about downloadable weights. It means enterprises can bring models into a technology stack they control: data stays within their own boundaries, the inference pipeline is auditable, and version upgrades follow their own schedule. For developers, the real challenge has shifted from “can we get the model” to “how do we scientifically assess whether a model fits the business.”
Evaluation is especially complex in Chinese-language scenarios. Language understanding, instruction following, tool calling, and vertical-domain knowledge are deeply intertwined, so a single leaderboard score rarely reflects the real experience. This calls for an engineering evaluation system that turns subjective impressions into quantifiable, reproducible, and comparable metrics.
2. A Four-Dimension Metric Framework
A practical evaluation framework should cover at least four dimensions:
- Accuracy: Measures the correctness and expertise of answers; it is best tracked by domain.
- Response latency: Average time per call, which directly affects the interaction experience.
- Token consumption: Total input and output tokens, reflecting how thoroughly the model reasons.
- Overall cost: Spend per 1,000 calls, useful for capacity planning and budget control.
An illustrative summary of the metrics looks like this:
{"model_version": "stable","sample_count": 15000,"accuracy": 0.709,"avg_latency_sec": 225,"avg_tokens": 3897,"cost_per_1k_calls_cny": 89.2}
3. Version Iteration: Capability Gains and Structural Trade-offs
Comparing the stable and preview versions of a general-purpose LLM reveals a typical iteration pattern. The stable version raises overall accuracy from 67.5% to 70.9%, a gain of 3.4 percentage points, and jumps in the overall ranking from 22nd to 7th, a significant leap.
Domain-level results show structural changes as well:
- Education rises from 50.4% to 55.7%, a 5.3-point gain and the most prominent improvement.
- Healthcare and mental health climb from 76.0% to 80.3%, and finance from 74.1% to 78.8%, showing clear gains in vertical expertise.
- Language and instruction following improve from 65.9% to 68.0%, while agents and tool calling rise from 58.4% to 61.9%, with interaction and execution improving in parallel.
- Law and public administration dip slightly from 82.3% to 81.7%, indicating that overall optimization may involve capability trade-offs.
On the engineering side, average latency drops from 301 seconds to 225 seconds, an improvement of about 25%, while average tokens increase from 3,202 to 3,897, a rise of about 21.7%. This suggests that more thorough reasoning chains often bring higher accuracy but also drive up token consumption, so a balance must be found between business SLAs and budget.
4. A Three-Dimension Comparison Method
To avoid a “score-only” mindset, compare models across three dimensions:
- Same cost tier: Compare accuracy and throughput under the same budget to assess cost-effectiveness.
- Old vs. new versions: Check whether iteration delivers real gains rather than just parameter changes.
- Open source vs. closed source: Weigh data compliance, controllability, and operational cost together.
When comparing, fix the test set, temperature parameter, and call concurrency to ensure reproducible results. Evaluation data should state its source and test conditions so conclusions are not misread.
5. Implementation Recommendations
- Build domain-layered test sets that cover both general and vertical scenarios.
- Add latency and token metrics to release gates to prevent “higher accuracy but degraded experience.”
- Set fallback strategies for cost-sensitive workloads, switching to a lightweight configuration during peak hours.
- Continuously track version changes and retain historical evaluation baselines for traceability.
Open source and evaluation are not the finish line but the starting point of continuous iteration. Only by binding metrics, processes, and business goals can you select a model approach that truly fits Chinese-language scenarios.
