Create an API key
Open API key management
Open API key management and sign in.
Create a new API key
Select Add new API key, then configure the fields you need:
| Field | Meaning |
|---|---|
| Name | A label that helps you identify the client or task |
| Group | One or more groups the API key can use |
| Quota | Optional usage cap for this API key |
| Expiration | Optional expiration time |
| Model limits | Optional allowlist for specific models |
| IP limits | Optional allowlist for source IP addresses |
Groups
An API key can be assigned to multiple groups. If you chooseauto, AIOHub picks from active groups based on the current routing configuration. See Groups for the current group snapshot and client-specific guidance.
Security practices
- Do not share API keys with other people.
- Store API keys in environment variables instead of hardcoding them.
- Use separate API keys for separate tools so you can track usage and set limits independently.
- Rotate API keys periodically.