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

# API keys

> Create and manage inference and account keys

CarrotHub provides two key types:

| Key type | Use |
| - | - |
| **Inference key** | Model requests such as LLM, image, video, speech, and music generation |
| **Account key** | Account APIs such as balance queries |

The two key types are not interchangeable. Account keys currently support [Balance](https://www.carrothub.ai/docs/api-reference/endpoint/user/billing/balance.md) access only.

## Create a key

1. Open [API Keys](https://www.carrothub.ai/app/api-keys) in the Console.
2. Choose **Inference keys** or **Account keys**, then click **Create key**.
3. Copy the key immediately. The full value is shown only once.

## Manage keys

The Console lists each key and its metadata. You can enable or disable inference keys and permanently revoke either key type.

> [!WARNING]
>
> Store keys in a server-side environment variable or secret manager. Never
> expose them in browser or mobile application code.


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