Skip to main content
GET
Check Balance
Check your available, voucher, and cash balances on the Kimi Open Platform. When the available balance is less than or equal to 0, you cannot call the inference API.
Response Example
When available_balance is less than or equal to 0, API requests will return an exceeded_current_quota_error error. Please recharge your account or check your voucher validity.
API Keys from platform.kimi.ai and platform.kimi.com are completely independent. Using a Key from one platform on the other will result in a 401 error. Ensure your endpoint matches the platform where the Key was created.

Authorizations

Authorization
string
header
required

The Authorization header expects a Bearer token. Use an MOONSHOT_API_KEY as the token. This is a server-side secret key. Generate one on the API keys page in your dashboard.

Response

Balance information

code
integer
required

Response code. 0 indicates success.

data
object
required
scode
string
required

Status code

Example:

"0x0"

status
boolean
required

Request status

Example:

true