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

# Bring Your Own Model

> Connect fine-tuned, self-hosted, and privately deployed models from OpenAI-compatible endpoints, Azure AI Foundry, AWS Bedrock, or LiteLLM to the AI Gateway.

Use private models alongside public models through the same AI Gateway endpoint. Private models are useful when you have fine-tuned models, dedicated deployments, or self-hosted inference that should remain under your infrastructure and provider contracts.

## Supported private model sources

> [card] [OpenAI Compatible](/docs/ai-studio/integrations/providers/open-ai-like.md)
>
> Add models from any endpoint that implements the OpenAI API, including self-hosted and private deployments.

> [card] [Azure AI Foundry](/docs/ai-studio/integrations/providers/azure.md)
>
> Import OpenAI-compatible and publisher model deployments from an Azure AI Foundry project.

> [card] [AWS Bedrock](/docs/ai-studio/integrations/providers/aws-bedrock.md)
>
> Add models using Amazon Bedrock inference profiles.

> [card] [LiteLLM](/docs/ai-studio/integrations/providers/litellm.md)
>
> Import self-hosted or custom models exposed through your LiteLLM instance.

## Add a private model

**1. Open Models**

In the AI Gateway sidebar, open **Models** and select  **Model**.

**2. Connect the private provider**

Select OpenAI Compatible, Azure, AWS Bedrock, or Import from LiteLLM, then follow the prompts for that source.

**3. Import and enable models**

Import or add the models to expose, then enable each model that should be available through the AI Gateway.

**4. Route requests**

Reference an imported model as `<workspace>@<provider>/<model>`.

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
corp@azure/gpt-5.6-sol
```

Enabled private models are available for requests through [routing rules](/docs/ai-gateway/configuration/routing-rules.md).

> [card] [Manage all models](/docs/ai-gateway/using-the-router.md)
>
> Enable models, filter by capability and region, and control model access by project.

### OpenAI Compatible

Choose this source for any endpoint that implements the OpenAI API, including self-hosted inference servers and private gateways.

For the configuration fields, see [OpenAI-compatible models](/docs/ai-studio/integrations/providers/open-ai-like.md).


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