Model families & choosing a model
10 minThe Claude model lineup, what each tier is for, and a simple way to pick the right one.
Picking a model is like picking a car: a hypercar, a fast executive saloon and a nimble city car can all get you to work, but they cost very different amounts to run and each is best at different jobs.
The Claude lineup
Anthropic offers models in tiers. Higher tiers are more capable and cost more per token; lower tiers are cheaper and faster.
| Model | Model ID | Best for |
|---|---|---|
| Claude Fable 5.2 | claude-fable-5-2 | The hardest reasoning and longest agentic tasks |
| Claude Opus 5.5 | claude-opus-5-5 | Complex work, coding and agents. The flagship default |
| Claude Sonnet 5.5 | claude-sonnet-5-5 | Fast, capable everyday work at a lower price |
| Claude Haiku 5.5 | claude-haiku-5-5 | High-volume, simple, latency-sensitive tasks |
All four have a 1 million token context window. The model ID is the exact string you pass as model in your code.
What "more capable" actually means
Higher-tier models are better at:
- Multi-step reasoning: planning, maths, tricky logic
- Coding: larger changes, fewer bugs, better judgement
- Long, autonomous tasks: agents that work for many steps without going off track
- Nuance: following complex instructions precisely
Lower-tier models are excellent at well-defined, simpler tasks: classifying text, extracting fields from a document, summarising, routing, quick chat replies. For those, a top-tier model is often overkill.
How to choose: start high, then step down
Here's the approach professionals use:
- Build it with the most capable model you can afford (Opus 5.5 is a great default). Get it working and get the quality you want.
- Measure. Collect a handful of real examples and check the outputs.
- Try a cheaper model on the same examples. If quality holds, switch and save. If it drops, stay where you were.
Make it work, then make it cheap. Never the other way round.
Starting cheap is a trap: when results are poor, you can't tell whether your prompt is wrong or the model isn't capable enough. Starting high removes that doubt.
Effort: a dial inside each model
Current models also have an effort setting that trades thoroughness for speed and cost within the same model:
const response = await client.messages.create({
model: "claude-opus-5-5",
max_tokens: 16000,
output_config: { effort: "low" }, // "low" | "medium" | "high" | "xhigh" | "max"
messages: [{ role: "user", content: "Classify this review as positive or negative: 'Loved it!'" }],
});response = client.messages.create(
model="claude-opus-5-5",
max_tokens=16000,
output_config={"effort": "low"}, # "low" | "medium" | "high" | "xhigh" | "max"
messages=[{"role": "user", "content": "Classify this review as positive or negative: 'Loved it!'"}],
)Lower effort means less thinking, fewer tokens and faster replies, which is ideal for simple tasks. Higher effort is for hard problems where quality matters more than speed. Often, turning effort down on a top model beats switching to a smaller model, so try that first.
Quick decision guide
| If you're building… | Start with |
|---|---|
| An agent, a coding tool, or anything with complex reasoning | Opus 5.5 (effort high) |
| A chat assistant or content tool | Opus 5.5 or Sonnet 5.5 |
| Classification, extraction, routing at high volume | Haiku 5.5 or Sonnet 5.5 (effort low) |
| A research or analysis task where quality is everything | Fable 5.2 |
Try it
- Take the chat program from Module 0 and add a variable at the top:
const MODEL = "claude-opus-5-5". - Ask the same three questions with
claude-opus-5-5, thenclaude-sonnet-5-5, thenclaude-haiku-5-5: one simple fact, one tricky logic puzzle, and one request to write a short function. - For each, note the answer quality and how long it took. Where did the cheaper models keep up, and where did they fall behind?