LLM Selection: Don't Just Look at the Leaderboard, Look at the Bill
Choosing a large language model based on benchmark rankings alone often leads to higher production costs. This article explains why top benchmark scores and cost-efficiency rankings frequently point to different models, breaks the real bill down into measurable variables such as token usage, retry rate, cache hit rate, and latency, and provides sample estimation code plus a layered selection strategy. Readers will learn how to run unit-cost estimates on their own workloads and allocate traffic accordingly.
1. One Benchmark Report, Two “First Places”
Open a typical general-purpose LLM benchmark report and look at the overall score ranking first. The top of the list is usually a group of general models with strong all-around capabilities. Among domestic models, one scores around 61 and sits near the top domestically, while another follows closely at 58, with a 50-point tier further down. This order largely matches the general impression in developer communities, so it rarely sparks debate.
But keep scrolling and you will find a distribution table organized by “cost-efficiency tier,” and the conclusion almost completely reverses. Only two models fall into the high cost-efficiency tier, both smaller, lighter-weight versions with fewer parameters. The medium tier gathers six mid-range models with solid overall capabilities. And in the low cost-efficiency tier, the first entry is precisely the top domestic model from the overall scoreboard, followed by several of the strongest general flagship models.
The report is not contradicting itself. The two rankings measure entirely different things with two different rulers. The overall score measures the “capability ceiling,” while cost-efficiency measures “how much you pay for each point of capability.” In engineering practice, it is usually the latter that decides whether a project survives.
2. What Leaderboard Scores Actually Measure
Leaderboards are typically weighted averages over standardized test sets, with fixed questions, short contexts, and controllable single-turn output lengths. They are good at answering “can this model solve this type of problem,” and bad at answering “how much will it cost to run this model in my business for a day.”
There are four root causes of the disconnect between scores and bills:
- Different billing units. Mainstream pricing charges separately for input and output, and the output unit price is usually several times the input price, yet leaderboards barely reflect differences in output length.
- Capability redundancy cannot be refunded. To perform well on hard problems, flagship models often come with more parameters and longer chains of thought, and on simple tasks that extra capability is paid for and wasted.
- Retries and fallbacks are ignored. A leaderboard measures a single-pass success rate; in production, a low single-pass rate has to be compensated with retries, validation, and regeneration, so actual consumption can be several times the leaderboard scenario.
- Context inflation. Real systems stuff retrieved snippets, conversation history, and tool returns into the context, so input consumption grows linearly or even faster with each conversation turn.
3. Breaking the Bill into Computable Variables
To determine the real ranking, first break the bill into quantities that can be measured in engineering:
- Input tokens per task (including system prompts, retrieved content, and history)
- Output tokens per task (including chain of thought and structured results)
- Single-pass success rate and average number of retries
- Time to first token and overall latency distribution (P50/P95/P99)
- Throughput under concurrency and rate-limit trigger frequency
- Cache hit rate (whether identical prefixes are reused)
- Extra calls introduced by failure fallback paths
With these quantities, the unit task cost can be written as a simple formula:
cost_per_task =(in_tokens * price_in + out_tokens * price_out)* (1 + retry_rate)* (1 - cache_hit_rate)
Pay attention to the last two factors: they are multiplicative with the unit price, so if either one doubles in the wrong direction, the bill doubles. This explains why a model with a “cheap unit price” can end up with a higher bill in long-context, low-cache-hit scenarios.
4. Running the Estimate with Sample Code
The code below only models cost and does not depend on any vendor API. Fill in the unit prices according to your actual procurement prices:
def estimate(tok_in, tok_out, p_in, p_out,retry=0.0, cache=0.0, qps=1.0):base = tok_in * p_in + tok_out * p_outper_task = base * (1 + retry) * (1 - cache)return {"per_task": per_task, "per_1k": per_task * 1000,"daily": per_task * qps * 86400}# Scenario A: short Q&A, high hit rateprint(estimate(800, 200, 0.001, 0.004, retry=0.05, cache=0.6, qps=2))# Scenario B: long document analysis, almost no cacheprint(estimate(12000, 1500, 0.001, 0.004, retry=0.25, cache=0.05, qps=2))
At the same unit price, the unit cost of Scenario B can be more than ten times that of Scenario A. When selecting a model, you must run it with the parameter distribution of your own business rather than quoting someone else’s average score.
5. Latency and Throughput Are Part of the Bill Too
When self-hosting inference or purchasing capacity in bulk, latency translates directly into machine resources. A common practice is to measure P95 latency first, then use Little’s Law to estimate the required concurrency, and from there convert to the number of instances.
required concurrency ≈ arrival rate (req/s) × P95 latency (s)instance count ≈ required concurrency / safe throughput per instance
If one model’s P95 latency is three times that of another, the required resources under the same SLA are also close to three times. The leaderboard will not tell you this; the bill will.
6. An Actionable Layered Selection Strategy
- Tier the tasks. Classify requests by difficulty into simple, medium, and hard, and route them to lightweight, mid-range, and flagship models respectively, instead of sending everything to the highest configuration.
- Run small-sample tests. Use 200–500 real business samples to measure the single-pass success rate and average token consumption, rather than looking at the overall score.
- Prefix caching and prompt trimming. Put fixed system prompts first and dynamic content later to improve cache hits; remove long instructions that do not contribute to the result.
- Output constraints. Use structured output and length limits to control output tokens, since the output unit price is usually the main cost.
- Fallback and retry budget. Set caps on retries and a fallback model to prevent low-probability failures from inflating the bill.
- Observability loop. Feed tokens, latency, failure rate, and unit task cost into logging services and monitoring alerts, and look at the bill by business dimension rather than by model dimension.
7. Conclusion
The leaderboard answers “who is stronger,” while the bill answers “who is right for me.” When the overall top score and the top cost-efficiency score in a report are not the same model, the correct reaction is not to question the report, but to realize that your system needs capability density, not a capability peak. Bring these four variables into routine reviews: billing units, retry rate, cache hit rate, and latency distribution. Run unit task cost on real samples, then decide how to allocate traffic. This workflow can be implemented with general capabilities such as container platforms, logging services, and monitoring alerts on Baidu AI Cloud, so that every model call is accountable and backed by data.
