Create a token
1
Open the create dialog
On the API keys list, click Create API key in the top right.
2
Fill in basic info
Enter a token name. Naming by purpose (“Production”, “Testing”, “Cherry Studio”) makes it easier to distinguish tokens in the logs later.
3
Choose a key group
For the group, we recommend the “auto” group by default. With auto, a single key can call every supported model on the platform. The system routes requests to the correct billing group based on the model ID you use, which is convenient and flexible.If your needs are more specific (for example, only using the GPT series), you can pick the matching “gpt” group. In that case the key is limited to GPT-related models and cannot access models from other vendors, which suits scenarios with strict model-source constraints.
4
Configure advanced options (optional)
Set the advanced options below as needed. Any option left blank means no restriction, though the account’s total quota still applies.
5
Submit and save the token key
After confirming the details, click Submit. The new key (typically formatted as
sk-xxxxxxxx) appears in the key list. Click the Copy button next to the key to grab it for use.Advanced options
Use a token
Send the token key asAuthorization: Bearer <token> (OpenAI-compatible format) or the native vendor header (for example x-api-key) to the platform’s API base URL. See Call the API for full examples.
To quickly verify a token works, chat with a model in the built-in Playground without writing code.
Edit a token
In the token list, find the target token and click the Edit icon on the right. You can change the name, expiration, remaining quota, model restrictions, IP allowlist, and other settings. The token key itself cannot be changed; only deleted.Delete a token
In the token list, find the target token and click the Delete icon on the right. After confirmation the token becomes invalid immediately and cannot be recovered. Applications using it return an authentication error at once.If a token leaks, delete it and create a new one immediately. Review the logs before deletion to check for suspicious calls.
Next steps
Call the API
Use your token to make OpenAI, Claude, or Gemini format calls.
Client integrations
Configure tokens in chat clients and Agent tools.