Check MiniMax Token Plan remaining quota, usage window reset time, and per-model remaining limits, especially for the China mainland Token Plan flow on minimaxi.com. Use when the user asks things like “MiniMax 还有多少额度”, “查一下 minimax 订阅剩余额度”, “看看 Token Plan 还剩多少”, or wants a compact quota table for MiniMax Token Plan.
Use this skill to query MiniMax Token Plan remaining quota.
www.minimaxi.comInterpret the /coding_plan/remains response as remaining quota, not consumed quota.
The script maps:
current_interval_total_count → 当前周期总额度current_interval_usage_count → 当前周期剩余额度current_weekly_total_count → 本周总额度current_weekly_usage_count → 本周剩余额度Do not flip those meanings unless MiniMax docs change.
MINIMAX_API_KEY from env~/.openclaw/.env--api-key for one-off manual runs~/.openclaw/.env is missing or lacks MINIMAX_API_KEY, guide the user to add:mkdir -p ~/.openclaw
printf "MINIMAX_API_KEY=你的key\n" > ~/.openclaw/.env
MINIMAX_API_KEY='...' python3 scripts/check_token_plan_quota.py --region cn
Or rely on ~/.openclaw/.env:
python3 scripts/check_token_plan_quota.py --region cn
MINIMAX_API_KEY='...' python3 scripts/check_token_plan_quota.py --region global
MINIMAX_API_KEY='...' python3 scripts/check_token_plan_quota.py --region cn --json
Default to the markdown table only when the user asks for a concise result.
Example:
| 项目 | 周期 | 总额度 | 剩余额度 | 重置剩余时间 |
|---|---|---:|---:|---|
| MiniMax-M* | 当前周期 | 1500 | 1500 | 4小时26分钟 |
If some models show total quota 0, explain briefly only when needed:
scripts/check_token_plan_quota.pyQueries the MiniMax Token Plan quota endpoint and prints either:
Control Philips Hue lights and scenes via the OpenHue CLI.