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

# Keys

> Create keys, limit their models and budget, and revoke them

Each key belongs to one user. Admins can create keys for anyone and see every key. Members create and see their own.

## Create a key

1. Open **LLM Gateway → Keys** and select **Create Key**.
2. **Details**: enter a **Key Name**, such as `laptop-dev`. Admins choose who the key is for under **Key For**.
3. **Models**: keep **All Models**, or choose **Specific Models** and list them in **Allowed Models**.
4. **Limits**: set a **Budget per Month** in dollars, and when the key expires: 30, 60 or 90 days, or **No Expiration**.
5. **Review** and create the key.
6. Copy the key, then select **I've Saved It**. You can't view the key again.

**Allowed Models** takes model names, alias names and patterns, separated by commas. `*` matches any text:

```
claude-sonnet-*, gpt-5*, coding-model
```

A key can only narrow what its owner may use. Its models must be allowed by the owner's [Model Policy](https://docs.getunbound.ai/policies/model-policies.md), and its budget can't exceed the owner's [usage budget](https://docs.getunbound.ai/policies/cost-policies.md).

## Track usage

The **Keys** table shows each key's **Spend**, **Turns**, **Budget**, **Expires** and **Last Used**. Select a key to see the models it called.

| Status | Meaning |
| - | - |
| **Active** | The key works |
| **Over Budget** | The key hit its monthly budget. It works again on the 1st, or when you raise the budget |
| **Expired** | The key passed its expiry date. Create a new one |

## Change or revoke a key

Open the key's row menu:

* **Edit Limits** changes its models and budget.
* **Revoke Key** stops the key from working. This can't be undone.

Revoke a key as soon as it leaks, then create a new one.


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