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.1 (default, 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.1 | 1M tokens | Standard | Long documents, deep analysis |
| MiniMax-M2.1-lightning | 1M tokens | Fast | Quick responses, large context |
| MiniMax-M2 | 200K tokens | Standard | General use |
