Documentation

Query Token Plan Credits

Query the remaining balance of the personal edition package under the account.

Request URL

https://token-plan-cn.xiaomimimo.com/v1/platform/token_plan

Go to Token Plan to get your dedicated Base URL and API Key.

Request Header

This interface supports the following two authentication methods. Please select one of them and add it to the request header (this interface requires a dedicated API Key for Token Plan tp-):

api-key: $MIMO_API_KEY

Response

  • objectstring
    Object type.
    Optional values: token_plan
  • plan_codestring
    Package identification.
  • periodobject
    Current billing cycle.
    Hide child attributes
    period.start_atstring
    Period start time, in UTC, format: YYYY-MM-DD HH: mm: ss.
    period.end_atstring
    Period end time, in UTC, format: YYYY-MM-DD HH: mm: ss.
  • quotaobject
    Periodic credit limit.
    Hide child attributes
    quota.total_creditsinteger
    Total period limit (including compensation points).
    quota.used_creditsinteger
    The period has been integrated.
    quota.remaining_creditsinteger
    Period remaining integral = max (0, total amount - used integral).
  • auto_renewboolean
    Whether to enable automatic renewal.
  • claw_enabledboolean
    Whether to enable MiMo Claw.
curl --location --request GET 'https://token-plan-cn.xiaomimimo.com/v1/platform/token_plan' \
--header 'Authorization: Bearer $MIMO_API_KEY'
response
{
  "object": "token_plan",
  "plan_code": "pro",
  "period": {
    "start_at": "2026-09-21 23:59:59",
    "end_at": "2027-09-21 23:59:59"
  },
  "quota": {
    "total_credits": 10000000,
    "used_credits": 1500000,
    "remaining_credits": 8500000
  },
  "auto_renew": false,
  "claw_enabled": false
}
Update Time November 03, 2026

Copyright©2026 Xiaomi. All Rights Reserved | Cookie Policy | Cookie Preferences

We use cookies and similar technologies of our own to ensure the proper functioning of the website, customize content according to user preferences and analyze users' interactions on the website, as well as their browsing habits. You can find more information in our Cookie Policy. Select an option or go to Cookie Settings to manage your preferences. Learn More.