SPB Git

Repository Public

choosing-a-model.md 7.9 KB 118 lines markdown

1---2title: Choosing the right model3url: https://platform.claude.com/docs/en/about-claude/models/choosing-a-model4description: Choosing a Claude model means balancing capabilities, speed, and cost. This guide covers the questions to ask, two ways to pick a starting model, and how to test the choice.5---67## Establish key criteria89When choosing a Claude model, consider first evaluating these factors:1011* **Capabilities:** What specific features or capabilities will you need the model to have to meet your needs?12* **Speed:** How quickly does the model need to respond in your application? Claude Opus 5 and Claude Opus 4.8 support [fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode) (research preview), which delivers up to 2.5x higher output speed at premium pricing.13* **Cost:** What's your budget for both development and production usage?14* **Effort:** Several Claude models support an [effort parameter](https://platform.claude.com/docs/en/build-with-claude/effort) that trades intelligence for latency and cost within a single model. Tuning effort is often a better lever than switching models. On Claude Fable 5.1 and Claude Opus 5, start with the default (`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.1516***1718## Choose the best model to start with1920There are two general approaches you can use to start testing which Claude model best works for your needs.2122### Option 1: Start efficiency-first2324For many applications, starting with a faster, more cost-effective model like Claude Haiku 4.5 can be the optimal approach:25261. Begin implementation with Claude Haiku 4.5.272. Test your use case thoroughly.283. Evaluate if performance meets your requirements.294. Upgrade only if necessary for specific capability gaps.3031This approach allows for quick iteration, lower development costs, and is often sufficient for many common applications. This approach is best for:3233* Initial prototyping and development34* Applications with tight latency requirements35* Cost-sensitive implementations36* High-volume, straightforward tasks3738### Option 2: Start capability-first3940For 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:41421. Implement with Claude Opus 5.432. [Optimize your prompts](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5) for this model.443. Evaluate if performance meets your requirements.454. Consider increasing efficiency by lowering [effort](https://platform.claude.com/docs/en/build-with-claude/effort) or downgrading models over time with greater workflow optimization.465. If your evals at `xhigh` or `max` effort still fall short on demanding reasoning or long-horizon agentic work, move to [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/whats-new-fable-5-1).4748This approach is best for:4950* Complex reasoning tasks51* Scientific or mathematical applications52* Tasks requiring nuanced understanding53* Applications where accuracy outweighs cost considerations54* Advanced coding and high-autonomy agentic work5556**Claude Opus 5** (`claude-opus-5`) is built for complex agentic coding and enterprise work, with deep reasoning, long-horizon tasks, and test-time compute scaling.5758**Claude Fable 5.1** (`claude-fable-5-1`) is Anthropic's most capable widely released model. It extends Claude Fable 5 with stronger long-running agentic coding, knowledge work, and research at the same input and output prices, with cache reads at a quarter of the cost. **Claude Mythos 5.1** (`claude-mythos-5-1`) offers the same capabilities to [Project Glasswing](https://anthropic.com/glasswing) participants only. Both models use always-on [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking). See [What's new in Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/whats-new-fable-5-1) for details.5960Claude Fable 5 and Claude Mythos 5 are also available. See [Introducing Claude Fable 5 and Claude Mythos 5](https://platform.claude.com/docs/en/models/fable-5/introducing-claude-fable-5-and-claude-mythos-5) for details. For context windows, output limits, and prices, see the [model comparison table](https://platform.claude.com/docs/en/models/overview#latest-models-comparison).6162## Model selection matrix6364Most workloads start with Claude Opus 5.6566| When you need...                                                          | Consider starting with... | Example use cases                                                                                                                 |67| ------------------------------------------------------------------------- | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |68| The highest available capability                                          | Claude Fable 5.1          | Agent sessions that run for hours, multistep deep research, analysis carried through to a finished document, spreadsheet, or deck |69| Complex agentic coding and enterprise work                                | Claude Opus 5             | Multihour autonomous coding agents, large-scale refactoring, complex systems engineering, vision-heavy workflows, computer use    |70| Speed and capability for everyday coding, agent, and enterprise workloads | Claude Sonnet 5           | Code generation, data analysis, content creation, visual understanding, agentic tool use                                          |71| The lowest latency and price, with extended thinking                      | Claude Haiku 4.5          | Real-time applications, high-volume intelligent processing, cost-sensitive deployments needing strong reasoning, sub-agent tasks  |7273***7475## Decide whether to upgrade or change models7677To determine if you need to upgrade or change models, you should:78791. [Create benchmark tests](https://platform.claude.com/docs/en/test-and-evaluate/develop-tests) specific to your use case - having a good evaluation set is the most important step in the process.80812. Test with your actual prompts and data.82833. Compare performance across models for:8485   * Accuracy of responses86   * Response quality87   * Handling of edge cases88894. Weigh performance and cost tradeoffs.9091## Combine models9293Multi-model strategies pair a lower-cost model with a frontier model so that most tokens are billed at the lower rate. The two common patterns are an executor that escalates hard decisions to an advisor, and an orchestrator that delegates bulk work to lower-cost workers. See [Optimizing for cost and intelligence](https://platform.claude.com/docs/en/about-claude/models/optimizing-for-cost-and-intelligence) for both strategies, measured examples, and implementation options.9495## Next steps9697<CardGroup cols={2}>98  <Card title="Model comparison chart" icon="settings" href="https://platform.claude.com/docs/en/models/overview">99    See detailed specifications and pricing for the latest Claude models100  </Card>101102  <Card title="What's new in Claude Fable 5.1" icon="sparkle" href="https://platform.claude.com/docs/en/models/fable-5-1/whats-new-fable-5-1">103    Built for demanding reasoning and long-horizon agentic work104  </Card>105106  <Card title="What's new in Claude Opus 5" icon="sparkle" href="https://platform.claude.com/docs/en/models/opus-5/whats-new-opus-5">107    Explore the improvements in Claude Opus 5108  </Card>109110  <Card title="What's new in Claude Sonnet 5" icon="sparkle" href="https://platform.claude.com/docs/en/models/sonnet-5/whats-new-sonnet-5">111    For everyday workloads that balance speed and capability112  </Card>113114  <Card title="Start building" icon="code" href="https://platform.claude.com/docs/en/get-started">115    Get started with your first API call116  </Card>117</CardGroup>118
Files main
Menu

Theme