Create Token
API Key & Console Management
Create Token
Create a new API token
POST
Create Token
Documentation Index
Fetch the complete documentation index at: https://docs.crazyrouter.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Create a new API token for calling AI model APIs.The
/api/token/* endpoints are mainly for Crazyrouter dashboard automation around API key management. They require a user access token plus the New-Api-User header, and are not the normal interface for sk-xxx model calls.Authentication
This endpoint requires user-side authentication:Request Parameters
Token name for easy identification
Initial quota in internal quota units. If set to 0, use it together with
unlimited_quotaWhether the token has unlimited quota
Expiration timestamp.
-1 means never expiresWhether to enable a model whitelist
Model restriction config as a string, usually a JSON string such as
["gpt-5.4","claude-sonnet-4-6"]IP whitelist string. You can pass a single IP or multiple IPs separated by newlines
Token group. It must be a group the current user is allowed to use