API keys

Keys authenticate calls to the API. Give each app its own key, scoped to the models it needs and capped at a spend limit.

Active keys
Spent this month
At spend limit
Expiring soon

NameAccessSpend this monthLast usedCreatedExpires

Create key

Kind

Both start sk-cg-, reach the same models and spend the same balance: the kind is a label, shown with the key.

Access

Their names, such as auto or custom-router-support, one per line, a hundred at most; or all, for every router.

Their ids, one per line or separated by commas, a hundred at most: what the key may call without a router. A router's own pool isn't narrowed by them.

Addresses or ranges of them, one per line, such as 203.0.113.0/24, a hundred at most. None means anywhere.

Dollars a calendar month, in UTC, a million at most. Once a request no longer fits what the month has left, the key does as chosen below. None means no limit.

At the limit

Requests a minute, a million at most. None means no limit.

In your own time. None means it works until it is revoked.

Edit key

Every replica has the change within a second. Its text stays as it is: rolling the key gives it a new one.

Access

Their names, such as auto or custom-router-support, one per line, a hundred at most; or all, for every router.

Their ids, one per line or separated by commas, a hundred at most: what the key may call without a router. A router's own pool isn't narrowed by them.

Addresses or ranges of them, one per line, such as 203.0.113.0/24, a hundred at most. None means anywhere.

Dollars a calendar month, in UTC, a million at most. Once a request no longer fits what the month has left, the key does as chosen below. None means no limit.

At the limit

Requests a minute, a million at most. None means no limit.

In your own time. None means it works until it is revoked.

Add a provider key

It is checked before it is kept: the provider is asked for its models with it, which takes a few seconds.

As the provider issued it. It is sealed to the gateway and never shown again: the list shows its last four characters.

Priority

New workspace

A workspace holds its own API keys and the people who use them. You own the ones you make.