LLM Model Selection Methodology: Accuracy, Latency, and Cost
This article presents a practical methodology for selecting large language models based on a multi-dimensional evaluation covering roughly 15,000 questions, scored on accuracy, average latency, average token consumption, and cost per 1,000 calls. It explains how to standardize metric definitions, interpret generational upgrades (overall capability jumps, previously weak domains being closed, stronger reasoning, and rising latency and cost), and compare models within the same cost tier rather than across tiers. A reusable six-step workflow, cost-control techniques, and engineering practices for building a repeatable evaluation pipeline are also included.
1. Why “Which Model Is Stronger” Is the Wrong Question
In engineering practice, the question of which of two large models is stronger can rarely be answered in a single sentence. Model capability is a multi-dimensional vector: a model that leads on logical reasoning may lag noticeably on educational Q&A; one that is stable with short prompts may degrade quickly under long context and multi-turn tool calls. So the first step in model selection is not to compare a single overall score, but to break “strong” down into measurable dimensions and assign a weight to each one based on business needs.
An evaluation covering about 15,000 questions, with accuracy, average latency, average token consumption, and cost per 1,000 calls, provides exactly this kind of multi-dimensional view. Using the data structure of that evaluation as a sample, this article discusses how to build your own evaluation and decision-making system.
2. Metric Definitions: Fix the Measurement Criteria First
Before comparing any models, you must fix the definition of four baseline metrics; otherwise the data is not comparable.
- Accuracy (overall score): correct answers divided by total questions. Clarify whether partial credit is included and whether multiple samples are allowed with the best one taken.
- Average latency: the wall-clock time of a single call, from sending the request to receiving the complete response. Distinguish time to first token from total completion time.
- Average tokens: the sum of input and output tokens consumed per call, heavily influenced by the prompt template and output length constraints.
- Overall cost: determined jointly by the output unit price and token consumption, usually expressed as cost per 1,000 calls so it aligns with business call volume.
The structure of a sample evaluation result table looks like this:
{"model_alias": "model_a","sample_count": 15000,"accuracy": 0.715,"avg_latency_sec": 72,"avg_tokens": 2731,"cost_per_1k_calls_cny": 53.5,"domain_scores": {"reasoning_math": 0.834,"education": 0.635,"finance": 0.70,"medical_mental": 0.72}}
3. Generational Comparison: Four Typical Changes in a New Version
When comparing a new version against the previous generation in the same series, four types of change typically appear, each with different engineering implications.
An overall capability jump. Accuracy rises from about 60.6% to 71.5%, an increase of roughly 10.9 percentage points, and the overall ranking moves from 64th to 5th. This kind of jump means scenarios that were previously “unusable” enter the “usable” range, and selection conclusions should be reassessed accordingly.
Weak domains are closed. Educational capability rises from 36.0% to 63.5%, an increase of 27.5 percentage points, nearly doubling. This shows that a per-domain radar chart reveals improvement directions better than an overall score, and business teams should check first whether their core scenarios fall within the improved range.
Stronger reasoning and math. Reasoning and mathematical calculation rise from 67.5% to 83.4% (+15.9 percentage points), with double-digit gains also in medical and mental health (+15.1%) and finance (+13.7%). For tasks requiring multi-step derivation, such gains often translate directly into a higher first-pass success rate.
Higher latency and cost. Average latency increases from 40s to 72s, and cost per 1,000 calls rises from CNY 43.2 to CNY 53.5 (about +23.8%). The output unit price goes up from CNY 18.125 per million tokens to CNY 21.3 per million tokens, and average tokens grow from 2586 to 2731 (+5.6%). A surge in traffic and high server load shortly after a new release is a common cause of increased latency, and it usually falls back once things stabilize; the combined rise in unit price and token usage, however, is a structural cost change that must be accounted for honestly in the budget.
4. Same-Tier Comparison: Compare Capability Within the Same Cost Band
Comparing overall scores across tiers is meaningless. The correct approach is to first bucket models by cost per 1,000 calls, then compare accuracy within the same bucket. In the CNY 50–100 band, for example, a new model version achieves 71.5% accuracy at a lower cost of CNY 53.5, occupying the position of “lowest cost, highest accuracy” in that band. The engineering value of this conclusion is that it shifts selection from “buy the strongest” to “buy the best within budget,” which maps directly onto capacity planning and procurement decisions.
It is worth stressing that this kind of evaluation is centered on Chinese-language scenarios; models may behave differently in other languages and in more specialized vertical domains, so the conclusions should not be extrapolated unconditionally.
5. A Reusable Selection Workflow
- Define the scenario and weights: list the core tasks and assign weights to accuracy, latency, cost, and stability.
- Build a private evaluation set: sample from real business logs, covering long-tail and adversarial cases, sized so it can distinguish the differences you care about.
- Collect data with fixed criteria: standardize the prompt template, temperature, and maximum output length, and record the four baseline metrics.
- Compare by tier: rank separately by cost tier and latency tier, and discard items that are not comparable across tiers.
- Validate with a canary release: roll out to a small traffic share, and monitor latency percentiles, error rate, and token drift through alerting.
- Review and iterate: rerun the evaluation after any model or prompt change so a one-off conclusion does not become fixed.
6. Cost Control and Engineering Support
When costs rise, there are three places to optimize: compress prompts and retrieval context to reduce input tokens; constrain output length and structured formats to reduce output tokens; and set a small model as a fallback for high-frequency simple requests, forming tiered routing. On the engineering side, connect the evaluation pipeline to logging and alerting services, and build a traceable dashboard for accuracy, latency, tokens, and cost. Keep model files and datasets in object storage, and run training and evaluation jobs on a container platform so they are reproducible and can scale elastically.
7. Conclusion
“Which model is stronger” should be rewritten as “which model is more suitable for my scenario, my budget, and my latency constraints.” An evaluation method built on multi-dimensional metrics, same-tier comparison, and per-domain analysis is more reliable than any single leaderboard; and only by turning evaluation into a pipeline can selection conclusions stay valid over time.
