If you're thinking of running OpenClaw on your main PC, I'd strongly suggest using a VPS instead. Anything you can do on your PC, OpenClaw will be able to do on your PC, which is extremely risky if you have personal info on it.
A VPS is essentially just a fresh virtual PC. That way you're not risking any of your personal data and the VPS runs 24/7 so you'll have access to the bot whenever you want. It's also much cheaper than spending hundreds of dollars on a dedicated device like a Mac Mini.
The VPS provider that I use is Hostinger because it's the simplest one to set up and also one of the cheapest. If you use the link below you will get an extra 20% off.
π https://www.hostinger.com/self-hosted-n8n?REFERRALCODE=HOWTO20
Coupon code: HOWTO20
Minimax M2.5 has an Anthropic-compatible API, so it plugs straight into OpenClaw using the Anthropic provider with no extra tricks.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install node
node -vnpm install -g openclaw@latestopenclaw --versionopenclaw onboard --install-daemonFollow the wizard steps:
- Select "Yes, I understand this is inherently risky" β Enter
- Select Quick Start β Enter
- Providers: select Skip for now β Enter
- Select All Providers β then Keep current β Enter
- Select Telegram β Enter
- Go to Telegram, find @BotFather, send
/newbot, create your bot, and copy the access token - Paste your bot token β Enter
- Skills: press spacebar to deselect all β Enter
- Install the gateway service when prompted
- Select Do this later for hatching
- You should see "Onboarding complete" β press Ctrl+C to exit back to terminal
Go to platform.minimax.io β sign up with your email (you'll get some free credits).
Click Create New Secret Key, name it whatever you want (e.g. openclaw), and copy the key somewhere safe. You'll need it in the next step.
Replace YOUR_MINIMAX_API_KEY with the key you just created.
python3 -c "
import json
with open('/root/.openclaw/openclaw.json') as f:
cfg = json.load(f)
cfg['models'] = {'mode': 'merge', 'providers': {'minimax': {'baseUrl': 'https://api.minimax.io/anthropic', 'apiKey': 'YOUR_MINIMAX_API_KEY', 'api': 'anthropic-messages', 'models': [{'id': 'MiniMax-M2.5', 'name': 'Minimax M2.5', 'reasoning': False, 'input': ['text'], 'cost': {'input': 0, 'output': 0, 'cacheRead': 0, 'cacheWrite': 0}, 'contextWindow': 204800, 'maxTokens': 8192}]}}}
cfg['agents']['defaults']['model'] = {'primary': 'minimax/MiniMax-M2.5'}
cfg['agents']['defaults']['models'] = {'minimax/MiniMax-M2.5': {'alias': 'Minimax M2.5'}}
with open('/root/.openclaw/openclaw.json', 'w') as f:
json.dump(cfg, f, indent=2)
print('Done')
"You should see "Done" if it worked.
If you want the faster 100 tps variant instead, swap
MiniMax-M2.5withMiniMax-M2.5-highspeedin all three places above.
If you're not running as root, your config path might be
~/.openclaw/openclaw.jsoninstead. Runcat /root/.openclaw/openclaw.jsonfirst to confirm the file exists.
systemctl --user restart openclaw-gatewayopenclaw statusYou should see Minimax M2.5 listed as the active model. If you see security warnings, that's normal for local setups but should be addressed for anything production-facing.
- Open your Telegram bot chat and send any message
- The bot will reply with a pairing code and a command
- Copy the command, replace the code, and paste it in your terminal:
openclaw pairing approve telegram YOUR_PAIRING_CODEMake sure to remove any arrows/brackets from the code β just the plain code.
openclaw chatTry something like: Hello, introduce yourself briefly like a Texan cowboy.
If you get a response, you're all set. You can also message your Telegram bot directly β it's running Minimax M2.5 through OpenClaw.
If you don't have one yet, I use Hostinger for all my setups. Takes under a minute to get a clean Ubuntu server running. Use the link below for an extra 20% off.
π https://www.hostinger.com/self-hosted-n8n?REFERRALCODE=HOWTO20
Coupon code: HOWTO20