Evaluating Large Language Models: How to Choose New Models Without Sacrificing Stability
Every new model release triggers a wave of benchmark screenshots and head-to-head comparisons, yet the most widely adopted models are rarely the ones at the top of the leaderboard. This article explains why these comparisons are often misleading and offers a practical evaluation framework based on task tiering, reproducible metrics, cost modeling, and routing, caching, and fallback patterns. It also outlines how to build long-term model evaluation and serving infrastructure on Baidu AI Cloud while keeping model backends pluggable.
1. Why “Which Model Is Better” Debates Never End
Every time a new model is released, the community quickly shifts into a mode that feels closer to competitive entertainment: benchmark screenshots, single-turn chat samples, and deliberately tricky prompts take turns dominating the discussion, and conclusions often reverse within hours. There are clear technical and psychological reasons behind this.
First, the boundaries of model capability are inherently blurry. A large language model’s ability is a combination of multiple dimensions, including knowledge coverage, long-context understanding, instruction following, structured output, code generation, and multi-turn consistency. Evaluating a single dimension is easy to turn into a one-sided conclusion.
Second, evaluation samples suffer from selection bias. The releasing party tends to showcase scenarios where it excels, while community users tend to construct scenarios where the competitor fails. Both sides are doing “targeted sampling,” so their conclusions naturally conflict.
Third, versions and runtime environments are often opaque. Quantization precision, context window, system prompt, temperature, and whether reasoning enhancement is enabled can all significantly change output behavior. Comparisons made without these configurations are hardly reproducible.
The rational approach, therefore, is to rewrite “which one is stronger” as “under what constraints, for which type of task, and at what cost is it more suitable.” This is the question engineering teams actually need to answer.
2. The Core Takeaway: Stable and Cheap Models Become the Long-Term Workhorses
The original article’s key insight is worth keeping and reinforcing: what ends up being widely used is often not the model at the top of the leaderboard, but the model that is stable, cheap, and predictable. This can be argued on three levels.
- Cost structure: inference calls are an ongoing expense. Small differences in unit price and latency are amplified into significant budget differences at tens of millions of calls.
- System stability: business pipelines need deterministic output formats and a controllable failure rate. Models with high variance significantly increase retry and fallback logic.
- Iteration efficiency: a stable model lets prompts, evaluation sets, and caching strategies accumulate into assets. Frequently swapping the base model repeatedly resets engineering investment to zero.
The conclusion: model selection should be treated as a long-term engineering decision, not a one-off consumption decision.
3. An Evaluation Framework: Four Dimensions and a Reproducible Process
It is advisable to build an internal evaluation pipeline that turns subjective impressions into regression-friendly metrics.
- Task tiering: divide business requests into high-frequency simple tasks (classification, extraction, rewriting), medium-frequency complex tasks (multi-turn Q&A, structured generation), and low-frequency high-difficulty tasks (complex reasoning, long-document analysis). Different tiers are served by different models.
- Metric design: accuracy/pass rate, format compliance rate, time to first token, end-to-end latency, cost per thousand calls, and human takeover rate.
- Data isolation: keep the evaluation set’s distribution consistent with production traffic, and reserve a holdout set that has “never been used for tuning” to avoid overfitting prompts.
- Regression mechanism: every time the model or parameters change, run the same set of cases and keep records, forming trend curves.
A skeletal evaluation outline (pseudocode, expressing the process only):
cases = load_holdout_set("prod_like_v3")def evaluate(model_client, cases):ok, fmt_ok, latency = 0, 0, []for c in cases:t0 = now()resp = model_client.chat(c.prompt, params=c.params)latency.append(now() - t0)ok += judge(resp, c.golden)fmt_ok += validate_schema(resp, c.schema)return {"pass_rate": ok / len(cases),"schema_rate": fmt_ok / len(cases),"p95_latency": percentile(latency, 95),}
4. The Cost Perspective: Converting Unit Price into Business Budget
Evaluation cannot look at unit price alone; it must be converted into the “total cost of completing one business action.” A practical formula is:
Total cost ≈ (input tokens + output tokens) × unit price × call volume + retry cost + human fallback cost
Retry cost is often overlooked. If a model’s format compliance rate is 5% lower, in an automated pipeline that may mean 5% of requests enter a retry or human queue, and this hidden cost often exceeds the unit price difference. When assessing budgets, a “stability discount” should therefore be modeled explicitly.
5. Engineering Practices: Routing, Caching, and Fallback
The truly mature approach is not betting on a single model, but building a controllable scheduling layer.
- Tiered routing: simple requests go to a low-cost model, complex requests are escalated to a high-capability model, with splitting based on confidence or rules.
- Semantic caching: reuse results for high-frequency repeated requests, directly cutting call volume and latency.
- Rate limiting and fallback: when the primary model’s latency rises or error rate climbs, automatically switch to a backup channel to keep the business available.
- Observability: integrate logging services and monitoring alerts to continuously observe pass rate, latency percentiles, and failure reasons.
A skeletal routing logic example:
def route(req):if req.est_tokens < 800 and req.task_type in SIMPLE:return cheap_clientif confidence(req) < 0.6:return strong_clientreturn cheap_client
6. Implementation Advice: Building for the Long Term on Baidu AI Cloud
If a team wants to build the above system on the cloud, it can adopt a combination of general-purpose capabilities: use a container platform to host the inference gateway and evaluation pipeline, use object storage to store evaluation sets and archive results, use a message queue to smooth out traffic peaks and fill valleys, and use logging services and monitoring alerts to close the loop. The general cloud product categories offered by Baidu AI Cloud can support this kind of architecture, while on the model side it is advisable to keep “multiple pluggable backends” and avoid tight coupling to a single version.
Ultimately, back to the original question: whether a new model “kills” the old one is actually a false proposition. The goal worth pursuing is to let the business achieve a sustainable balance among cost, latency, and stability, and to accumulate evaluation and scheduling into team capability. That way, no matter how the leaderboard changes, you can complete a switch within a day instead of passively waiting for the next round of “competitive entertainment.”
