Most model-selection conversations open with a price-per-million-tokens table. That is the wrong end of the problem. Price is the last of four questions, and asking it first is how teams end up with a cheap model that costs more.
One reframe does most of the work here: judge cost per completed task, never cost per token.
A model that is 60% cheaper per token but needs three more turns to finish is more expensive. It is also worse, because every extra turn is another chance to fail — and a trajectory that fails on turn nine has already been paid for in full. A trajectory is the whole sequence of steps in one run, first call to last.
Klarna is the most public version of getting this backwards. It made a widely publicised move to AI-first support, then ran a recruitment drive for human agents. In May 2025 its chief executive told Bloomberg: “As cost unfortunately seems to have been a too predominant evaluation factor when organizing this, what you end up having is lower quality.”
Much of the secondary coverage of that case is distorted in both directions. The quote and the reversal are the parts worth carrying.
Read the top row left to right: that is the order. Read the middle row to see why a scoring rubric is the wrong tool — an option removed in column one cannot be scored back in. Select any question for the detail.
The four questions are independent and they are not weighted against each other. The first one that removes an option ends the argument, and no amount of points on the other three brings it back.
The order is the whole lesson, so start there. The four questions are independent, and they are not weighted against each other. Two of them eliminate options outright. One ranks whatever survives. One prices what is left.
That is why a scoring rubric is the wrong tool here. The first question that removes an option ends the argument, and no amount of points on the other three brings it back.
Cost comes last for the same reason. It cannot rescue an option that has already been eliminated, and it only ever chooses between things that already work.
Work it below with your own system in mind. The output is deliberately a sentence rather than a number: which question decided it, and which ones never got a vote.
Answer as your system really is. There is no score at the end, deliberately: two of these questions eliminate options outright, one ranks what survives and one prices what is left, so weighting them against each other would be a lie dressed as a number.
Select every one that applies, or none.
Two models can do the job, nothing eliminates either, and the trajectory is short enough that the reliability gap is not decisive. Now price the whole trajectory rather than the token, take the lever your traffic shape indicates, and hold the decision to a written rationale you can revisit when prices move.
What this does not tell you · Caches are model-scoped, so a cheap-worker cascade forfeits cache reuse across the models in it. Measure the cascade against the strong model at a lower effort setting before you commit to the extra moving part.
Two or more models can do the task. This is the only situation in which a price comparison is a real comparison rather than a way of choosing something that does not work.
0.97^10 = 74%, 0.94^10 = 54%. The three-point gap has already become twenty, and that assumes errors are independent, which they are not.
Nothing here eliminates an option. That is rarer than teams assume — worth confirming with whoever owns your data-processing agreements rather than inferring it from silence.
Prompt caching is your largest lever — cache reads at 0.1x the base input price. The catch is that it is a prefix match: one changed byte early, a timestamp in the system prompt or an unsorted tool list, and everything after it is billed at full price.
Question one is the capability floor, and it deserves more respect than it gets. It is the only one of the four that cannot be answered in a meeting.
Benchmarks will not settle it for you. The scaffold around a model moves its score, and in HAL’s 21,730 rollouts across nine models and nine benchmarks, higher reasoning effortreduced accuracy in the majority of runs. Public agent benchmarks are in a validity crisis that lesson 16 covers properly.
Digital Green’s agricultural advisory work is the clearest published demonstration of why your own cases beat both. A fine-tuned GPT-4o-mini reached 51.8% F1, against 37.2% un-tuned and 37.3% for GPT-4, at 0.15× GPT-4’s cost. Human raters preferred it in 203 of 308 comparisons.
Now the part to remember: what the off-the-shelf evaluation said. RAGAS fell from 0.81 to 0.76 and FActScore from 0.72 to 0.68, on the model that expert F1 and human preference both ranked higher. A generic RAG metric moved in the opposite direction to the truth on a domain task. Twenty of your own cases would not have.
Question two is reliability across N steps, and it holds the most common analytical error in model selection. A benchmark gap is quoted per step. An agent runs many steps.
Doing this arithmetic out loud is one of the clearest staff-level signals available on the topic.
# Two models, tool-call accuracy per step.
model_a = 0.97
model_b = 0.94 # "only three points worse"
for steps in (5, 10, 20):
a = model_a ** steps
b = model_b ** steps
print(f"{steps:>2} steps: A {a:.1%} B {b:.1%} gap {a - b:.1%}")
# 5 steps: A 85.9% B 73.4% gap 12.5%
# 10 steps: A 73.7% B 53.9% gap 19.8%
# 20 steps: A 54.4% B 29.0% gap 25.4%Independence is the generous assumption, and it is wrong in a specific, measured way. Models self-condition: they become more likely to make mistakes once their own earlier errors are sitting in the context. Scaling the model does not remove the effect.
So per-step accuracy is not a constant across a trajectory. It degrades as the trajectory runs on, which makes the real curve steeper than pN.
The same paper reports the useful mitigation: thinking reduces self-conditioning. That is part of why reasoning models buy more than their benchmark deltas suggest on long tasks.
Question three is the hard constraints, and this is where most of them live. The honest 2026 position is that for most teams the cost case for self-hosting does not survive contact with budget open-weight APIs. Providers serving open-weight models at commodity prices now occupy the ground self-hosting used to claim.
Self-hosting still wins. Just on four axes that have nothing to do with the per-token price.
Data residency and PII. This one usually settles the question before economics is allowed into the room. That is exactly why you ask it first rather than last.
The latency floor. Not the average — the tail. A sub-second budget on the request path rules out most multi-hop trajectories, whatever the model quality.
Fine-tuning control. If your task needs the weights moved, hosted APIs give you a narrow menu. Open weights give you the whole surface, including continual pre-training.
And who carries the pager. Self-hosting is an on-call rota, a capacity plan and a GPU commitment. That is a real cost with a name, and it belongs in the comparison as explicitly as the token price.
Licence terms belong in the same list, and are routinely skipped. Llama 3.1’s community licence requires a separate agreement from Meta above 700 million monthly active users in the preceding calendar month. That threshold will never bind most readers of this page. The habit of reading the licence before calling something free will.
Here is a number I am deliberately not giving you: the break-even token volume for self-hosting. Figures in the 16–22M tokens/day range circulate widely, along with a common claim that under about 2–5M/day rarely justifies the fixed cost. I could trace those only to vendor and content-marketing sources, and they vary by an order of magnitude between them. Use the shape of the argument, run the arithmetic on your own traffic, and do not quote the number in an interview as though it were established.
Only now does price get a vote. Question four applies once more than one option genuinely clears the capability floor and nothing has eliminated either.
Then price the whole trajectory rather than the token. The levers below are in rough order of how much they move, and every one has a catch more interesting than the headline.
| Lever | Effect | The catch |
|---|---|---|
| Prompt caching | Cache reads at 0.1x the base input price; writes at 1.25x (5-minute TTL) or 2x (1-hour). | Prefix-matched and hierarchical — tools, then system, then messages. One changed byte early invalidates everything after it, silently. |
| Deferred tool definitions | A five-server MCP setup can spend ~55k tokens on definitions before any work happens; Anthropic reports ~77k down to ~8.7k, an 85% cut. | Requires progressive disclosure rather than loading every tool up front. Tool-selection accuracy also degrades past roughly 30–50 available tools. |
| Batch processing | 50% off, stacks with caching, most batches finishing inside an hour. | Only for work nobody is waiting on. Narrow, but the easiest lever on the list to actually take. |
| Model tiering | A strong lead model directing cheaper workers. | Caches are model-scoped, so a cascade forfeits reuse across its models. Measure it against the strong model at a lower effort setting first. |
| Fewer turns | Linear in trajectory length, and usually the largest number on this table. | The one everybody forgets, because it is a product and tool-design change rather than a configuration change. |
One more note on effort settings, because it cuts against intuition. Raising a reasoning effort level is not a reliability strategy. HAL found higher effort reduced accuracy in the majority of its runs, at higher cost. Measure it on your own cases before you make it a default, exactly as you would measure a model swap.
Three of the controls below are process rather than engineering, which is why they are the ones that quietly do not happen. Two of them a seed team should deliberately not build.
Nearly all guidance on this topic is written for one company size and then read by everyone. Pick yours — the list re-sorts, and what you should deliberately not build drops to the bottom.
Real inputs from your product, with the answer you would accept written next to each one, in a file in the repository.
At this stage · Now the gate on any model change. Without it a swap is a vibe, and the person who feels the vibe is rarely the person who gets paged.
The four questions, answered, with the test cases attached and a date on it.
At this stage · A real document per model now. This is what makes the decision reviewable rather than re-litigable when a cheaper option appears.
Actually move a slice of traffic to a different model, then measure what broke and how long it took.
At this stage · Quarterly. If nobody has ever swapped the model you do not know whether you can, and the day you find out is the day a price changes or a version retires.
Spend divided by successfully finished trajectories, not tokens per month.
At this stage · A weekly number, computed however crudely. The point is the denominator — completed tasks — because a cheaper model that needs three more turns will look better on every other chart you own.
Open-weight models running on infrastructure you operate, with your own capacity planning and on-call rota.
At this stage · Still skip, unless a constraint forces it. If data residency or an air gap is genuinely binding, this stops being a cost decision and the calculation does not apply — but say which constraint, out loud.
1 of 5 deliberately skipped at this stage. Knowing which controls you are choosing not to build, and being able to say why, is a stronger signal than having built all of them.
The case below is worth knowing precisely because the deciding factor was not the one people expect. Grab did not build its own model because the API was too expensive. It built because of the shape of the latency distribution.
Grab built a custom vision language model for electronic know-your-customer document processing across Southeast Asia. Its stated reason for not using a commercial API is unusually specific: “the P99 latency, which can easily be 3 to 4x the P50 latency, which would not be acceptable for Grab’s large scale rollouts”. Proprietary models also fell short on Southeast Asian languages. Note what is absent from their published reasoning: a token price comparison.
The second finding is the one that changes an engineering plan. LoRA fine-tuning reached high field-level accuracy on Indonesian documents, but kept struggling with Thai and Vietnamese. What worked was full-parameter fine-tuning, with continual pre-training of the vision components on synthetic OCR data built for those languages — worth roughly +70 percentage points on Thai and +40 on Vietnamese. Read across those results and the failure axis looks like the writing system rather than the language. The article calls LoRA “promising for documents with Latin scripts” and reports it reaching high accuracy on Indonesian. Read it closely, though. It files Vietnamese under “non-Latin scripts”, and Vietnamese is Latin with dense diacritics. So the boundary is more likely what the vision encoder has seen rendered than the alphabet itself. That last step is my inference rather than the authors’, and it is worth stating as such. It is also exactly the kind of thing twenty of your own test cases surface in an afternoon and no leaderboard will ever tell you. It is why “we will just LoRA it” is a plan and not an answer.
A model 60% cheaper per token that needs three more turns is more expensive, and worse. Put the completed task in the denominator and most of the argument resolves itself.
Capability floor on twenty of your own cases, reliability at N steps, hard constraints, then cost. Two of them eliminate options, one ranks the survivors, one prices what is left. That is why weighting them into a single score is a lie dressed as a number.
0.97^20 = 54%, 0.94^20 = 29%. Then say it is worse than that, because models self-condition on their own earlier errors and per-step accuracy degrades as the trajectory runs.
Rarely for price — budget open-weight APIs took that ground. Grab built because P99 ran 3–4× P50, not because the API was dear. Saying that out loud is the non-obvious answer that lands.
Primary sources wherever one exists. Where a claim is contested or vendor-reported, the lesson says so at the point it is made.
Digital Green, March 2026. Fine-tuned GPT-4o-mini 51.8% F1 against 37.2% un-tuned and 37.3% for GPT-4, at 0.15x GPT-4's cost; human preference 203/308 (65.9%, p<0.001). RAGAS fell 0.81 to 0.76 and FActScore 0.72 to 0.68 — the off-the-shelf eval moved opposite to expert judgement.
The deployment the fine-tuning paper measures against: 15,000+ users, 300,000+ queries, four countries, 9.05s average response, 71% context precision, ~75% of queries answered. Read it for what a real capability floor looks like written down.
Why p^N is the optimistic estimate. Models self-condition: they become more likely to err once their own earlier mistakes are in context, and scaling alone does not fix it. Independence between steps is an assumption you do not get for free.
21,730 rollouts across 9 models and 9 benchmarks for about $40,000. The finding to carry into a cost review: higher reasoning effort reduced accuracy in the majority of runs. Spending more per call is not a reliability strategy.
Carries the Siemiatkowski quote given to Bloomberg: "As cost unfortunately seems to have been a too predominant evaluation factor when organizing this, what you end up having is lower quality." Secondary coverage of this case is widely distorted — the quote and the rehiring are the parts worth carrying.
The measured version: ~77K tokens of definitions down to ~8.7K, an 85% reduction, with tool-selection accuracy on the same suite rising from 79.5% to 88.1% on Opus 4.5. Programmatic tool calling cut average usage 43,588 to 27,297 tokens.
The best public write-up of a build-versus-buy call decided on the latency tail rather than on price, and the clearest published evidence that LoRA is not a substitute for full-parameter fine-tuning when the script itself is out of distribution.
Includes the per-model token cost of the tool-use system prompt — 286 tokens on Claude Opus 5 with tool_choice auto, 675 on Opus 4.7. A reminder that the same tool surface prices differently on each model you might swap to.
Cache reads at 0.1x base input price; writes at 1.25x for the 5-minute TTL, 2x for the 1-hour. Hierarchical prefix — tools, then system, then messages — where a change at one level invalidates that level and everything below it.
50% off, asynchronous, most batches finishing in under an hour. The cleanest lever on the list and the one with the narrowest scope: it only applies to work nobody is waiting on.
Deferred tool loading. A typical five-server MCP setup spends ~55k tokens on definitions before any work happens; tool selection accuracy degrades past 30–50 available tools. Deferring keeps the cached prefix intact, which is the part people miss.
Read before you call open weights unconditionally free: above 700 million monthly active users in the preceding calendar month, "you must request a license from Meta". Open weights are a licence question, not only a hosting question.