InferenceIndex

Private beta · Early access

Platform

API keys

Create a key in the dashboard and send it as a bearer token.

Private beta. InferenceIndex is changing fast. Models, endpoints, pricing and these docs may change without notice, so check back before you build on a detail.

You need an API key to call a Compiled Agent Model.

A key card and a bearer token on a request

Create a key

  1. Open https://app.inferenceindex.com.
  2. Sign in and enter your invite code.
  3. Get an API key in the dashboard.

Each invite code works once. A key works only once the account has redeemed an invite.

Send the key

Send the key on the request as a bearer token.

text
Authorization: Bearer YOUR_KEY

Python sets it as api_key. TypeScript sets it as apiKey. Keep the key in an environment variable or a secret store. Do not commit it, and do not paste it into a chat.

If a key is exposed, stop using it and get a new key in the dashboard.

When a key is refused

StatusWhy
401The key is wrong or missing
402The account's credit balance is empty
403The account has not redeemed an invite, or is disabled