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.
- Step 6.
Optional: adjust Temperature and Max Output Tokens in model settings.
Caveats
- Roo Code's docs page does not list model ids. Roo Code's official repo (packages/types/src/providers/minimax.ts) hardcodes MiniMax-M2.5, MiniMax-M2.5-highspeed, MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2, MiniMax-M2-Stable, MiniMax-M2.1 and MiniMax-M2.1-highspeed, with minimaxDefaultModelId = "MiniMax-M2.7".
- MiniMax's current model list has only MiniMax-M3.1-Flash and MiniMax-M3, and neither is in Roo Code's hardcoded MiniMax list as of today. MiniMax's model list marks MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5, MiniMax-M2.5-highspeed, MiniMax-M2.1, MiniMax-M2.1-highspeed and MiniMax-M2 as retired. MiniMax says M Plan and Token Plan requests to M2.5 and M2.7 models are routed to M3.1 Flash from October 19, 2026 (the old names keep working), and pay-as-you-go access ends on November 18, 2026.
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.
What base URL does Roo Code use for MiniMax?
Point Roo Code at 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 November 8, 2026.
Sources
Last verified against 3 official pages.
- roocodeinc.github.iohttps://roocodeinc.github.io/Roo-Code/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.