1. Create a key
- Open API Keys.
- Click Create API Key at the top right.
- Fill in the settings below.
- Click Save changes.

2. Copy it into your app
- Return to the key list and find your new key.
- Click its copy button. Do not manually copy the masked text containing asterisks.
- Paste the complete key into your app’s API Key field.
- Follow your app’s guide for the address and model name.


/v1; do not add paths yourself.
Use the key created here, not an access token from Security & Access.
Copy Connection Info in the row’s more menu copies both the address and the complete key. It is not a public sharing link. Use it only when a trusted app explicitly supports that import format; otherwise copy the key separately as above. Do not send connection info to a chat group or support.
3. If a key is exposed
Disable or delete the old key immediately, create a new one, and replace it in your app. Do not post complete keys in chats, screenshots or public code. Support does not need your complete key.Change a group or key
Changing a group does not require a new key:- In API Keys, find the key in use and click its Edit button.
- Choose an available group compatible with your app and save. If the group is missing, ask support rather than choosing at random.
- Select the new group in Model Square, check the model and price, then update and test your app.
auto, ask support to confirm eligible groups, models and charges first. Do not assume one fixed multiplier or change the group just to match an example.
Set quota, expiration and model restrictions
- Find the key in API Keys and click Edit.
- Change only the required settings below.
- Click Save changes. All apps sharing this key are affected.
The quota is the remaining allowance, not a payment or an amount to add. If the field uses
$, entering 10 sets the key’s remaining allowance to $10 of account credits. It is not CNY 10 or an extra 10 added to the old quota. Follow the unit actually displayed.
This is not a monthly resetting budget. The account still needs balance or an applicable plan. Unlimited quota only removes this key’s own allowance limit.
Clearing every selection in Model Limits removes the key’s extra model restriction. It does not unlock models unavailable in its group. Use the earlier steps to change models or groups.
Use separate, recognizable keys for different apps, such as Office computer and Server app, to track and disable them separately. Avoid unlimited, non-expiring keys for temporary sharing.
If Claude Code needs auxiliary models, allow the confirmed eligible auxiliary models too. Allowing only the primary model can make some operations fail. Use the names in the app guide or confirmed by support.
Pause, resume or delete a key
- Pause: click the row’s power button labelled Disable, then check that the row’s status becomes Disabled. Subsequent requests using this key will be rejected.
- Resume: use Enable in the same place. If the key is expired or exhausted, first edit its expiration or remaining quota, save, then enable. Repeated clicks do not fix those restrictions.
- Retire: choose Delete from the row’s more menu only after checking no app still needs it, then follow the confirmation. Deletion is not a temporary pause.
If a key does not work, check these four things
If it still fails, keep the exact error and follow troubleshooting. Do not retry repeatedly or send the complete key to support.
