Lesson 9 of 12 · Using It Well
Choosing a Model
Choose between AI models: sizes and tiers, open-weight vs closed, reasoning models, context windows, privacy, and testing on your own examples, not benchmarks.
- 8 min read
- Beginner
- Reviewed
- The things that actually matter when choosing a model
- Model tiers, open-weight models and reasoning models
- Why benchmarks are only a starting point
- A simple, repeatable way to test and pick a model
There is no single best model
New models appear every few weeks, each announced as the best. In practice, the best model depends on the job. A model that writes beautiful essays may be too slow for a live chat; a cheap, fast model that sorts emails perfectly may struggle with a legal contract.
This lesson gives you a way to choose that still works when today's model names are forgotten.
What to compare
| Factor | Question to ask |
|---|---|
| Quality | Does it do my task well, on my examples? |
| Speed | How long until the answer starts, and finishes? |
| Cost | What will it cost per request, per month? |
| Context window | Can it take in my longest documents? |
| Modalities | Does it accept images, audio or files if I need them? |
| Tools and features | Can it search the web, run code or return structured data? |
| Privacy and terms | Where is my data sent, stored and used? Is it allowed by my organisation? |
| Control | Can I run it myself, or only through a company's service? |
Model tiers
Most providers release a family of models in several sizes:
- a largest, most capable tier, for the hardest work;
- a balanced middle tier, good enough for most tasks at a lower price;
- a small, fast, cheap tier, for simple tasks at high volume.
For example, Anthropic's Claude models come in tiers called Opus, Sonnet and Haiku, Google's Gemini in Pro and Flash, and OpenAI offers full-size and "mini" versions. Exact names and versions change often; the tier structure stays.
Open-weight and closed models
A closed model is only available through the company's app or paid API.
| Closed model | Open-weight model | |
|---|---|---|
| How you use it | The company's app or API | Download and run it, or use a hosting service |
| Top quality | Usually the very best | Close behind, and improving fast |
| Data privacy | Data goes to the provider | Can stay entirely on your own machines |
| Customising | Limited | Full control, including fine-tuning |
| Effort | None: just call it | You need hardware and skills to run it |
Reasoning models
Many assistants let you switch a "thinking" or "reasoning" mode on or off. Use it for hard problems; leave it off for quick questions, where it only adds waiting time.
Benchmarks: useful but limited
Benchmarks are a good first filter, but treat them with care:
- A high score on maths problems says little about writing friendly customer emails.
- Popular benchmark questions can leak into training data, so models may have effectively seen the answers.
- Small differences, such as 88% versus 89%, are rarely noticeable in real use.
The only test that really matters is your own examples.
A simple way to choose
- Write down the task and collect 20 to 50 real examples, with what a good answer looks like.
- Try a strong model first to see what is possible.
- Try cheaper, faster models on the same examples.
- Pick the cheapest model that is good enough, and fast enough.
- Re-test when new models come out. It takes minutes once your examples exist.
The program below does step 4 with made-up test results.
# Results of testing three models on the same 50 real examples
# (name, share answered correctly, cost in dollars per 1,000 requests, seconds per answer)
models = [
("Large", 0.96, 15.0, 6.0),
("Medium", 0.94, 3.0, 2.5),
("Small", 0.82, 0.5, 0.8),
]
required_accuracy = 0.90
good_enough = []
for name, accuracy, cost, seconds in models:
print(f"{name}: {accuracy:.0%} correct, ${cost:.2f} per 1,000 requests, {seconds} s per answer")
if accuracy >= required_accuracy:
good_enough.append((cost, name))
cheapest = min(good_enough)
print()
print(f"Cheapest model with at least {required_accuracy:.0%} accuracy: {cheapest[1]}")The large model is the "best", but the medium one is nearly as accurate at a fifth of the price and more than twice as fast. Change required_accuracy to 0.95 and run again to see the choice change.
Common mistakes
A live chat feature needs answers in 3 seconds or less and at least 85% accuracy. Pick the cheapest model that meets both rules.
# (name, accuracy, dollars per 1,000 requests, seconds per answer)
models = [
("Model A", 0.95, 10.0, 5.0),
("Model B", 0.88, 2.0, 1.5),
("Model C", 0.79, 0.3, 0.5),
("Model D", 0.91, 4.0, 2.0),
]
# Find the cheapest model with accuracy of at least 0.85
# that answers in 3 seconds or less. Print: Best choice: <name>
What is the most reliable way to choose a model for a specific task?
Summary
- The best model depends on the task: compare quality, speed, cost, context, modalities, tools, privacy and control.
- Providers offer tiers: large and capable, balanced, and small and fast.
- Open-weight models can run on your own machines; closed models are used through a provider.
- Reasoning models are slower but much better at hard, multi-step problems.
- Use benchmarks as a first filter, then test on your own examples and pick the cheapest model that is good enough.
Next: writing your first good prompt.
Finished reading? Tick it off to track your progress.