Back to Registry
View Author Profile
Official Verified
minimax-usage
查询 MiniMax Token Plan 剩余用量。slash command。 查询 MiniMax Token Plan 剩余次数和重置时间,支持 M2.7/Speech/视频/图片/音乐等模型的用量查询。 Query MiniMax Token Plan usage and reset time. Supports M2.7, Speech, Video, Image, and Music models.
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alex-zxyz/minimax-plan-usageOr
MiniMax Token Plan 用量查询
实时查询 MiniMax Token Plan 各模型的剩余额度,无需打开网页。
功能
- 查询 M2.7 文本模型的窗口剩余次数和重置倒计时
- 查询 Speech 2.8 语音模型的窗口剩余次数
- 查询视频、图片、音乐等模型的窗口剩余次数
- 显示各模型窗口重置剩余时间
使用方式
在 Discord 中输入 /minimax_usage
技术细节
脚本调用 MiniMax 官方接口:
GET https://www.minimaxi.com/v1/api/openplatform/coding_plan/remains
返回数据包含 model_remains 数组,每项对应一种模型。
环境变量
| 变量 | 必填 | 默认值 | 说明 |
|---|---|---|---|
MINIMAX_API_KEY | 是 | — | Token Plan API Key |
MINIMAX_API_HOST | 否 | https://www.minimaxi.com | API 地址,国内版用此地址 |
输出示例
**MiniMax Token Plan 用量**
**M2.7**
剩余次数: 431 / 600
重置倒计时: 2h 0m 46s
**Speech 2.8**
剩余次数: 0 / 0
重置倒计时: 6h 0m 46s
注意事项
- 需要已设置
MINIMAX_API_KEY环境变量(Token Plan 专属 Key,非普通 API Key) - 返回的
remaining是本窗口剩余次数,total是窗口总限额 remains_time单位为毫秒,表示距离窗口重置的剩余时间- 适用于 MiniMax Token Plan 订阅用户
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alex-zxyz-minimax-plan-usage": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.