minimax-usage

v2026.09.24

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

GitHub
Install command
npx skhub add sundial-org/minimax-usage
Markdown
SKILL.md

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.io/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.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

Limits

MetricValue
Reset window5 hours (dynamic)
Max target60% 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
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/minimax-usage

Default branch

main

Latest commit

b80cde2

Tree SHA

fc3a971