Token management

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

  1. Sign in to the EasyAPI console
  2. 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
easyapi.com/console/token
Create keyRefresh all keysDelete selectedSearch name / key
NameStatusRemaining / total quotaSecretActions
☐productionEnabled∞ / ∞sk-••••••••Chat · Edit · Delete
☐dev-testDisabled120 / 500sk-••••••••Chat · Edit · Delete

Token list preview: toolbar and row actions

Create a token

Basic settings

  1. On the token list page, click “Create key” to open the creation panel on the right
  2. Enter a token name (name it by purpose, such as “Production” or “Local testing”)

Advanced options

Configure the following options as needed:

OptionDescription
ExpirationWhen creating, choose 7, 30, or 90 days, or no expiration; when editing, you can set an exact date and time
Quota modeShare the account quota, or set a dedicated quota limit for this token
Unlimited quotaAvailable in dedicated quota mode; removes the token's own quota limit (the account's total quota still applies)
Model allowlistWhen enabled, select the models this token may call; when disabled, all models are allowed
IP allowlistEnter one IP per line; leave empty to allow requests from any source

Save the token key

  1. Click “Submit” to create the token
  2. A dialog shows the full token key; click “Copy” right away to save it
  3. 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.