MiniMax Provider
Access MiniMax M2 series models with 1M context window through API key authentication. Ideal for long-context tasks requiring extended document analysis.Overview
The MiniMax provider enables Claude Code to use MiniMax’s M2 series models via the Anthropic-compatible API. Requires an API key from the MiniMax platform. Provider Type: API Preset (not OAuth) Command:ccs api create <name> --preset mm
Supported Models:
- MiniMax-M2.5 (latest, 1M context)
- MiniMax-M2.5-lightning (fast variant, 1M context)
- MiniMax-M2.1 (1M context)
- MiniMax-M2.1-lightning (faster, 1M context)
- MiniMax-M2 (legacy)
Setup
Step 1: Get API Key
- Visit platform.minimax.io
- Create an account or sign in
- Navigate to API Keys section
- Generate a new API key
Step 2: Create Profile
Step 3: Use Profile
Commands
Basic Usage
Profile Management
Configuration
Profile stored at:~/.ccs/mm.settings.json
Available Models
| Model | Context | Speed | Best For |
|---|---|---|---|
| MiniMax-M2.5 | 1M tokens | Standard | Latest capabilities, deep analysis |
| MiniMax-M2.5-lightning | 1M tokens | Fast | Quick responses, latest generation |
| MiniMax-M2.1 | 1M tokens | Standard | Long documents, stable |
| MiniMax-M2.1-lightning | 1M tokens | Fast | Quick responses, large context |
| MiniMax-M2 | 200K tokens | Standard | Legacy, general use |
Model aliases are normalized automatically —
minimax-m2.5, MiniMax-M2.5, and minimax-M2.5 all resolve to the same model. CCS handles case and format differences transparently.Pricing
Pay-as-you-go pricing via MiniMax platform. Refer to MiniMax Pricing for current rates.Troubleshooting
Invalid API Key
Rate Limiting
MiniMax applies rate limits based on your account tier. Upgrade your account at platform.minimax.io if you encounter 429 errors.Next Steps
API Profiles
Learn about custom API profiles
Dashboard Config
Configure via web interface
