Introduction
Running powerful AI models locally usually requires expensive GPU hardware. But what if you could access state-of-the-art models through the cloud — at a fraction of the cost?
In this guide, I'll show you two ways to use MiniMax M2.5 with OpenClaw:
- The easy way — Native OAuth (recommended)
- The alternative — Via Ollama Cloud
Why MiniMax M2.5?
MiniMax M2.5 is a standout open-source model:
- Top performance: #1 on Artificial Analysis intelligence index
- Coding superpower: 84.3% on HumanEval, excellent for agentic workflows
- Huge context: 128K tokens (200K for API)
- Ultra cheap: ~$0.30/M input tokens, ~$1.20/M output tokens
That's roughly 10-20x cheaper than Claude Opus 4.6 for comparable performance.
Option 1: The Easy Way — Native OAuth (Recommended)
This is the easiest method if you're setting up OpenClaw from scratch.
Setup
openclaw configure
# → Select provider: MiniMax
# → Log in with your MiniMax account (OAuth)
# → Done!That's it. OpenClaw automatically uses whatever tier you have on MiniMax (free, starter, plus, etc.).
How OAuth Works
- OpenClaw redirects you to MiniMax's login
- You authenticate with your MiniMax account
- OpenClaw gets an API key tied to your subscription
- No manual API key copying needed
Pricing with OAuth
Your cost depends on your MiniMax tier:
| Tier | Price | Limits |
|---|---|---|
| Free | $0 | 100 RPM, ~1,000 requests/day |
| Starter | $10/mo | 100 prompts/5h |
| Plus | $20/mo | 300 prompts/5h |
| Max | $50/mo | 1,000 prompts/5h |
The free tier works out of the box — just log in and start using it.
Option 2: Via Ollama Cloud
Use this if you already use Ollama or want an alternative to MiniMax's native API.
Pricing
| Plan | Price | What's Included |
|---|---|---|
| Free | $0 | Light usage (fine for testing) |
| Pro | $20/mo | Day-to-day development work |
| Max | $100/mo | Heavy sustained usage |
Setup Steps
-
Install Ollama from ollama.com/download
-
Sign in
ollama signin -
Pull the model
ollama pull minimax-m2.5:cloud -
Configure OpenClaw
{ "providers": { "ollama": { "apiBase": "http://localhost:11434", "models": ["minimax-m2.5:cloud"] } }, "models": { "defaults": { "provider": "ollama", "model": "minimax-m2.5:cloud" } } } -
Restart OpenClaw
openclaw gateway restart
Alternative: Direct API (No Local Ollama)
# Get your API key from https://ollama.com/settings/keys
export OLLAMA_API_KEY=your_api_key
curl https://ollama.com/api/chat \
-H "Authorization: Bearer $OLLAMA_API_KEY" \
-d '{
"model": "minimax-m2.5",
"messages": [{"role": "user", "content": "Hello!"}]
}'Comparison
| Feature | OAuth (Native) | Ollama Cloud |
|---|---|---|
| Setup | 1 command | More steps |
| Free tier | ✅ Yes (100 RPM) | ✅ Yes (limited) |
| API key needed | ❌ No | ⚠️ Yes |
| Local Ollama | ❌ No | ✅ Maybe |
| Flexibility | MiniMax only | Multiple models |
Which Should You Choose?
- New to OpenClaw? → Use OAuth (Option 1). It's easier and Just Works™.
- Already using Ollama? → Use Ollama Cloud (Option 2).
- Want redundancy? → Use both!
The Bottom Line
Both options are significantly cheaper than alternatives:
| Provider | Cost Comparison |
|---|---|
| MiniMax M2.5 | ~$0.30-1.20/M tokens |
| Claude Opus 4.6 | ~$5.00-25.00/M tokens |
| Savings | ~10-20x cheaper |
The free tiers exist but have real limits. For daily use, expect to spend $10-20/month. Still a fraction of what Claude or GPT cost.
Your wallet will thank you.