VM0VM0
Model Selection

MiniMax

Use MiniMax M2.1 model with VM0

MiniMax offers the M2.1 model with strong code understanding and multi-turn dialogue capabilities.

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    environment:
      ANTHROPIC_BASE_URL: "https://api.minimax.io/anthropic"
      ANTHROPIC_AUTH_TOKEN: "${{ secrets.MINIMAX_API_KEY }}"
      API_TIMEOUT_MS: "3000000"
      CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1"
      ANTHROPIC_MODEL: "MiniMax-M2.1"
      ANTHROPIC_SMALL_FAST_MODEL: "MiniMax-M2.1"
      ANTHROPIC_DEFAULT_SONNET_MODEL: "MiniMax-M2.1"
      ANTHROPIC_DEFAULT_OPUS_MODEL: "MiniMax-M2.1"
      ANTHROPIC_DEFAULT_HAIKU_MODEL: "MiniMax-M2.1"

Run

vm0 run my-agent "build a todo app" --secrets MINIMAX_API_KEY=xxx

Regional Endpoints

RegionEndpoint
Internationalhttps://api.minimax.io/anthropic
Chinahttps://api.minimaxi.com/anthropic

Available Models

ModelDescription
MiniMax-M2.1Code understanding and reasoning model