User Guide
Token management
Tokens are the credentials for calling the API, and each one can have its own permission scope and quota limit
Tokens are the credentials for calling the API, and each one can have its own permission scope and quota limit. After signing in, open “Console → API keys” in the left sidebar, or go directly to `/console/token`.
Open token management
- Sign in to the EasyAPI console
- In the Console section of the left sidebar, click “API keys”, or go to
/console/token
Token list
The list shows every token you have created, including its name, status, remaining/total quota, masked key, available models, IP restrictions, and timestamps.
- Use “Create key” and “Refresh all keys” at the top, or delete the selected tokens or all tokens
- Search by name keyword or key fragment on the right, with pagination and an adjustable page size
- “Compact list” hides the model and IP columns, which works well on narrow screens
- Use the inline switch to enable or disable a token; the “Chat” menu opens the Playground or imports the token into a third-party client in one click
| Name | Status | Remaining / total quota | Secret | Actions | |
|---|---|---|---|---|---|
| ☐ | production | Enabled | ∞ / ∞ | sk-•••••••• | Chat · Edit · Delete |
| ☐ | dev-test | Disabled | 120 / 500 | sk-•••••••• | Chat · Edit · Delete |
Token list preview: toolbar and row actions
Create a token
Basic settings
- On the token list page, click “Create key” to open the creation panel on the right
- Enter a token name (name it by purpose, such as “Production” or “Local testing”)
Advanced options
Configure the following options as needed:
| Option | Description |
|---|---|
| Expiration | When creating, choose 7, 30, or 90 days, or no expiration; when editing, you can set an exact date and time |
| Quota mode | Share the account quota, or set a dedicated quota limit for this token |
| Unlimited quota | Available in dedicated quota mode; removes the token's own quota limit (the account's total quota still applies) |
| Model allowlist | When enabled, select the models this token may call; when disabled, all models are allowed |
| IP allowlist | Enter one IP per line; leave empty to allow requests from any source |
Save the token key
- Click “Submit” to create the token
- A dialog shows the full token key; click “Copy” right away to save it
- After you close the dialog, the list shows only the masked key; to view the full key again, call the key API
A token key grants full API access. Never share it or commit it to a public repository. If you did not copy it at creation time, keep the full key you retrieve later in a safe place.
Edit a token
Click a token's name or “Edit” on the right to change its expiration, quota, model allowlist, IP allowlist, and other settings.
- Switch the token between enabled and disabled (expired tokens cannot be enabled)
- In dedicated quota mode, adjust the remaining and total quota
- The key itself is not shown in the edit form; to replace it, use the key reset flow
Delete a token
Click “Delete” in the list, or use “Delete selected” or “Delete all keys” for bulk deletion. Once confirmed, the tokens stop working immediately and cannot be recovered.