Skip to main content
API keys are the credentials your application sends with every request to NexLLM. Each key can be scoped with expiration dates, quota limits, model restrictions, and IP allowlists so you can enforce precise access controls for different projects, teams, or environments.
You must have a valid NexLLM account before you can create an API key. If you don’t have one yet, sign up here before continuing.

Create an API key

1

Log in to the dashboard

Go to nexllm.ai and sign in to your account.
2

Open the API Keys section

In the left sidebar, click API Keys.
3

Start a new key

Click the Create API Key button in the top-right corner of the page.
4

Name your key

Enter a descriptive name for the key. We recommend naming it by its intended purpose — for example, production-app or dev-testing — so you can identify it easily later.
5

Configure optional settings

Adjust any of the optional settings described in the table below, or leave them at their defaults to create an unrestricted key.
OptionDescription
ExpirationSet an expiration date for the key. Leave the field blank, or set it to -1, if you do not want the key to expire.
Remaining QuotaDefine the maximum number of tokens this key can consume. The key is automatically disabled once the quota is exceeded.
Unlimited QuotaEnable this option to remove the quota limit for this key. The key is still subject to your account’s overall quota.
Model RestrictionsRestrict this key to specific models. Leave the field blank to allow access to all available models.
IP AllowlistRestrict API calls to specific source IP addresses. Leave the field blank if no IP restriction is required.
GroupSpecify the channel group this key will use for routing requests. See the Channel Groups documentation for more information.
6

Save the key

Click Save changes to generate the key.
7

Copy and store your key

Copy the API key that appears and store it somewhere safe — for example, in a password manager or your application’s secrets store.
Your API key authenticates every request you make to NexLLM. Never commit it to source control or share it publicly. If a key is exposed, delete it immediately from the dashboard and generate a new one.