LLM Selection: Don't Just Look at Benchmarks, Look at the Bill
A practical guide to choosing a large language model based on real traffic cost rather than leaderboard rankings. It explains what benchmark scores and billing data each measure, why top-scoring models often have poor cost efficiency, how to build a reproducible evaluation pipeline with pass rate, calls per task, and unit task cost, plus six levers for cutting spend and a pre-launch selection checklist.
1. One Report, Two “First Places”
When you open a general-purpose LLM evaluation report, the easiest thing to do is read the total-score ranking: whoever scores highest is “the best.” But keep scrolling to the cost-efficiency breakdown and you often hit an awkward result — the top-scoring model lands in the low-efficiency zone, while two models with middling scores occupy the high-efficiency zone.
The report isn’t contradicting itself. Two different rulers are measuring two different things. The total score measures the capability ceiling; cost efficiency measures how much usable capability you get back per unit of cost. In engineering practice, the ceiling is rarely what constrains you — the second one is.
1.1 What Benchmarks Actually Measure
General benchmarks use static, context-free question sets: standardized multiple choice, reading comprehension, code snippet completion, math reasoning, and so on. They answer one question: on average, where does this model sit in terms of knowledge and reasoning?
The limitations are equally clear. A benchmark doesn’t reflect your business distribution, doesn’t reflect stability under long context, doesn’t reflect latency jitter under concurrency, and doesn’t reflect your call structure at all.
1.2 What the Bill Actually Measures
The bill records resource consumption under real traffic: how much input and output volume you pushed through, how many times retries multiplied it, how much caching saved, and how much you paid for failed requests. It answers a different question: what does it cost me per day to keep the business running?
Put simply: the benchmark decides whether you can launch; the bill decides how long you can stay launched.
2. Why “High Score” Often Means “Low Cost Efficiency”
The cost structure of a high-scoring model includes overhead built to handle hard problems: longer internal reasoning, more intermediate steps, more conservative refusal and review policies. That overhead is worth paying on hard problems — but in real traffic, hard problems are the minority.
Spread the cost out and a single request’s bill can be approximated as:
cost per call = input volume × input price + output volume × output priceeffective cost = cost per call × (1 + retry amplification) / first-pass rateunit task cost = effective cost / average calls per task
The denominator is what matters. If a model has a high first-pass rate and needs few task splits, its “high score” isn’t wasted. If instead you pay three times the calls and ten times the output tokens to capture a few extra points of capability, the bill will look bad.
The more useful engineering metrics aren’t scores but three quantities: first-pass rate, average calls per task, and unit task cost.
3. Turning “Cost-Efficiency Zones” into Something You Can Compute
Don’t accept anyone’s ready-made zone conclusions. Compute them yourself. The steps:
Step 1 — Sample real traffic. Pull requests from the last one to two weeks out of your logging service or monitoring alerts, stratified by business scenario. Keep the input and output length distributions, not just the averages.
Step 2 — Build a small regression set. Pick 50 to 200 labeled samples per scenario with known answers, covering typical, boundary, and failure cases.
Step 3 — Run both metrics. Record quality and cost at the same time:
def evaluate(candidate, samples):total_cost, passed, calls = 0.0, 0, 0for s in samples:for _ in range(3): # repeated sampling to observe stabilitycalls += 1r = candidate(s.prompt)total_cost += r.input_tokens * r.in_price \+ r.output_tokens * r.out_pricepassed += int(r.correct)return {"pass_rate": passed / calls,"calls_per_task": calls / len(samples),"unit_cost": total_cost / len(samples),"stability": 1 - r.variance # output consistency}
Step 4 — Do constrained optimization. Minimize cost subject to quality staying above threshold, not the other way around:
min unit task costs.t. first-pass rate ≥ business thresholdoutput consistency ≥ business thresholdP95 latency ≤ interaction limit
The output of this process isn’t a ranking. It’s a cost-efficiency curve that belongs to your own business.
4. Six Levers for Cutting the Bill
Once selection is settled, there is still plenty of room to compress the bill, and most of it has nothing to do with model capability.
- Input trimming: structurally compress verbose system prompts and conversation history. Long context is a cost amplifier.
- Semantic caching: vector-retrieve and reuse results for frequent similar requests; cache hits return at zero cost.
- Tiered routing: send simple requests to a lightweight model and escalate only hard ones to a large-parameter model, with routing driven by confidence scores or a rule engine.
- Output constraints: use structured output to cap length and format, reducing wasted tokens and retries caused by parse failures.
- Batching and async: use an async queue to smooth offline workloads, converting peak concurrency cost into average cost.
- Observability loop: turn token usage, cache hit rate, and retry rate into monitoring and alerting metrics, so cost anomalies are traced automatically to a specific scenario.
Illustrative routing logic:
def route(req):if req.length < 512 and req.rule_hit: # solvable by rulesreturn light_modelif cache.hit(req): # semantic cache hitreturn cache_resultreturn strong_model # high-quality fallback
5. A Reproducible Selection Checklist
Before launch, write these into the review document: scenario stratification and traffic share, regression set size and labeling method, quality and consistency thresholds, unit task cost ceiling, caching and routing strategy, and the cost dashboard with alert thresholds.
Add one more that’s easy to miss: a quarterly re-evaluation. Model capability, pricing, and your own traffic distribution all change, so last quarter’s cost-efficiency conclusion may not hold this quarter.
6. Conclusion
The benchmark is your entry ticket; the bill is your pass. Replace “which model is first” with “under my traffic distribution, who has the lowest unit task cost while meeting quality targets,” and selection turns from a popularity question into an engineering one. Baidu AI Cloud provides full engineering support across common capabilities such as model services, container platforms, message queues, logging services, and monitoring and alerting, making it easier for teams to put the evaluation and optimization process above into production and make decisions with reproducible data rather than rankings.
