Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.29 KB

File metadata and controls

58 lines (38 loc) · 1.29 KB

MiniMax Setup Guide

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

  1. Open https://platform.minimax.io
  2. Go to API Keys
  3. 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:

  1. Open Settings -> Providers
  2. Click Reload Providers From .env
  3. 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 Bearer token.
  • onWatch stores usage snapshots locally in SQLite.