# Which provider key you need

A provider key is what lets Sentilai make the actual AI request on your behalf. You only
need one for tools running in **managed API key** mode — tools on a developer subscription
do not touch it.

## Matching keys to tools

- **Claude Code** in managed mode needs an **Anthropic** key.
- **Cursor** always needs an **OpenAI** key — it cannot run in subscription mode at all.
- **GitHub Copilot** through the custom-endpoint route needs an **OpenAI** key.

## Supported types

**OpenAI**, **Anthropic**, **Azure OpenAI** and **Gemini**.

Azure OpenAI additionally needs your **Azure endpoint** and the **Azure region**. The
region matters: if it is outside your organization's region, the console shows a warning
badge on the key, because your AI traffic would be leaving the region you chose Sentilai
to keep it in. It warns rather than blocks — sometimes that is a deliberate decision — but
it should be a decision.

## Enabled models

Each key carries a list of models it is allowed to serve. This is how you stop an
expensive model from being used organization-wide, and it is also how Sentilai tells two
keys of the same type apart.

## If you have no key

Tools in subscription mode work fine. Tools in managed mode fail with a clear error saying
no provider key is configured, and the Endpoint Suite warns developers before they connect
a tool that would be affected.