MiniMax (Token Plan)
Use MiniMax as an alternative provider for Claude Code and Codex sessions
MiniMax's Token Plan is available as an alternative provider for both Claude Code and Codex sessions, backed by the MiniMax-M3 model. Claude Code reaches it through MiniMax's Anthropic-compatible endpoint (https://api.minimax.io/anthropic); Codex reaches it through MiniMax's OpenAI-compatible endpoint. In both cases jackin' wires the redirect into the container at session-spawn time and never touches your host agent settings.
When MINIMAX_API_KEY is configured, opening a new Claude or Codex tab presents a provider picker with MiniMax as one of the options. Operators without a MiniMax key see no change: MiniMax does not appear in the picker.
MiniMax is configured in the Auth tab of jackin console, not by hand-editing any config file.
MiniMax's international endpoint (api.minimax.io) is the one jackin' uses. The China-only endpoint (api.minimaxi.com) is not supported and is out of scope.
Subscribe and get an API key
- Open MiniMax's Token Plan page, sign in, and choose a plan (Plus $20, Max $50, or Ultra $120 per month).
- After the plan is active, open Platform → Plan Details and look for Subscription Key under the plan summary. The key starts with
sk-cp-. - Keep that key private. In jackin', store it as
MINIMAX_API_KEYthrough the Auth settings below; do not paste it into Claude Code's host settings.
The Subscription Key (sk-cp-…) is scoped to the Token Plan and cannot be used for pay-as-you-go API calls. It is distinct from any platform API key you may have from your general MiniMax account. Use the one from the Plan Details page.
Configure your MiniMax API key in jackin'
- Open
jackin console, select your workspace, and switch to the Auth tab. - Scroll to the MiniMax row and press
EnterorSpaceto open the auth form. - Set the mode to API Key (press
Spaceto cycle). - Enter your
MINIMAX_API_KEY— either a literal key or a 1Password reference resolved at launch time. - Save the form.
The key is written to the [env] map in your config file at the scope you chose (global or per-workspace). A workspace-level key overrides the global one.
To remove MiniMax, open the same row, cycle the mode back to Ignore, and save.
Using the provider picker
With MINIMAX_API_KEY configured:
At workspace launch — launch a workspace and choose the Claude or Codex agent. Before the container starts, a provider picker appears. Use arrow keys and Enter to pick. Escape cancels back to the agent picker.
In the multiplexer — press N inside a running container to open a new agent tab. When you pick Claude or Codex, the same provider picker appears if multiple providers are available.
Tab labels
The tab strip label reflects the agent and its active provider:
| Agent | Active provider | Tab label |
|---|---|---|
| Claude | Anthropic | Claude (Anthropic) |
| Claude | MiniMax | Claude (MiniMax) |
| Codex | OpenAI | Codex (OpenAI) |
| Codex | MiniMax | Codex (MiniMax) |
When only the agent's native provider is configured (Anthropic for Claude, OpenAI for Codex), the bare Claude / Codex label is used — no suffix.
Scopes
MINIMAX_API_KEY follows the standard 4-layer env resolution — most-specific wins:
per-(workspace × role) > per-workspace > global > absent
Set a global key to have MiniMax available in every workspace, or set a per-workspace key to restrict it to specific projects.
How the redirect works
When you select MiniMax for a Claude Code session, jackin' injects environment variables into the spawned Claude Code process at launch time — not into any shared config file:
ANTHROPIC_AUTH_TOKEN— set to yourMINIMAX_API_KEYvalueANTHROPIC_BASE_URL— set tohttps://api.minimax.io/anthropicANTHROPIC_DEFAULT_OPUS_MODEL— set toMiniMax-M3ANTHROPIC_DEFAULT_SONNET_MODEL— set toMiniMax-M3ANTHROPIC_DEFAULT_HAIKU_MODEL— set toMiniMax-M3API_TIMEOUT_MS— set to3000000(50-minute timeout for long-running operations)CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC— set to1
MiniMax-M3 is the single model served by the Token Plan, so all three Claude tier slots map to the same model. The timeout prevents premature disconnection on long agent runs through the proxy.
When you select MiniMax for a Codex session, jackin' instead activates MiniMax through Codex's own provider configuration inside the container, since Codex reaches MiniMax over its OpenAI-compatible endpoint. As with Claude, the setup lives only in the container — your host Codex config is never modified.
No other tabs or sessions in the container are affected. A session on the agent's native provider continues to use the container's own credentials.
Your MINIMAX_API_KEY is never written to the logs, including --debug output.
See also
- Authentication overview — the shared modes / scopes / defaults pattern jackin' applies across every auth axis.
- Z.AI (GLM Coding Plan) — the other Anthropic-compatible alternative provider.
- Kimi — Kimi's Anthropic-compatible coding endpoint.
- Environment Variables — how the operator env-vars model supplies credentials at global and per-workspace scope.