Per-Key Plans
Each API key you create can have its own plan tier. This lets you manage access for different users, clients, or applications — each with independent rate limits.
Use cases
Section titled “Use cases”- SaaS platform — Give each customer their own API key with appropriate limits
- Team management — Different keys for dev, staging, production
- Client billing — Track usage per client with separate keys
Creating keys with plans
Section titled “Creating keys with plans”From the dashboard
Section titled “From the dashboard”- Go to API Keys
- Click Create Key
- Set a name (e.g.
client-acme) - Select a subscription to attach the key to
Via API
Section titled “Via API”Subscribe and get a key in one call:
curl -X POST https://api.cheapestinference.com/api/billing/subscribe \ -H "Authorization: Bearer mk_your_management_key" \ -H "Content-Type: application/json" \ -d '{"planSlug": "pro", "createKey": true, "keyName": "client-acme"}'Or create additional keys from an existing subscription:
curl -X POST https://api.cheapestinference.com/api/keys/subscription \ -H "Authorization: Bearer mk_your_management_key" \ -H "Content-Type: application/json" \ -d '{"name": "client-acme", "subscriptionId": "sub_uuid"}'You need an active subscription to create keys.
Rate limits per key
Section titled “Rate limits per key”Each key gets its own rate limits based on its plan tier:
| Limit | Standard | Pro |
|---|---|---|
| Requests per minute (RPM) | 60 | 200 |
| Tokens per minute (TPM) | 3,333 | 13,333 |
Limits are independent per key — one key hitting its RPM limit does not affect other keys.
Key lifecycle
Section titled “Key lifecycle”- Create — Key is generated with the plan’s rate limits
- Active — The platform validates the key on each request and enforces limits
- Disable/Delete — Key is immediately revoked
When a subscription expires, its keys are automatically revoked by a background job. Other subscriptions and their keys are not affected.
Tracking keys
Section titled “Tracking keys”View all your keys and their subscription status:
curl https://api.cheapestinference.com/api/usage \ -H "Authorization: Bearer mk_your_management_key"Or view them in the dashboard.