Choosing a model
Pick by task, then confirm on your own examples. Leaderboards narrow the field, they do not decide it.
Words on this page (6)
- tool use
- : The model asks your program to run a function and reads the result.
- tool
- : A function the model can ask your program to run, described by a name, description and argument schema.
- weights
- : The learned numbers that define a trained model. A model whose weights are published is called open-weight.
- benchmark
- : A fixed test with a score used to compare models.
- API
- : Application programming interface: a way for one program to call another, usually over HTTP.
- prompt
- : The input text you give a model, including instructions, examples and data.
What it is
Models differ on quality, speed, cost, context length, , modality and where they can run. Vendors usually ship a family: a large model for hard reasoning and planning, a mid-size model for most work, and a small fast one for high-volume, simple steps. models trade peak quality for control, privacy and cost at scale.
Why it matters
Using the biggest model everywhere wastes money and time. Using the smallest everywhere fails on hard steps. A common pattern is to route by step: the large model plans and judges, the mid-size model does the work, the small model scans and classifies. You can only do that safely if you have a small set of real test cases to compare models on.
Public are useful for shortlisting. They are weak predictors of how a model does on your data, and some are contaminated or saturated. Build ten to fifty examples from your own task and compare.
A worked example: a simple comparison
Take 50 real support emails with the correct category. Run model A (large), B (mid), C (small). Example results (invented for illustration): A 96 percent at $0.020 per email, B 94 percent at $0.004, C 88 percent at $0.0005. If a 2-point difference is not worth five times the price, pick B. For a medical triage , you might pick A. The decision is about your costs of being wrong.
Open or closed?
A closed model is used through the lab's . An open-weight model can be downloaded and run by you, which helps with privacy and cost at scale. The open-weight models lesson covers the trade-offs, and the Model atlas lists both kinds.
How a fair comparison runs
- Write down the task and what a wrong answer costs you.
- Collect 20 real inputs and the answer you want for each.
- Run every candidate model on all 20 with the same .
- Score each output as right or wrong, and note the cost and the wait for each call.
- Pick the cheapest model that clears the quality bar you set in step 1.
Invented numbers for illustration: your bar is 90 percent, so at least 18 of 20. The small model gets 17 right (85 percent) and fails the bar. The mid-size model gets 19 (95 percent) and passes. You choose the mid-size model without ever looking at a leaderboard.
A second example: the big model is the wrong pick
You must tag 10,000 product reviews as positive or negative every night. The task is easy, so a small model may score almost the same as a large one. At an invented $0.0005 per review, the small model costs 10,000 x 0.0005 = $5 a night. At an invented $0.02, the large one costs $200 a night. Unless your own test shows a real quality gap, the extra $195 buys nothing.
What goes wrong
A test set of 10 examples is too small. One flipped answer moves a score by 10 points, so rankings change from run to run. To check, run the same models twice. If the order changes, add more examples.
A test set of only clean, easy inputs makes every model look good. The symptom is a model that scores well in your test and fails in production. To confirm, pull 20 fresh inputs from real use and score them too.
Try it yourself
Write 10 questions from a subject you know well, with the correct answers beside them. Ask two different chat apps or models each one and mark them right or wrong. Expect both to get the easy ones right and to differ on the hardest two or three. That gap is what a larger test set would measure.
Common mistake
Choosing by popularity or by one benchmark number. Always test on your own data.
A team picks the model at the top of a ranking site for a customer email classifier. It is slow, costs ten times more than needed, and scores no better than a small model on their emails. A one-hour test of three models on fifty real emails would have saved them months of bills.
Check yourself
What is the best way to choose between two models for your product?
Not quite. Leaderboards shortlist. Only your own examples show how each model behaves on your task.
Why route different steps to different model sizes?
Not quite. Matching size to difficulty cuts cost and latency without losing quality where it matters.
Model A gets 96 percent at $0.020 per email and model C gets 88 percent at $0.0005. What decides the choice?
Not quite. A medical triage tool might pay for A. A low-stakes tagger might pick C.
You got 0 of 3 right.
Go deeper
- ToolLMArenaTool
LMArena · Human preference rankings from blind side-by-side votes.
- Tool
Artificial Analysis · Independent quality, price and speed comparisons across providers.
- ToolSWE-benchTool
Princeton NLP · The standard benchmark for coding agents on real GitHub issues.
- ArticleYour AI product needs evalsArticle
Hamel Husain · Why your own test cases beat any public leaderboard.
Spotted a mistake or something unclear? Report it on GitHub.