minimax-usageMonitor Minimax Coding Plan usage to stay within API limits. Fetches current usage stats and provides status alerts.
Install via ClawdBot CLI:
clawdbot install TheSethRose/minimax-usageMonitor Minimax Coding Plan usage to stay within limits.
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.io/user-center/basic-information (under "Basic Information")
./minimax-usage.sh
š 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.
Endpoint:
GET https://platform.minimax.io/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.io/user-center/payment/coding-plan
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
| Metric | Value |
|--------|-------|
| Reset window | 5 hours (dynamic) |
| Max target | 60% usage |
| 1 prompt ā | 15 model calls |
Generated Mar 1, 2026
Development teams using Minimax's Coding Plan can integrate this skill to monitor API usage in real-time, ensuring they stay within limits and avoid service interruptions. It helps project managers track consumption trends and plan resource allocation effectively.
Freelancers or small agencies leveraging Minimax for coding tasks can use this skill to keep tabs on their API usage, preventing unexpected overages and optimizing costs. It provides alerts when usage approaches limits, allowing for timely adjustments.
Educational institutions or online learning platforms offering coding courses with Minimax integration can monitor student usage to ensure fair access and manage API quotas. This helps maintain service quality and control operational expenses.
Startups building minimum viable products (MVPs) with Minimax's API can use this skill to track usage during development phases, ensuring they stay within free or low-cost tiers. It aids in budgeting and scaling decisions as the product grows.
Develop a subscription-based software service that integrates this skill to provide detailed analytics and alerts for Minimax API usage across multiple clients. Revenue is generated through monthly or annual subscription fees, targeting businesses with high API consumption.
Offer consulting services to help companies integrate this skill into their existing workflows for better API management. Revenue comes from one-time setup fees and ongoing support contracts, focusing on industries like software development and AI research.
Create a free dashboard that uses this skill to monitor Minimax usage, with premium features like advanced analytics, historical data, and team collaboration tools. Revenue is generated through upgrades to premium plans and enterprise licensing.
š¬ Integration Tip
Ensure the .env file is securely configured with API keys and GroupId, and schedule regular script runs to monitor usage without manual intervention.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Gemini CLI for one-shot Q&A, summaries, and generation.
Research any topic from the last 30 days on Reddit + X + Web, synthesize findings, and write copy-paste-ready prompts. Use when the user wants recent social/web research on a topic, asks "what are people saying about X", or wants to learn current best practices. Requires OPENAI_API_KEY and/or XAI_API_KEY for full Reddit+X access, falls back to web search.
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.