Search...
Menu

Token Management

Tokens are API credentials. Each token can be independently configured with its own permission scope and quota limit. Click "Tokens" in the left sidebar, or visit /console/token directly.

The token list shows all created tokens with their name, status, used quota, remaining quota, and expiration time.

Create a Token

基本配置

1
Click the "Create Token" button in the top-right of the token list page — a creation dialog appears
2
Enter a token name (name it by purpose, e.g. "Production" or "Testing")

Advanced configuration options

Configure the following options as needed:

Option Description
Expiration Set an expiry date; leave blank or set to -1 for no expiration
Remaining Quota Limits the maximum quota this token can consume; auto-disabled when exceeded
Unlimited Quota When enabled, no quota limit applies (still subject to account total quota)
Model Restrictions Restrict this token to specific models; leave blank for no restriction
IP Allowlist Restrict allowed source IPs; leave blank for no restriction
Group Specify the channel group this token uses

保存令牌 Key

Click "Submit" — the dialog shows the complete token key. Copy and save it immediately, as it cannot be viewed again after closing the dialog.

Token keys have full API call permissions — do not share them with others or commit them to code repositories.

Edit Token

Locate the target token in the token list and click the "Edit" button on the right to modify the token's configuration options (excluding the token key itself).

Delete Token

Locate the target token in the token list and click the "Delete" button on the right. Once confirmed, the token will immediately become invalid and cannot be recovered.

Last modified: 2026-11-17