Setup guide - Documented by Roo Code
Use MiniMax in Roo Code
Roo Code has a native MiniMax provider (OpenAI-compatible): select 'MiniMax', choose the international base URL https://api.minimax.io/v1, enter the API key, and pick a model.
Last verified 6 steps3 official sources
Steps
- Step 1.
Open Roo Code Settings (gear icon).
- Step 2.
Select Provider: "MiniMax".
- Step 3.
Choose Base URL (region): International: https://api.minimax.io/v1 ; China (Mainland): https://api.minimaxi.com/v1
- Step 4.
Enter your API key in "MiniMax API Key".
- Step 5.
Select a model from the dropdown (Roo Code's default is MiniMax-M2.7).
- Step 6.
Optional: adjust Temperature and Max Output Tokens in model settings.
Caveats
- Roo Code's docs page does not list model ids; the ids and the default (minimaxDefaultModelId = "MiniMax-M2.7") come from Roo Code's official repo (packages/types/src/providers/minimax.ts).
- Roo Code's model list also contains MiniMax-M2, MiniMax-M2-Stable, MiniMax-M2.1 and MiniMax-M2.1-highspeed; MiniMax lists M2.1 and M2 as retired, so avoid them.
- MiniMax-M3 and MiniMax-M3.1-Flash-Preview are not in Roo Code's hardcoded MiniMax model list as of today.
More setup guides
Same tool, other providers
Related reading
- MiniMax M2.5 and M2.7 Retirement: How to Move to M3 Before November 18MiniMax closes M2.5 and M2.7 to new users on October 19, 2026 and retires them on November 18. Which model id to switch to, what it costs, and the exact API change.
- MiniMax H3: Omni-Modal Video, Native Audio, Open WeightsMiniMax H3 turns text, image, video and audio into video with native stereo sound. API from 0.80 CNY per second at 2K, and open weights are on Hugging Face.
- MiniMax M2.5 for Developers: The Anthropic-Compatible Budget Frontier ModelMiniMax M2.5 hits 80.2% on SWE-bench Verified and plugs into the Anthropic SDK with two environment variables. Here is what you need to know before switching.
FAQ
How do I use MiniMax in Roo Code?
Roo Code has a native MiniMax provider (OpenAI-compatible): select 'MiniMax', choose the international base URL https://api.minimax.io/v1, enter the API key, and pick a model.
Which MiniMax model ids work in Roo Code?
The official docs read for this guide list MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5 and MiniMax-M2.5-highspeed. Requests go to https://api.minimax.io/v1.
Is this an official MiniMax and Roo Code setup?
Roo Code documents this setup in its own docs. It was last checked against 3 official pages on October 17, 2026.
Sources
Last verified against 3 official pages.
- docs.roocode.comhttps://docs.roocode.com/providers/minimax
- raw.githubusercontent.comhttps://raw.githubusercontent.com/RooCodeInc/Roo-Code/main/packages/types/src/providers/minimax.ts
- platform.minimax.iohttps://platform.minimax.io/docs/faq/models.md
Newsletter
New models, set up the day they ship
One email per week. New model releases, the coding tools that support them and how to wire them up.