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

# LiteLLM

> LiteLLM is a unified LLM gateway that standardizes access to multiple model providers while enabling intelligent routing, cost control, and centralized logging and monitoring.

## Creating a LiteLLM connection

### Using API Key

To create the connection you need:

* An API Address
* A Virtual Key

#### Obtaining the credentials

1. Log in to LiteLLM's portal.

2. Navigate to **Private Key**.

   <img src="https://mintcdn.com/blinkops-2/UqFtQOboD7OMz09U/img/Litellm/first_screen.png?fit=max&auto=format&n=UqFtQOboD7OMz09U&q=85&s=46fce5e6cab9480f4eb9e7ca23a54d2a" alt="litellm" width="2048" height="830" data-path="img/Litellm/first_screen.png" />

3. On the **Private Key** page, click on **Create New Key**.

   <img src="https://mintcdn.com/blinkops-2/UqFtQOboD7OMz09U/img/Litellm/second_screen.png?fit=max&auto=format&n=UqFtQOboD7OMz09U&q=85&s=7ac0d94808609a45220792f7569cb98c" alt="litellm" width="2048" height="830" data-path="img/Litellm/second_screen.png" />

4. Fill in the required details.

   <img src="https://mintcdn.com/blinkops-2/UqFtQOboD7OMz09U/img/Litellm/third_screen.png?fit=max&auto=format&n=UqFtQOboD7OMz09U&q=85&s=1f9319e68675330bb6b1cd1b399fa517" alt="litellm" width="2082" height="1116" data-path="img/Litellm/third_screen.png" />

5. Copy the generated key.

#### Creating your connection

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.
2. Select the **LiteLLM** icon. A dialog box with name of the connection and connection methods appear.
3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
4. Select **API Key** as the method to create the connection.
5. Fill in the parameters:
   * The API Address
   * The Virtual Key
6. (Optional) Click **Test Connection** to test it.
7. Click **Create connection**. The new connection appears on the **Connections** page.
