In Claude Code, point the compatibility layer to MiniMax with environment variables. After connecting, use /status to check ANTHROPIC_BASE_URL and /model to confirm that the current model is MiniMax-M3.
In OpenCode, run opencode auth login, select MiniMax Token Plan (minimax.io), and enter the official API key. After starting, use /mcp to check the connection status.
For M3 task prompts, prioritize overriding the default agent scaffolding: state the task description, constraints, tool rules, and output protocol clearly at the beginning.
The Google AI Overview’s summary of the official documentation also extracted four points: define task parameters clearly; explicitly specify when tools should and should not be used; synthesize multi-turn tool results step by step; and, when visual input is needed, explicitly use understand_image.
export ANTHROPIC_BASE_URL="https://minimax.io"
export ANTHROPIC_API_KEY="your_minimax_token_plan_api_key"/status — Confirms that ANTHROPIC_BASE_URL is pointing directly to MiniMax servers.
/model — Verifies that the active engine driving your workspace is explicitly marked as MiniMax-M3.opencode auth login
opencodeAfter startup:
/mcp — Check the active “MiniMax connected” status flag.Original Google AI Overview summary:
Effective prompting for MiniMax M3 requires overriding agent scaffolding defaults and clearly defining constraints for t… This is a necessary excerpt; read the original source for full context.
Original entry points on the MiniMax official documentation pages:
Claude Code — MiniMax API Docs Other Tools — MiniMax API Docs
The Google AI Overview is not the official source text; configuration and commands should follow the MiniMax official pages. Environment variables, plans, regions, and versions may change, so check the official documentation again before execution.
MiniMax M3