Claude Code is Anthropic’s official terminal-native coding agent powered by Claude.
Install Claude Code
You can skip this section when using the setup wizard below. If it cannot find theclaude command, it offers to run the official Claude Code installer.
Refer to the Claude Code documentation for installation.
Configure MiniMax API
- Option 1: Setup wizard
- Option 2: Edit the settings file
- Option 3: Use CC Switch
Run:Select Claude Code. If Claude Code isn’t installed, select it again when prompted to choose which tools to install. The wizard runs the official installer, checks
claude --version, updates ~/.claude/settings.json, and adds the MiniMax model list.See MiniMax CLI for command options and backup behavior.Verify the configuration
After startingclaude, run the following slash commands inside the TUI to confirm Claude Code is using MiniMax instead of the default Claude provider:
/statusshould show theANTHROPIC_BASE_URLpointing toapi.minimax.io/anthropic./modelshould show the active model asMiniMax-M3.1-Flash.
How to adjust reasoning effort
How to adjust reasoning effort
Thinking is always enabled for MiniMax-M3.1-Flash and cannot be disabled. Reasoning effort controls thinking depth. Choose from
low, medium, high, xhigh, or max. Higher reasoning effort can increase response time and usage.- Default level: set by
CLAUDE_CODE_EFFORT_LEVELinenvof~/.claude/settings.json. The Option 2 and Option 3 examples set it tomax. When it is not set, Claude Code useshigh. - Switch during a session: run
/effortto pick a level, or run/effort <level>directly, for example/effort low. You can also start withclaude --effort <level>, which applies to that session only. WhileCLAUDE_CODE_EFFORT_LEVELis set,/effortin a session has no effect; remove the variable first if you want to switch in a session. - Some Claude Code versions send
xhighashigh; usemaxif you need deeper thinking. - Settings that turn thinking off, such as
MAX_THINKING_TOKENS=0or"alwaysThinkingEnabled": false, have no effect on MiniMax-M3.1-Flash; the model still thinks.