Balance & Alerts
Balance & Alerts
Chuizi.AI checks balance and key-level limits before requests. Insufficient balance returns 402; RPM or daily spend caps can limit a key.
Check Balance
terminal
bash
curl https://api.chuizi.ai/v1/key/info \ -H "Authorization: Bearer ck-your-key"
Console
The Wallet / Billing page shows balance, top-ups, bonuses, and usage transactions. Request-level details are available from request logs or Generation Query.
Blocking Rules
| Case | Behavior |
|---|---|
| Insufficient balance | API returns 402 |
| Key disabled | API returns authentication or permission error |
| RPM exceeded | API returns 429 |
| Daily spend cap exceeded | API returns a daily-limit error |
Email, webhook, and custom threshold notifications are future operational features; the public docs do not currently promise automatic email alerts.