Skip to main content

Overview

The Anthropic Format Converter allows you to call Gemini and OpenAI models using the Anthropic SDK and API format. This is useful when you have existing code using the Anthropic SDK but want to access other providers’ models.

Configuration

SDK Configuration

Set your base URL to:
The SDK automatically appends /v1/messages, so you only need to set the base URL to /anthropic.

cURL / Direct API

For direct API calls, use the full endpoint:

Usage Examples

Supported Models

You can use any Gemini or OpenAI model available on PipeLLM with the Anthropic format:

Feature Support