Change OpenClaw Agent Model on Clawdbot

Option 1 (recommended): Change the agent default via CLI

  1. Set the primary model:
    
    openclaw config set agents.defaults.model.primary "anthropic/claude-opus-4-5"
    openclaw config set agents.defaults.model.secondary "anthropic/claude-3-5-haiku-latest"
    
    openclaw doctor --fix
          
  2. Restart the gateway:
    
    openclaw gateway
          
  3. Confirm in logs you see:
    
    [gateway] agent model: anthropic/claude-opus-4-5
          

Verify

Important Note

Optional Next Steps