MiniMax M3 · prompting-guide
Turn Google Supplement: Integration Prompting for Official MiniMax M3 with Claude Code / OpenCode into an executable task with explicit inputs, environment, and boundaries; see the detail page for steps and limits.
Prepare a Token Plan key, Claude Code/OpenCode, a protected shell, and a fresh check of endpoint, plan, region, and model ID.
Configure ANTHROPIC_BASE_URL/ANTHROPIC_API_KEY or use OpenCode’s credential flow.
Use /status, /model, and /mcp to check URL, model, and connection.
Run a read-only task first; verify tool permissions, response shape, cost record, client version, and errors.
Verify only when status, model ID, and a minimal request pass; clear process environment and restart if the old endpoint remains, and stop writes when tool status is unknown.
The core configuration is official documentation; a Google discovery summary is not official text or proof of one-click Tabbit access.
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 API Docs; located through Google search results · Source date: Not disclosed · Edited: 2026-09-20
Read the original sourceMiniMax M3
Run this guide in the environment listed above. Downloading does not transfer the template or establish model availability for your account.