Docs/Account & billing
API key management
Organize keys by environment, project and teammate without losing control.
On this page
One key, one job
Treat a key as an independently revocable unit of purpose, not as an account password. The useful granularity is environment × workload:
text
web-prod production web app
web-staging pre-production
batch-etl nightly batch jobs
partner-acme temporary partner key (with an expiry)
local-alice a developer's machineYou get: one key to revoke per incident, usage reports split by workload for free, and external keys that can carry their own model list and expiry.
What each key can carry
| Setting | Effect | Typical value |
|---|---|---|
| Allowed models | Restrict callable models | Batch jobs limited to small models |
| Pricing tier | Which price tier it bills at | Follows the account by default |
| Project | Split usage by project | One project per workload |
| Expiry | Auto-disable on a date | 30 days for external partners |
| Status | Enabled / disabled | Prefer disabling over deleting |
Rotation
- Create the new key with a dated name (
web-prod-2026q3). - Update the secret manager and roll services.
- Confirm on the usage page that traffic moved and the old key is at zero.
- Disable the old key, wait 24 hours, then delete it.
Warning
Deletion is immediate and irreversible. Cron jobs, offline scripts and third-party integrations still holding that key will start returning 401. Disabling first keeps that risk small.
Working as a team
- Never paste keys into chat. Share access to the secret manager, not the secret.
- When someone leaves, revoke their personal keys (
local-*) and leave production untouched. - Log the key name (never the value) at service start-up so incidents immediately show which key was in use.
Related
- Get an API key — creation and storage.
- Usage — spend per key.
Contact us
Something unclear, or need a human? Pick the channel that fits your question.
Supportsupport@apione.ai
WeCom
Telegram
Communityhttps://t.me/apione
Support tickets
Billing & accountConsole › Feedback