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-sonnet-4-20250514 model is good for most use-cases and supports image input.
  • claude-opus-4-1-20250805 model is their best model.
  • claude-3-5-haiku-20241022 model is their fastest model.
Anthropic has rate limits on their APIs. See the docs for more information.
Claude API expects a max_tokens param to be sent with each request. Unless set as a param, Agno will default to 8192. 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.