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

# LiteLLM custom model provider

> Import custom models using LiteLLM integration. Connect self-hosted, private, or custom LLM providers to the AI Gateway for unified model access.

Use the following steps to add your LiteLLM integration to the **AI Studio** and import your existing models to the [AI Gateway](/docs/ai-gateway/using-the-router.md).

To retire a **LiteLLM** proxy rather than connect it, see [Migrate to Toqan Router](/docs/ai-gateway/get-started/migrate.md#migrate-from-litellm).

**1. Setup your LiteLLM Instance**

* Open the **AI Gateway** page within the **AI Studio**.
* Find the **Providers** tab and select **LiteLLM.**

  The **LiteLLM** provider in the **Providers** tab.
* Choose **Setup LiteLLM instance**.

  Enter the **Base URL** and **API Key** for your instance.

**2. Import Models**

* Switch to the **Models** tab in the **AI Gateway.**
* Select **Add Models** and choose **Import from LiteLLM**

Adding Models using Import From LiteLLM.

* Then select the models from the list of models imported from your LiteLLM provider.

Select **Import** to bring your LiteLLM model into the **AI Gateway**.

**3. Model Imported**

> [!TIP]
>
> Your model is now usable within **the AI Studio.**


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.