You can get an API key from the Anthropic console.
We recommend configuring Claude 4 Sonnet as your chat model.
Anthropic currently does not offer any autocomplete models.
Click here to see a list of autocomplete model providers.
Anthropic currently does not offer any embeddings models.
Click here to see a list of embeddings model providers.
Anthropic currently does not offer any reranking models.
Click here to see a list of reranking model providers.
Anthropic supports prompt caching with Claude, which allows Claude models to cache system messages and conversation history between requests to improve performance and reduce costs.
Prompt caching is generally available for:
To enable caching of the system message and the turn-by-turn conversation, update your model configuration as follows: