> ## Documentation Index
> Fetch the complete documentation index at: https://docs.piebald.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Using a custom base URL and API key

> We're planning first-class support for many providers and API endpoints, but in the meantime, you can use any OpenAI-comptible, Anthropic-compatible, or Google-compatible API endpoint and API key in Piebald right now.

## Creating a custom OpenAI-compatible provider

1. Open the settings dialog (the gear icon at the bottom of the sidebar).
2. Go to **Providers**.
3. Go to **New Provider → OpenAI → Custom OpenAI-compatible**.
4. Enter a provider name, base URL, and API key.
5. Select **Chat Completions API**.
   <Note>**Note:** If you encounter errors using this provider, try editing the provider and switching the API type to **Responses API**.  Some APIs support OpenAI's Reponses API rather than the Chat Completions API.</Note>
6. Click **Add Provider**.
7. Your new provider will be displayed and be ready to use.

## Creating a custom Anthropic-compatible provider

1. Open the settings dialog (the gear icon at the bottom of the sidebar).
2. Go to **Providers**.
3. Go to **New Provider → Anthropic → Custom Anthropic-compatible**.
4. Enter a provider name, base URL, and API key.
5. Click **Add Provider**.
6. Your new provider will be displayed and be ready to use.

## Creating a custom Google-compatible provider

1. Open the settings dialog (the gear icon at the bottom of the sidebar).
2. Go to **Providers**.
3. Go to **New Provider → Google → Custom Google AI Studio-compatible**.
4. Enter a provider name, base URL, and API key.
5. Click **Add Provider**.
6. Your new provider will be displayed and be ready to use.
