Anthropic's powerful models.
Anthropic offers a suite of AI models designed for safety and helpfulness, excelling in natural language processing and generation tasks such as coding and creative writing. Using this plugin, developers can easily configure and access LLMs from the Claude family (Sonnet, Haiku, and Opus) by providing the necessary API credentials.
You'll need your Anthropic API Key to configure this plugin. After obtaining it from Anthropic, enter it along with your API URL in the settings below. Save to activate.
is optional and disabled by default. Turning it on attaches and to each Anthropic request as , so usage can be attributed to a specific Dify app in the Anthropic admin console. The opt-in is honored at both the provider and the per-model credential level. The Dify session lookup is best-effort: if the session context is not initialized, no metadata is attached and the request is sent unchanged.
Claude’s API allows you to mark specific parts of a request as ephemeral. The blocks are then cached on Anthropic’s side so future requests are cheaper and faster.
This plugin exposes fine-grained switches so you control exactly what is cached.
Anthropic limit: At most 4 blocks may include in a single request.
The plugin enforces this by prioritising blocks in the following order:
If more than four candidates exist, lower-priority blocks have their removed automatically before the request is sent.
Some outbound calls build their address at runtime, so the list may be incomplete.
Last checked 09/24/2026 03:05 AM · version 0.3.33