---
title: "Allow Teams to Add Models"
url: "/docs/proxy/team_model_add"
canonical_url: "https://docs.litellm.ai/docs/proxy/team_model_add"
type: "docs"
last_updated: "2026-10-03"
summary: "Allow team to add a their own models/key for that project - so any OpenAI call they make uses their OpenAI key."
related:
  - "/docs/proxy/access_groups"
  - "/docs/proxy/credential_routing"
---
# Allow Teams to Add Models

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt


> **LiteLLM Enterprise feature.** Requires an Enterprise license (`LITELLM_LICENSE`). Talk to sales: https://www.litellm.ai/enterprise#talk-to-sales

Allow team to add a their own models/key for that project - so any OpenAI call they make uses their OpenAI key.

Useful for teams that want to call their own finetuned models.

## Specify Team ID in `/model/add` endpoint

```bash
# Authorization: 👈 Team API Key (has same 'team_id' as below)
curl -L -X POST 'http://0.0.0.0:4000/model/new' \
-H 'Authorization: Bearer sk-******2ql3-sm28WU0tTAmA' \
-H 'Content-Type: application/json' \
-d '{
  "model_name": "my-team-model", # 👈 Call LiteLLM with this model name
  "litellm_params": {
    "model": "openai/gpt-5.6-terra",
    "custom_llm_provider": "openai",
    "api_key": "******ccb07",
    "api_base": "https://my-azure-endpoint.openai.azure.com",
    "api_version": "2023-12-01-preview"
  },
  "model_info": {
    "team_id": "e59e2671-a064-436a-a0fa-16ae96e5a0a1" # 👈 Specify the team ID it belongs to
  }
}'

```

## Test it! 

```bash
# Authorization: 👈 Team API Key
curl -L -X POST 'http://0.0.0.0:4000/v1/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sk-******2ql3-sm28WU0tTAmA' \
-d '{
  "model": "my-team-model", # 👈 team model name
  "messages": [
    {
      "role": "user",
      "content": "What's the weather like in Boston today?"
    }
  ]
}'

```

## Debugging

### 'model_name' not found 

Check if model alias exists in team table. 

```bash
curl -L -X GET 'http://localhost:4000/team/info?team_id=e59e2671-a064-436a-a0fa-16ae96e5a0a1' \
-H 'Authorization: Bearer sk-******2ql3-sm28WU0tTAmA' \
```

**Expected Response:**

```json
{
    "team_id": "e59e2671-a064-436a-a0fa-16ae96e5a0a1",
    "team_info": {
        ...,
        "litellm_model_table": {
            "model_aliases": {
                "my-team-model": # 👈 public model name
                    "model_name_e59e2671-a064-436a-a0fa-16ae96e5a0a1_e81c9286-2195-4bd9-81e1-cf393788a1a0" # 👈 internally generated model name (used to ensure uniqueness)
            },
            "created_by": "default_user_id",
            "updated_by": "default_user_id"
        }
    }
}
```

## Related pages

- [Access Groups](https://docs.litellm.ai/docs/proxy/access_groups.md)
- [Per-Team/Project Credential Routing](https://docs.litellm.ai/docs/proxy/credential_routing.md)
