Skip to main content
Factory function to create an Anthropic Claude model instance.

Signature

Parameters

str
required
The Anthropic model identifier.

Returns

A LanguageModel instance configured for Anthropic.

Environment

Requires ANTHROPIC_API_KEY environment variable.

Available Models

Example

Provider Options