When choosing a Claude model, consider first evaluating these factors:
high) and adjust up or down based on your evals. On Claude Opus 4.8 and Claude Opus 4.7, the xhigh effort level, between high and max, is the best setting for most coding and agentic use cases.Knowing these answers in advance will make narrowing down and deciding which model to use much easier.
There are two general approaches you can use to start testing which Claude model best works for your needs.
For many applications, starting with a faster, more cost-effective model like Claude Haiku 4.5 can be the optimal approach:
This approach allows for quick iteration, lower development costs, and is often sufficient for many common applications. This approach is best for:
For complex tasks where intelligence and advanced capabilities are paramount, you may want to start capability-first: implement with the strongest starting point for your task, then optimize to more efficient models down the line:
This approach is best for:
The effort parameter defaults to high on Claude Opus 5 and Claude Opus 4.8, including in Claude Code and the Messages API. On Claude Opus 5, start at the default and step up to xhigh for the most demanding coding and agentic work. On Claude Opus 4.8, use xhigh for coding, high-autonomy work, and the most intelligence-demanding tasks.
Claude Opus 5 (claude-opus-5) is a step-change improvement over Claude Opus 4.8, strong on deep reasoning, agentic and long-horizon tasks, and test-time compute scaling. Claude Opus 5 supports a 1M token context window by default and up to 128k output tokens, and is priced at $5 per million input tokens and $25 per million output tokens.
Claude Fable 5 (claude-fable-5) is Anthropic's most capable widely released model, delivering next-generation intelligence for long-running agents. Claude Mythos 5 (claude-mythos-5) is available through Project Glasswing. Both models support a 1M token context window by default, up to 128k output tokens, and always-on adaptive thinking. See Introducing Claude Fable 5 and Claude Mythos 5 for launch details.
Claude Fable 5 and Claude Mythos 5 are priced at $10 per million input tokens and $50 per million output tokens.
| When you need... | Consider starting with... | Example use cases |
|---|---|---|
| The highest available capability | Claude Fable 5 | Long-running agents, deep reasoning, long-horizon agentic tasks, advanced research |
| Complex agentic coding and enterprise work | Claude Opus 5 | Multihour autonomous coding agents, large-scale refactoring, complex systems engineering, advanced research, knowledge work, vision-heavy workflows, computer use |
| Frontier intelligence at scale, built for coding, agents, and enterprise workflows | Claude Sonnet 5 | Code generation, data analysis, content creation, visual understanding, agentic tool use |
| Near-frontier performance with lightning-fast speed and extended thinking at the most economical price point | Claude Haiku 4.5 | Real-time applications, high-volume intelligent processing, cost-sensitive deployments needing strong reasoning, sub-agent tasks |
To determine if you need to upgrade or change models, you should:
See detailed specifications and pricing for the latest Claude models
Explore the latest improvements in Claude Opus 5
The best combination of speed and intelligence
Get started with your first API call
Was this page helpful?