API

Two surfaces.

  • Inferenceapi.aikeys.co/v1
  • Accountaikeys.co/api
  • AuthBearer or x-api-key

Inference

GET

/v1/models

Models this key can call. Id is the public id, such as cc/claude-opus-4-6.

Inference keyhttps://api.aikeys.co

FieldInRequiredDetail
AuthorizationheaderyesBearer secret, or send x-api-key instead.

Python uses the OpenAI SDK. TypeScript uses the openai Node SDK. Both point base URL at AIKeys.

curl https://api.aikeys.co/v1/models \
  -H "Authorization: Bearer $AIKEYS_CO_KEY"
Response
{
  "object": "list",
  "data": [
    { "id": "cc/claude-haiku-4-5", "object": "model", "owned_by": "aikeys" }
  ]
}

Keys

Three key types.

Choose the type when you create the key. The secret is shown once. Config keys cannot call models or move money.

TypeCan
InferenceCall models. Read this account’s usage, models, and balance through the API.
Config, read and writeRead the same account data and change model enablement. Cannot call models or move money.
Config, read-onlyRead the same account data.