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

# Azure OpenAI

> Configure Azure-hosted OpenAI deployments in integration-api.

The Azure caller uses the same OpenAI API surface but targets your Azure OpenAI resource endpoint. This is useful when data residency or enterprise compliance requirements prevent using OpenAI directly.

**Provider directory:** `api/integration-api/internal/caller/azure/`

***

## Vault Credential

| Key | Description |
| - | - |
| `subscription_key` | Azure OpenAI resource key (Key 1 or Key 2) |
| `endpoint` | Azure OpenAI resource endpoint, e.g. `https://my-resource.openai.azure.com` |

***

## Setup

**1. Create an Azure OpenAI resource**

In [Azure Portal](https://portal.azure.com) → **Create a resource → Azure OpenAI**. After creation, go to **Keys and Endpoint** to copy the key and endpoint.

**2. Deploy a model**

In [Azure OpenAI Studio](https://oai.azure.com) → **Deployments → Create new deployment**. Select a model (e.g. `gpt-4o`) and give it a deployment name.

**3. Add to Rapida vault**

In the Rapida dashboard → **Credentials → Create Credential**, select provider **Azure OpenAI**, enter:

* `subscription_key` = Key 1 from Azure
* `endpoint` = resource endpoint URL

**4. Configure the assistant LLM**

In the assistant settings → **LLM Provider**, select **Azure OpenAI** and set the deployment name as the model:

```json theme={null}
{
  "model.name": "my-gpt4o-deployment",
  "model.temperature": 0.7,
  "model.max_tokens": 200
}
```

`model.name` must match your Azure deployment name exactly.

***

## Model Parameters

Same as OpenAI — all `model.*` parameters are supported. See the [OpenAI page](https://doc.rapida.ai/opensource/services/integration-api/llm/openai.md) for the full table.

***

> [card] [OpenAI](https://doc.rapida.ai/opensource/services/integration-api/llm/openai.md)
>
> Direct OpenAI API

> [card] [LLM Overview](https://doc.rapida.ai/opensource/services/integration-api/llm/overview.md)
>
> All providers and ChatCompletionOptions


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