Create an API key
Create a key under API keys. You see it only once, so copy it right away.
Owners, admins and developers can create keys. A key belongs to the workspace and is paid from its balance.
- Open app.nexrouting.com/keys and choose New key.
- Give it a name you’ll recognize, such as Production (up to 80 characters).
- Optional: set a budget, an expiry date or the models it may use. See Budget, allowed models and expiry date. You can change these later.
- Choose Create key and copy the key. After you close the window, nobody can see it again, not even us.
- Store it in an environment variable or a secret manager:
export NEXROUTING_API_KEY="nr-v1-…"Send it with every request as Authorization: Bearer <key>. The Anthropic-style header x-api-key works too.
Lost a key? It can’t be shown again. Revoke it and create a new one. A workspace can have up to 200 active keys.
We only store a fingerprint of the key, plus its first and last characters, so you can recognize it in the list.