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

# Models & providers configuration

> Configure AI models and providers for stagewise agents. Use the stagewise Account, import provider API keys, or connect custom and local endpoints.

Open **Settings → Agent → Models & Providers**.

<img src="https://mintcdn.com/stagewiseinc/yOk2iKqLyNP2SwWs/images/docs/models-providers.webp?fit=max&auto=format&n=yOk2iKqLyNP2SwWs&q=85&s=16c6dc8c81a7edf7948c09d90b8bbd90" alt="Models and providers settings showing stagewise Account, official API key, custom provider, and model list options" width="3664" height="2232" data-path="images/docs/models-providers.webp" />

*Configure each provider independently: use the stagewise Account, import an API key, or route through a custom provider.*

## Model selector

The model selector at the top of the page shows the currently active model. Click to switch between any configured model — built-in or custom. Each agent instance can use a different model.

## Built-in providers

For each built-in provider, choose how to connect:

| Provider          | Models                     |
| ----------------- | -------------------------- |
| **Anthropic**     | Claude Opus, Sonnet, Haiku |
| **OpenAI**        | GPT and Codex models       |
| **Google**        | Gemini models              |
| **Moonshot AI**   | Kimi models                |
| **Alibaba Cloud** | Qwen models                |
| **DeepSeek**      | DeepSeek V-series models   |
| **Z.AI**          | GLM models                 |
| **MiniMax**       | MiniMax M-series models    |

### stagewise Account

Use the managed inference service with a curated model library. No API keys needed. Works out of the box.

### Import your subscription (BYOK)

Already paying for a provider? Enter your API key to route requests directly to their API. [Set up BYOK →](/reference/byok-setup)

### Custom endpoint

Connect to any compatible service — including models running locally on your machine. [Connect a custom provider →](/reference/custom-providers)

## Custom models

Below the built-in providers, the **Custom Models** section lets you add models not in the default list.

Click **Add model** and provide:

* **Model ID** — The identifier your endpoint expects
* **Display name** — How it appears in the model selector
* **Provider** — Which built-in provider this model routes through

[Full guide to custom models →](/reference/custom-models)

## Custom providers

Click **Custom Providers** in the top-right to manage custom endpoints — self-hosted servers, cloud platforms, or proxy services. [Full guide →](/reference/custom-providers)

## Agent general settings

Use **Settings → Agent → General** to choose which editor opens files, keep stagewise awake while agents work, and configure notification sounds. [Open general settings →](/reference/general-settings)

## Related

* [Models & providers concept →](/core-concepts/models-and-providers)
* [General agent settings →](/reference/general-settings)
* [Import your subscriptions →](/reference/byok-setup)
* [Connect custom providers →](/reference/custom-providers)
* [Add custom models →](/reference/custom-models)
