docs/minimax.md
MiniMax supports Coding Plan API tokens or web sessions. Web-session mode uses MiniMax browser/session state and falls back across the provider's supported web requests when needed.
Coding Plan API token
~/.codexbar/config.json), MINIMAX_CODING_API_KEY,
or MINIMAX_API_KEY.MINIMAX_CODING_API_KEY wins so a standard sk-api-* key does
not mask a coding-plan sk-cp-* key.Cached/imported browser session (automatic web path)
Browser cookie import (automatic)
Manual session cookie header (optional web-path override)
~/.codexbar/config.json via Preferences → Providers → MiniMax (Cookie source → Manual).Cookie: header or a full "Copy as cURL" string.MINIMAX_COOKIE or MINIMAX_COOKIE_HEADER.MINIMAX_HOST=platform.minimaxi.comMINIMAX_CODING_PLAN_URL=... (full URL override)MINIMAX_REMAINS_URL=... (full URL override)/v1/api/openplatform/coding_plan/remains.Cookie request header (or use “Copy as cURL” and paste the whole line).If the billing-history endpoint is unavailable but normal Coding Plan quota data is present, CodexBar still shows the quota card and omits the chart instead of treating the whole provider as failed.
Sources/CodexBarCore/Providers/MiniMax/MiniMaxUsageFetcher.swiftSources/CodexBarCore/Providers/MiniMax/MiniMaxProviderDescriptor.swiftSources/CodexBar/Providers/MiniMax/MiniMaxProviderImplementation.swift