Create a Key
- Click Create Key
- Enter a name (e.g., “Production”, “Development”)
- Optionally set scopes to restrict what the key can access (e.g., completions only)
- Optionally set rate limits and spending caps for this specific key
- Copy the key — it won’t be shown again
Key Formats
Key Management
- Revoke — instantly disable a key (takes effect within seconds)
- Rename — update the display name
- View usage — see per-key usage statistics, cost, and request counts
- Edit limits — adjust rate limits and spending caps per key
Key Rotation
To rotate a key without downtime:- Create a new key
- Update your environment variables
- Verify traffic flows through the new key
- Revoke the old key
