Affordable AI with Ollama Cloud and MiniMax M2.5

Carlos Garavito||2 min read
aiopenclawollamaminimaxbudget

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:

  1. The easy way — Native OAuth (recommended)
  2. 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.

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

  1. OpenClaw redirects you to MiniMax's login
  2. You authenticate with your MiniMax account
  3. OpenClaw gets an API key tied to your subscription
  4. No manual API key copying needed

Pricing with OAuth

Your cost depends on your MiniMax tier:

TierPriceLimits
Free$0100 RPM, ~1,000 requests/day
Starter$10/mo100 prompts/5h
Plus$20/mo300 prompts/5h
Max$50/mo1,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

PlanPriceWhat's Included
Free$0Light usage (fine for testing)
Pro$20/moDay-to-day development work
Max$100/moHeavy sustained usage

Setup Steps

  1. Install Ollama from ollama.com/download

  2. Sign in

    ollama signin
  3. Pull the model

    ollama pull minimax-m2.5:cloud
  4. Configure OpenClaw

    {
      "providers": {
        "ollama": {
          "apiBase": "http://localhost:11434",
          "models": ["minimax-m2.5:cloud"]
        }
      },
      "models": {
        "defaults": {
          "provider": "ollama",
          "model": "minimax-m2.5:cloud"
        }
      }
    }
  5. 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

FeatureOAuth (Native)Ollama Cloud
Setup1 commandMore steps
Free tier✅ Yes (100 RPM)✅ Yes (limited)
API key needed❌ No⚠️ Yes
Local Ollama❌ No✅ Maybe
FlexibilityMiniMax onlyMultiple 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:

ProviderCost 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.