MiniMax
MiniMax is a supported AI provider in Clanker. It uses the MiniMax API, which is compatible with the Anthropic Messages API format.
Provider Details
| Property | Value |
|---|---|
| Config key | minimax |
| Default model | MiniMax-M2.5 |
| API endpoint | https://api.minimax.io/anthropic |
| Auth method | API key |
Configuration
yaml
ai:
default_provider: minimax
providers:
minimax:
model: MiniMax-M2.5
api_key_env: MINIMAX_API_KEYAvailable Models
| Model | Description |
|---|---|
MiniMax-M2.5 | Latest high-capability model |
MiniMax-M2.5-highspeed | Optimized for lower latency |
MiniMax-M2.1 | Previous generation model |
MiniMax-M2.1-highspeed | Previous generation, lower latency |
MiniMax-M2 | Earlier generation model |
Environment Variable
| Variable | Description |
|---|---|
MINIMAX_API_KEY | MiniMax API key |
CLI Flag Overrides
| Flag | Description |
|---|---|
--ai-profile minimax | Select this provider |
--minimax-key <key> | Override the API key for this query |
--minimax-model <model> | Override the model for this query |
Usage Example
bash
export MINIMAX_API_KEY="eyJ..."
clanker ask --ai-profile minimax "What RDS instances are running?"
# Use the high-speed variant
clanker ask --ai-profile minimax --minimax-model MiniMax-M2.5-highspeed "List EC2 instances"