Anthropic (Native Mode)
Anthropic (Native Mode)
Use the Anthropic SDK with Gateway AI
Anthropic (Native Mode)
Install the Anthropic SDK:
Configure the client:
anthropic-version header: The gateway automatically sets anthropic-version: 2023-06-01 if your request doesn’t include one.claude-opus-4-6, claude-sonnet-4-6claude-opus-4-5, claude-haiku-4-5New Anthropic models work automatically.