#Exact phrasing for backup models

1 messages Β· Page 1 of 1 (latest)

void oak
#

"agents": {
"defaults": {
"model": {
"primary": "anthropic/claude-sonnet-4-5-20250929"
},
"models": {
"anthropic/claude-opus-4-5-20251101": {},
"anthropic/claude-sonnet-4-5-20250929": {}
},
"workspace": "/Users/taurus/clawd",
"contextPruning": {
"mode": "adaptive"
}
}
},

I want to add minimax ONLY as a backup, it should only be called on when I've hit my limit on claude sonnet

reef phoenixBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution

sterile meadowBOT
# void oak "agents": { "defaults": { "model": { "primary": "anthropic/cla...

You need to add a fallbacks array to your model config. Here's the updated config:

"agents": {
  "defaults": {
    "model": {
      "primary": "anthropic/claude-sonnet-4-5-20250929",
      "fallbacks": ["minimax/MiniMax-M2.1"]
    },
    "models": {
      "anthropic/claude-sonnet-4-5-20250929": {},
      "anthropic/claude-opus-4-5-20251101": {},
      "minimax/MiniMax-M2.1": {}
    },
    "workspace": "/Users/taurus/clawd",
    "contextPruning": {
#
      "mode": "adaptive"
    }
  }
}

The fallbacks array specifies the backup models in order. When Claude Sonnet hits a rate limit, Clawdbot will automatically try the next model in the list β€” in this case minimax/MiniMax-M2.1.

Note: Make sure minimax/MiniMax-M2.1 is also added to the models object so Clawdbot recognizes it as a valid model option. 🦐

void oak
#

and then where does my minimax API key go

sterile meadowBOT
# void oak and then where does my minimax API key go

Add it in a providers section. Your config would look like:

{
  "providers": {
    "minimax": {
      "apiKey": "your-minimax-api-key"
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "anthropic/claude-sonnet-4-5-20250929",
        "fallbacks": ["minimax/MiniMax-M2.1"]
      },
      "models": {