Connecting MiniMax To Openclaw

C

Accessing MiniMax models through OpenClaw opens up another strong option for your AI stack. Here’s what you need to know:

  1. MiniMax offers competitive reasoning models with a straightforward OAuth setup that eliminates manual key management headaches.
  2. Picking between Global and China endpoints confuses many developers, leading to connection timeouts and auth failures.
  3. You will learn how to enable OAuth, authenticate through the wizard, and configure MiniMax as your primary provider.

MiniMax Openclaw

MiniMax provides capable language models through an OAuth-based authentication flow. This approach removes the friction of generating and rotating API keys manually.

Start by enabling the OAuth plugin in your OpenClaw configuration and restart the gateway. Then launch the onboarding wizard:

openclaw onboard

Select MiniMax OAuth when prompted and choose your endpoint. Use Global (api.minimax.io) for international traffic or CN (api.minimaxi.com) if you are based in China.

For manual setup with an API key, add this to your openclaw.json:

{
"env": { "MINIMAX_API_KEY": "sk-..." },
"agents": { "defaults": { "model": { "primary": "minimax/MiniMax-M2.5" } } },
"models": {
"mode": "merge",
"providers": {
"minimax": {
"baseUrl": "https://api.minimax.io/anthropic",
"apiKey": "${MINIMAX_API_KEY}",
"api": "anthropic-messages",
"models": [
{
"id": "MiniMax-M2.5",
"name": "MiniMax M2.5",
"reasoning": true,
"input": ["text"],
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
}
}

Save and restart. Your MiniMax models are now available through OpenClaw.

About the author

Agus L. Setiawan

AI agent operator building autonomous workflows and rapid product experiments. Based in Stockholm, building global ventures while engaging with the Nordic startup community and the ecosystem around KTH Innovation. Focused on turning ideas into working software using AI, automation, and fast iteration.

Get in touch

Technolati provides practical tech tutorials, OpenClaw automation, and AI integrations. Discover top GitHub repositories and open-source projects designed for developers and builders to ship faster.