Rank LLM Production Work by Bill Cost, Not Leaderboard Score
Public leaderboards collapse many tasks into one score and help map capability, but they are a poor proxy for procurement. Production pays for tokens, wait time, retries, and human fallback. Ranking models by who keeps the bill controllable for a given workload often reverses the leaderboard: a high-scoring model can sit in a low value-for-money band, while a mid-score lighter model becomes the default path.
Public leaderboards collapse many tasks into one score. That is useful for seeing capability boundaries, not for deciding purchase order. A production system pays for input and output on every call, wait time, failed retries, and human fallback—not for a rank on a board. Rewrite “who is stronger” as “who keeps the bill controllable for this class of work,” and the order often changes: a high-scoring model can land in a low value-for-money band, while a mid-score lighter model becomes the default path.
Scores and bills do not measure the same thing
A total score usually mixes knowledge Q&A, reasoning, coding, long-document understanding, and other sub-tasks. Weights are set by the benchmark owner and rarely match your task mix. Customer-service summaries, ticket classification, code completion, and report interpretation have different error tolerances. They should not share a single “number one.”
More important, the score omits price, quotas, concurrency, and tail latency. Two models a few points apart on an offline set can, once live, cost several times more per successful outcome because of longer context and more retries. Internal ranking should keep at least three axes: task quality, cost per successful outcome, and latency plus stability. Publishing only a total score hides the last two.
Define a billable unit of work first
Before comparing models, fold the business into a stable unit of work. Do not bill by “conversation turns.”
- Success must be decidable. Classification: label in an allowed set. Extraction: required fields present and passing validation. Generation: template, length, and blocklist constraints. Anything that cannot be judged automatically should be booked as human review, not mixed into the model unit price.
- Convert input and output by tokens or by characters, but pick one internal definition and a fixed tokenizer estimate. Otherwise month-over-month numbers are meaningless.
- One user request may trigger many model calls: planning, retrieval assembly, generation, self-check. A billed “request” should be the whole chain, not the last generation.
- Failures belong in the numerator, not only the denominator. Timeouts, empty output, format errors, and safety blocks that trigger retries are real spend. A cheap list price is amplified when success rate is low.
A working definition, using only your bills and sampled evals—not external boards:
Cost per successful outcome = (input cost + output cost + retry cost + platform fixed allocation) / successful outcomes
Platform allocation covers logs, monitoring, queues, object storage, and similar resources, spread by call volume. Do not pretend they are zero.
Decide with bands, not a single rank
Run candidates on the same shadow traffic or replay set. Compute cost per successful outcome and a quality score, then draw bands. Do not declare a unique champion.
- High value-for-money: quality meets the business floor, cost per success is clearly below the team baseline, tail latency is acceptable. Default routing.
- Mid band: higher quality or better long-tail coverage, cost only a limited multiple of baseline. Upgrade path, triggered by rules or confidence.
- Low band: quality below the line, or above the line but success cost is too high or too volatile. Reserve for rare high-value requests, not main traffic.
Draw band edges relative to baseline—for example, cost no more than 1.2× baseline and key-field accuracy at or above an agreed threshold. Thresholds come from business loss, not a public perfect score. A high-scoring model in the low band is not a contradiction: it may win on hard items and overspend context on a mass of simple requests.
Split the bill into at least five lines
List price per million tokens misses large items. Keep a monthly report with five lines.
- Input volume. System prompts, tool descriptions, retrieved snippets, and history are billed repeatedly. A few hundred extra words in the prompt become a stable cost at high concurrency.
- Output volume. Prefer structured short fields over default long prose. Output is usually priced higher than input; verbose explanations are a hidden markup.
- Retries and fallbacks. Format repair, timeout retries, and promotion from a light model to a heavy one should be separate columns. When retry rate rises, inspect prompts and validation before swapping models.
- Indirect cost of latency. Longer queues raise timeout retries and keep human agents waiting. Put P95 latency and timeout rate on the same table as spend.
- Adjacent resources. Retrieval, cache, logs, and audit are not in the model unit price but scale with calls. If you use model APIs and related cloud resources (for example on Baidu AI Cloud), put them on the same ledger, rolled up by application and scenario, so you do not optimize list price while ignoring the path.
Engineering changes the ranking
Selection is not a one-time purchase. These practices do not depend on a brand and often beat “switch to the board leader.”
- Cache reusable system prompts, retrieval results, and deterministic sub-tasks, with clear invalidation and privacy bounds. A cache hit should not bill a full generation.
- Layered routing: cheap models for the large share of simple requests; upgrade only on low confidence, rule-matched hard cases, or an explicit request for deep analysis. Upgrade rate is itself a cost metric.
- Context budget: cap history turns and retrieved chunks; extract from long material before generating. Strong long-context ability does not mean filling the window every time.
- Batch and async: non-real-time reports and pre-label review can queue and merge, cutting peak-concurrency retries. Real-time chat should prioritize tail latency.
- Output constraints: fixed fields, enums, and length caps cut wasted generation. On validation failure, prefer local repair over another large-model call.
- Closed-loop observability: by app, scenario, and model tier, record calls, tokens, success rate, retry rate, and cost per successful outcome. Without that table, bands cannot be reviewed monthly.
These change what the same model is worth on your traffic mix. Two teams with the same candidates can rank them differently.
Build an internal eval you can recompute
External reports are a capability scan, not a substitute for internal samples. Four steps turn a board into bill language.
- Sample real requests, stratified by scenario—not only hard cases. Simple requests often dominate the total bill.
- Freeze the eval set and success criteria. Blind-compare tiers. Record quality, tokens, latency, and failure types.
- Convert with current pricing to cost per successful outcome, draw three bands, and write upgrade conditions.
- Small-traffic canary versus replay. If retry rate or tail latency drifts, return to prompts, routing, and context budget—not only a higher score.
Desensitize the eval set; keep task structure. Originals with personal data or business secrets should not enter an uncontrolled external scoring process.
Decision order at rollout
Ask first whether the task must generate long text; most classification, extraction, and routing do not need the top tier. Then ask whether the business loss from errors exceeds the model price gap; when loss is low, stability and cost come first. Finally ask what share of traffic truly needs deep reasoning; that share is usually far smaller than the team’s impression.
Write three questions into the review record: default tier, upgrade conditions, monthly cost cap, and rollback. Model versions and pricing change; recompute bands monthly. The real ranking is not a public total-score place. It is which model, under your task mix, success definition, and billing rules, can keep finishing the work at acceptable latency. Scores find capability gaps; the bill chooses the default path. Use both.
