Skip to content

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

PropertyValue
Config keyminimax
Default modelMiniMax-M2.5
API endpointhttps://api.minimax.io/anthropic
Auth methodAPI key

Configuration

yaml
ai:
  default_provider: minimax
  providers:
    minimax:
      model: MiniMax-M2.5
      api_key_env: MINIMAX_API_KEY

Available Models

ModelDescription
MiniMax-M2.5Latest high-capability model
MiniMax-M2.5-highspeedOptimized for lower latency
MiniMax-M2.1Previous generation model
MiniMax-M2.1-highspeedPrevious generation, lower latency
MiniMax-M2Earlier generation model

Environment Variable

VariableDescription
MINIMAX_API_KEYMiniMax API key

CLI Flag Overrides

FlagDescription
--ai-profile minimaxSelect 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"