Routing : Haiku, Sonnet, Opus, or Fable? A Practical Routing Table for 23 Real Developer Tasks

Most developers pick one Claude model and use it for everything — the fast track to either overspending or underperforming.

4 minutes(826 words)simple

Quick Navigation

Difficulty: Intermediate
Estimated Time: 5-10 minutes
Prerequisites: Familiarity with Claude models, Basic software development workflow, Understanding of AI coding assistants, Awareness of reasoning effort settings

Stop paying Fable prices for grep-level work — and stop asking Haiku to design your database.

Most developers pick one Claude model and use it for everything — the fast track to either overspending or underperforming. Anthropic now ships four tiers — Haiku 4.5, Sonnet 4.6, Opus 4.8, and Fable 5 — each with adjustable reasoning effort. The right pairing can slash costs on simple tasks and unlock far better results on hard ones. Over one working session, I routed 23 real development tasks — from "find a variable" to "architect a repo from scratch" — through a simple scoring lens. The table below is the result: every task, sorted from the lightest pairing to the heaviest.

The routing table (sorted by model / effort)

#TaskModel / Effort
1Search which files are impacted on a repoHaiku 4.5 / low
2Start the applicationHaiku 4.5 / low
3Search all occurrences of a variableHaiku 4.5 / low
4Log a console error, debug, fix, retestSonnet 4.6 / medium
5Open a website via MCP, test features, fix themSonnet 4.6 / medium
6Check Vercel deployment with CLI, fix errorsSonnet 4.6 / medium
7Fix orthography/text language across all site pagesSonnet 4.6 / medium
8Design a scoring rubric / decision frameworkSonnet 4.6 / medium
9Write a blog article with up-to-date contentSonnet 4.6 / high (+ web search)
10Plan a new feature as a single .md fileOpus 4.8 / high
11Develop a feature + integrate in repo, same coding styleOpus 4.8 / high
12Upgrade all package dependencies, test, fix impactsOpus 4.8 / high
13New feature impacting many files/featuresOpus 4.8 / high (Fable 5 if core architecture)
14Web design / UX enhancement of the entire siteOpus 4.8 / high
15Security analysis + fixOpus 4.8 / high (Fable 5 if full audit of a large app)
16Research tech components, compare + score in a tableOpus 4.8 / high (+ web search) (Fable 5 if foundational)
17Law consultation for technologiesOpus 4.8 / high (+ web search) (Fable 5 if multi-jurisdiction)
18Multi-aspect scoring problemOpus 4.8 / high (Fable 5 if critical decision)
19Write tests for 100% coverage of the whole applicationOpus 4.8 / high (Sonnet if small app, Fable if huge)
20Security audit of a large multi-aspect applicationFable 5 / high
21Database schema/model architecture spanning many featuresFable 5 / high (Opus if small/simple app)
22Mathematical modeling + optimization + algorithm choiceFable 5 / high (Opus if textbook problem)
23Architect a new repo from scratch for a complex large-scale appFable 5 / high

How to read it (Medium-friendly summary)

Haiku 4.5 / low — mechanical work. Searches, lookups, starting apps, renames. One obvious answer, zero ambiguity. Tasks 1–3.

Sonnet 4.6 / medium — daily dev work. Routine debugging, deployment fixes, text cleanup, well-scoped conceptual tasks. Tasks 4–8.

Sonnet 4.6 / high + web search — fresh-content writing. Anything whose value depends on current information. Task 9.

Opus 4.8 / high — multi-file complexity. Feature planning and development, dependency upgrades, site-wide UX, security fixes, multi-criteria comparisons, full test coverage. Tasks 10–19.

Fable 5 / high — foundational reasoning. Large-scale audits, cross-feature schema design, mathematical optimization, greenfield architecture. Expensive to get wrong, hard to change later. Tasks 20–23.

Key insight: Effort tracks blast radius. The moment a mistake becomes expensive to undo, the task earns "high" — regardless of how short the prompt looks.

Conclusion

The pattern is simple: mechanical work goes to Haiku, daily dev work to Sonnet, multi-file complexity to Opus, and foundational or mathematical problems to Fable. Effort follows the same gradient — low for lookups, medium for routine fixes, high whenever ambiguity or blast radius grows. Add web search whenever the answer depends on a changing world: laws, package versions, prices, news. When in doubt, score the task on five axes — scope, ambiguity, interdependencies, cost of mistake, reasoning depth — and let the total decide. Route deliberately, and the model stops being a setting; it becomes part of your engineering judgment.