Documentation renewed! For old docs, visit doc.newapi.pro
New APINew API
User GuideInstallationAPI ReferenceAI ApplicationsSkillsHelp & SupportBusiness Cooperation
User Guide

Token Management

Tokens are API credentials — each token can have its own permission scope and quota limit

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.

Token list page

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")
  3. Configure the following options as needed:

Create token dialog

OptionDescription
ExpirationSet an expiry date; leave blank or set to -1 for no expiration
Remaining QuotaLimits the maximum quota this token can consume; auto-disabled when exceeded
Unlimited QuotaWhen enabled, no quota limit applies (still subject to account total quota)
Model RestrictionsRestrict this token to specific models; leave blank for no restriction
IP AllowlistRestrict allowed source IPs; leave blank for no restriction
GroupSpecify the channel group this token uses
  1. 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 created successfully, showing full key

The token key is only fully displayed once at creation. Copy and save it immediately. Token keys have full API call permissions — do not share them with others or commit them to code repositories.

How is this guide?

Last updated on

On this page