Skip to content

Anthropic

Anthropic is a default AI Service Provider in WSO2 API Manager that allows you to integrate with Claude, a family of advanced language models designed for safety and helpfulness. For more information about Anthropic, see the Anthropic API Documentation.

Configuring Anthropic

Step 1: Access Configuration

  1. Login to the Admin Portal (https://<hostname>:9443/admin)
  2. Navigate to AI Service ProvidersAnthropic

Anthropic Configuration

Step 2: Configure Models

Read-Only Configurations

The following configurations are read-only and cannot be modified:

Category Fields
General Details • Name
• API Version
• Description
LLM Configurations • Request Model
• Response Model
• Prompt Token Count
• Completion Token Count
• Total Token Count
• Remaining Token Count
LLM Provider Auth Configurations • Auth Type: Header, Query Parameter or Unsecured
• Auth Type Identifier: Header/Query Parameter Identifier
Connector Type for AI Service Provider • Connector Type

Editable Configurations

The following configurations can be updated:

Category Description
API Definition AI service provider exposed API definition file
Model List Add the list of models supported by the AI service provider. This list enables you to configure routing strategies within your AI APIs.
  • By default, the following models are included: claude-opus-4-1-20250805, claude-sonnet-4-20250514, and claude-3-7-sonnet-20250219.
  • To add available models supported by Anthropic, type the model name and press enter.
  • This enables model-based load balancing and failover capabilities. For more details, see Multi-Model Routing Overview.

Step 3: Save Configuration

Click Update to apply your changes.

Once you have saved your changes, the updated Anthropic configuration will be applied and made available for use in your AI APIs, enabling seamless integration with the selected models.