Skip to main content
Claude is a family of foundational AI models by Anthropic that can be used in a variety of applications. See their model comparisons here. We recommend experimenting to find the best-suited model for your use-case. Here are some general recommendations:
  • claude-3-5-sonnet-20241022 model is good for most use-cases and supports image input.
  • claude-3-5-haiku-20241022 model is their fastest model.
Anthropic has rate limits on their APIs. See the docs for more information.

Authentication

Set your ANTHROPIC_API_KEY environment. You can get one from Anthropic here.

Example

Use Claude with your Agent:
View more examples here.

Params

Claude is a subclass of the Model class and has access to the same params.