Skip to content

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.

  • 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
  1. Go to API Keys
  2. Click Create Key
  3. Set a name (e.g. client-acme)
  4. Select a subscription to attach the key to

Subscribe and get a key in one call:

Terminal window
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:

Terminal window
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.

Each key gets its own rate limits based on its plan tier:

LimitStandardPro
Requests per minute (RPM)60200
Tokens per minute (TPM)3,33313,333

Limits are independent per key — one key hitting its RPM limit does not affect other keys.

  1. Create — Key is generated with the plan’s rate limits
  2. Active — The platform validates the key on each request and enforces limits
  3. 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.

View all your keys and their subscription status:

Terminal window
curl https://api.cheapestinference.com/api/usage \
-H "Authorization: Bearer mk_your_management_key"

Or view them in the dashboard.