Archive/MODELS

Choosing a model is a budget decision, not a leaderboard decision

Latency, cost per task and the cost of failure matter more than the top line of any chart. A worksheet you can reuse for every model decision.

Choosing a model is a budget decision, not a leaderboard decision

Most teams pick a language model the way they pick a laptop: whatever topped the latest review. Then the invoice arrives, or the p95 latency does, and the decision gets made again under pressure.

The better question is not "which model is best?" but "which model is cheapest at the quality bar this task actually needs?" That turns a debate about impressions into arithmetic. This guide shows how to price a task rather than a token, how to set a quality bar before testing, how routing changes the economics, and gives you a worksheet you can reuse for every model decision.

Why leaderboards are the wrong starting point

Leaderboards measure general capability on public tasks. Your product has specific tasks, a specific tolerance for errors and a specific budget. Three gaps follow:

Leaderboards are useful for making a shortlist. The decision should come from your own evaluation; see how to evaluate a new AI model in two weeks.

Price the task, not the token

Token prices are a misleading unit. What you pay for is a completed task: the prompt, the response, any reasoning tokens, the retries when output is malformed, the tool calls, the validation pass, and the human who fixes the output when it is wrong.

pythoncost_per_task.py
def cost_per_task(price_in, price_out, tok_in, tok_out, retry_rate,
                  error_rate, fix_minutes, hourly_rate):
    """Prices per million tokens; rates as fractions (0.05 = 5%)."""
    model = (tok_in * price_in + tok_out * price_out) / 1_000_000
    model *= 1 + retry_rate                      # retries are not free
    human = error_rate * fix_minutes / 60 * hourly_rate   # someone fixes the misses
    return model + human

Work through an illustrative example. Suppose a document-processing task takes 3,000 input tokens and 500 output tokens, and a human spends 6 minutes, at $50 an hour, fixing each wrong output.

Illustrative comparison: cheaper tokens vs. fewer errors
ItemModel A (cheap)Model B (premium)
Price per 1M tokens (in / out)$0.50 / $1.50$3 / $15
Token cost per attempt$0.00225$0.0165
Retry rate8%2%
Error rate after validation10%4%
Human fix cost per task$0.50$0.20
**Total cost per task****≈ $0.50****≈ $0.22**

The numbers are made up, but the pattern is common. When a human must repair errors, a few percentage points of quality outweigh large differences in token price. Conversely, when errors are cheap or caught automatically, the cheap model usually wins. You cannot know which situation you are in without measuring error rates on your own tasks.

Set the quality bar first

Write down what "good enough" means before testing. Without a bar, teams drift towards the most capable option every time, because the bigger model always looks a little better in side-by-side demos.

A model that clears every bar is good enough. Among the models that are good enough, choose on cost.

Include the hidden costs

Some costs do not appear in the per-token price:

Latency is part of the budget

Speed has a price too, even if it does not appear on the invoice. A slower model can cost you conversions, user patience or the throughput of a batch pipeline. Treat latency as a constraint with three parts:

Measure all three under realistic load, with your real prompt lengths. Our guide to designing a latency benchmark explains how. When two models both clear the quality bar, the faster one is often worth a modest price premium on interactive screens and not worth it at all for overnight batch jobs.

Route instead of choosing once

Very few products need one model for everything. A small model can classify the request and handle the easy majority; a larger one gets the hard tail. Routing is usually the single biggest cost win available.

  1. Classify difficulty with rules, a small model or a confidence signal.
  2. Send easy requests to the cheap model, with validation.
  3. Escalate when the request is classified hard or the cheap model's output fails validation.

Research such as RouteLLM (Ong et al., 2024) has shown that learned routers can preserve most of a strong model's quality while sending a large share of traffic to a cheaper one. Our article on where small models quietly win covers practical routing patterns.

✦
A cheap first experiment

Log a week of real requests, label 100 as easy or hard, and check how often a small model handles the easy ones correctly. That single number tells you whether routing is worth building.

The worksheet

  1. Collect 50 to 100 real inputs with expected outputs or a rubric. If you do not have them, start with build an eval set in an afternoon.
  2. Define the hard, soft, latency and consistency bars.
  3. Shortlist three to five candidates from public results and pricing pages.
  4. Measure each candidate: pass rate, error types, retry rate, p50 and p95 latency, tokens per task.
  5. Compute cost per completed task, including human fix time.
  6. Pick the cheapest model that clears every bar, or a routed combination.
  7. Write the decision down with the numbers, and re-run the worksheet quarterly or when a significant new model ships.
The best model is the least expensive one that still clears your bar.

Frequently asked questions

How do I choose the right LLM for my application?

Define a quality bar for your task, test a shortlist of models on real examples, and compute cost per completed task including retries and human fixes. Choose the cheapest model, or routed combination, that clears every bar.

Is the most expensive model always the most cost-effective?

No. It is cost-effective when errors are expensive to fix and the premium model makes meaningfully fewer of them. When errors are cheap or caught automatically, a smaller model usually costs less per task.

What is LLM routing?

Routing sends each request to a different model depending on its difficulty or type, typically sending easy requests to a cheap model and escalating hard ones or failures to a more capable model.

How often should I revisit my model choice?

Quarterly is a sensible default, plus whenever a new model or price change could plausibly alter the decision. Keeping your eval set and worksheet ready makes each review fast.

JL
WRITTEN BYJonas LindInfrastructure nerd. Runs the local-model lab and the tokens-per-watt spreadsheet.

Keep reading

Liked this? The Sunday Diff has one like it every week.