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

Hairun Wicaksana

Hi, I just another vibecoder from Southeast Asia, currently based in Stockholm. Building startup experiments while keeping close to the KTH Innovation startup ecosystem. I focus on AI tools, automation, and fast product experiments, sharing the journey while turning ideas into working software.

Get in touch

Quickly communicate covalent niche markets for maintainable sources. Collaboratively harness resource sucking experiences whereas cost effective meta-services.