Get API key quota balance
返回当前 API Key 的调用额度(与账户积分独立)。
GET
Get API key quota balance
Returns the call quota for the current API key (independent of account points). If you set
About
total_quota in the console, the key is capped; 0 means unlimited.
Response fields
About used_quota
used_quota is the current key’s cumulative charged usage in the same unit as total_quota (points).
- Scope: only jobs charged through this key.
- When it increases: after a job is submitted and charged (
costadded toused_quota). - Enforcement: if
total_quota > 0andused_quota >= total_quota, new billable requests with this key are rejected. - Vs account
used_coin:/user/balanceis account-wide net spend;used_quotais per-key.
Charges still debit the user points balance.
total_quota / used_quota only cap how much one key may spend.Example
Last modified on October 15, 2026