文档

查询套餐余量

查询账号下个人版套餐的余量。

请求地址

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

前往 Token Plan 获取专属 Base URL 和 API Key。

请求头

接口支持以下两种认证方式,请选择其中一种添加到请求头中(本接口需使用 Token Plan 专属 API Key tp-):

api-key: $MIMO_API_KEY

响应

  • objectstring
    对象类型。
    可选值:token_plan
  • plan_codestring
    套餐标识。
  • periodobject
    当前计费周期。
    隐藏子属性
    period.start_atstring
    周期开始时间,UTC 时间,格式 YYYY-MM-DD HH:mm:ss。
    period.end_atstring
    周期结束时间,UTC 时间,格式 YYYY-MM-DD HH:mm:ss。
  • quotaobject
    周期积分额度。
    隐藏子属性
    quota.total_creditsinteger
    周期总额度(含补偿积分)。
    quota.used_creditsinteger
    周期已用积分。
    quota.remaining_creditsinteger
    周期剩余积分 = max(0, 总额度 - 已用积分)。
  • auto_renewboolean
    是否开启自动续费。
  • claw_enabledboolean
    是否启用 MiMo Claw。
curl --location --request GET 'https://token-plan-cn.xiaomimimo.com/v1/platform/token_plan' \
--header 'Authorization: Bearer $MIMO_API_KEY'
响应
{
  "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
}
更新时间 2026 年 11 月 03 日

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.