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

# Custom LLM Models

> Arize AX supports any model which has an OpenAI-compatible API

Add your custom model endpoints to begin accessing your model in Arize AX's prompt playground. Arize AX makes use of the OpenAI Client to make calls to these endpoints.

<Note>
  By adding this integration, your data may be sent to your custom LLM deployment for certain actions within Arize AX (e.g., prompt playground) and your account may be billed for usage.
</Note>

## Add the Integration Using the Arize Skills

Add a custom model endpoint integration from your coding agent using the [Arize Skills](/ax/agents/arize-skills):

<Prompt description="Create an custom model integration named 'my-custom-model' with my base URL https://my-hosted-model/openai/v1 and API key F1...">
  Create an custom model integration named 'my-custom-model' with my base URL [https://my-hosted-model/openai/v1](https://my-hosted-model/openai/v1) and API key F1...
</Prompt>

## Add the Integration from Arize AX

### Select Custom Model Endpoints from the Providers List

<Frame caption="The AI Provider integrations tab">
  ![The AI Provider integrations tab](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/ai-integration-providers-custom.png)
</Frame>

### Fill Out Your Integration Details

<Frame caption="The Custom Model integration configuration pane">
  ![The AI integration details tab](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/ai-integration-providers-custom-model-details.png)
</Frame>

Give your integration a name. Then set your base URL and API key from your deployment.

> Enter the base URL including the version path (e.g., `https://my-hosted-model/openai/v1`). **Do not** include endpoint paths like `/chat/completions` as these are appended automatically.

If you need to send any extra headers to every request, set these.

You then need to define the available model deployments. If you have all the default OpenAI models available then you can enable OpenAI default models. Otherwise add your model name as a custom model name.

### Advanced Settings

<Frame caption="The Advanced Settings configuration pane">
  ![The AI integration details tab](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/ai-integration-providers-advanced-settings.png)
</Frame>

Expand the **Advanced Settings** section to configure the following:

* **Supports Function Calling** - Turn this on to allow the integration to use function calling features. This is on by default.
* **Authorized Orgs** - Configure which organizations have access to this integration.
* **Authorized Spaces** - Configure which spaces have access to this integration.

## Add the Integration

Finally check the box to agree to the terms and conditions, then select the **Add Integration** button to create the integration.
