微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📊

Minimax 额度实时监控工具

国内Minimax Coding Plan订阅计划用量查询 · v1.0.0
专业技能 安全 A 级 作者 franky0617 公开目录收录
下载 2.8k 安装 2 收藏 13.7k 浏览 264
原始页面

简介

监控 Minimax Coding Plan API 用量,实时显示已用/剩余额度、自动预警,避免超额调用导致服务中断。

原始描述

Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.

技能正文


name: minimax-usage description: Monitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts. metadata: {"clawdbot":{"emoji":"📊"}}

Minimax Usage Skill

Monitor Minimax Coding Plan usage to stay within limits.

Setup

Create a .env file in the same directory as the script:

MINIMAX_CODING_API_KEY=your_api_key_here
MINIMAX_GROUP_ID=your_group_id_here

Get your GroupId from: https://platform.minimax.com/user-center/basic-information (under "Basic Information")

Usage

./minimax-usage.sh

Output Example

🔍 Checking Minimax Coding Plan usage...
✅ Usage retrieved successfully:

📊 Coding Plan Status (MiniMax-M2):
   Used:      255 / 1500 prompts (17%)
   Remaining: 1245 prompts
   Resets in: 3h 17m

💚 GREEN: 17% used. Plenty of buffer.

API Details

Endpoint:

GET https://platform.minimax.com/v1/api/openplatform/coding_plan/remains?GroupId={GROUP_ID}

Required Headers:

accept: application/json, text/plain, */*
authorization: Bearer {MINIMAX_CODING_API_KEY}
referer: https://platform.minimax.com/user-center/payment/coding-plan
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36

Limits

Metric Value
Reset window 5 hours (dynamic)
Max target 60% usage
1 prompt ≈ 15 model calls

Notes

  • Coding Plan API key is exclusive to this plan (not interchangeable with standard API keys)
  • Usage from 5+ hours ago is automatically released from the count

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

api-monitoringminimaxusage-trackingcli-toolquota-managementbashdeveloper-workflow

同类 Skill