MiniMax Setup Guide
March 24, 2026 ยท View on GitHub
This guide configures MiniMax Coding Plan usage tracking in onWatch.
Prerequisites
- Active MiniMax Coding Plan subscription
- onWatch v2.11+
1. Get a MiniMax API Key
- Open https://platform.minimax.io
- Go to API Keys
- Create or copy an API key
2. Configure onWatch
Add this to your environment file (~/.onwatch/.env for local installs):
MINIMAX_API_KEY=sk-cp-your_key_here
Region (optional, default: global):
MINIMAX_REGION=cn # Use MiniMax CN endpoint (www.minimaxi.com)
Set MINIMAX_REGION=cn if you're using MiniMax from China; otherwise omit for the global endpoint (api.minimax.io).
3. Reload Providers
You can apply the new key without full restart:
- Open Settings -> Providers
- Click Reload Providers From .env
- Enable MiniMax telemetry and dashboard toggle
Or restart onWatch:
onwatch stop
onwatch
4. Verify
- Open the dashboard and switch to the MiniMax tab
- Check that quota cards and history begin populating
- In Settings, confirm MiniMax status shows configured/polling
Notes
- MiniMax endpoint used by onWatch:
https://api.minimax.io/v1/api/openplatform/coding_plan/remains - Auth is sent as a
Bearertoken. - onWatch stores usage snapshots locally in SQLite.