我的 OpenClaw 配置与使用体验

AI 时代程序员必备技能

Codex、Claude Code、Cursor、Hermes Agent、OpenClaw等工程化实战专栏 ,讲透 AI 如何接管脏活累活

我的 OpenClaw 配置与使用体验

一、缘起与背景

上个星期天,我在闲置已久的 ECS 服务器上成功安装了我的数字助手 —— OpenClaw

错过了阿里的 Code Plan 优惠活动,没买到低配版,只剩下高配方案。考虑到我只是觉得好玩试试,没什么高强度任务要跑,实在没必要花几百块,所以就没上车。


二、模型选择与使用体验

我选用的模型是 qwen3.5-plus

✅ 做得好的地方

  • 网站修复:我的ECS服务器 上有个网站,之前配置改来改去出了问题,让它帮忙修复,完成得很不错。
  • 写博客:让它帮我写博客并直接发布到网站上,也完成得很好。

❌ 遇到的小问题

  • 工具调用失败:让它查询机票并给我截图,结果没成功。估计是 ECS 配置太低了,导致调用工具失败。
  • 指令“后遗症”:我让它每次接任务时先回复【收到】,再去执行和回答。结果之后所有回答都回复两遍,而且改不回去了😂

三、功能总结

低配云服务器 + OpenClaw,完全可以当一个称职的数字助手,能做的事情包括:

  • 写文章
  • 维护网站
  • 查询机票、天气
  • 盯盘
  • 定时任务

四、费用情况

OpenClaw 的 token 消耗真的很快,不知不觉就用完了。

  • 花了 10 元 买了【入门型 AI 通用节省计划】
  • 用了不到一周
  • 调用总次数:339 次
  • Token 总数:12,035K tokens
  • 下个月还得再付 10 元 😅

五、尝试接入硅基流动 API

之前硅基流动推广时攒了不少优惠券,想着别浪费了,就打算把 OpenClaw 接入硅基流动的 API。

踩坑记录

  • 阿里云上的一键安装针对自家模型,如果用百炼的 Code Plan 就很省事。
  • 想用其他 API,就必须手动改写配置文件
  • 花了点功夫,整理出了一份硅基流动配置文件,供有需要的朋友参考。

(配置文件附后)


六、一点小期待

真心希望手机里的系统 AI 助手也能像 OpenClaw 一样灵活强大。不过我相信,不久的将来就会实现的!


附:阿里百炼配置文件

{
  "meta": {
    ...省略...
  },
  "wizard": {
    ...省略...
  },
  "browser": {
    ...省略...
  },
  "models": {
    "mode": "merge",
    "providers": {
      "dashscope": {
        "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
        "apiKey": "sk-...省略...",
        "api": "openai-completions",
        "models": [
          {
            "id": "qwen3.5-plus",
            "name": "Qwen3.5 Plus",
            "reasoning": true,
            "input": [
              "text",
              "image"
            ],
            "contextWindow": 1000000,
            "maxTokens": 65536,
            "compat": {
              "supportsDeveloperRole": false,
              "supportsStrictMode": false,
              "thinkingFormat": "qwen"
            }
          },
          {
            "id": "qwen3-max-2026-01-23",
            "name": "Qwen3 Max Thinking",
            "reasoning": true,
            "contextWindow": 262144,
            "maxTokens": 65536,
            "compat": {
              "supportsDeveloperRole": false,
              "supportsStrictMode": false,
              "thinkingFormat": "qwen"
            }
          },
          {
            "id": "qwen3-coder-next",
            "name": "Qwen3 Coder Next",
            "reasoning": false,
            "contextWindow": 262144,
            "maxTokens": 65536
          },
          {
            "id": "MiniMax-M2.5",
            "name": "MiniMax-M2.5",
            "reasoning": true,
            "contextWindow": 204800,
            "maxTokens": 131072,
            "compat": {
              "supportsDeveloperRole": false,
              "supportsStrictMode": false,
              "thinkingFormat": "qwen"
            }
          },
          {
            "id": "qwen3-coder-plus",
            "name": "Qwen3 Coder Plus",
            "reasoning": false,
            "contextWindow": 1000000,
            "maxTokens": 65536
          },
          {
            "id": "glm-5",
            "name": "GLM-5",
            "reasoning": true,
            "contextWindow": 202752,
            "maxTokens": 16384,
            "compat": {
              "supportsDeveloperRole": false,
              "supportsStrictMode": false,
              "thinkingFormat": "qwen"
            }
          },
          {
            "id": "glm-4.7",
            "name": "GLM-4.7",
            "reasoning": true,
            "contextWindow": 169984,
            "maxTokens": 16384,
            "compat": {
              "supportsDeveloperRole": false,
              "supportsStrictMode": false,
              "thinkingFormat": "qwen"
            }
          },
          {
            "id": "kimi-k2.5",
            "name": "Kimi K2.5",
            "reasoning": true,
            "input": [
              "text",
              "image"
            ],
            "contextWindow": 262144,
            "maxTokens": 262144,
            "compat": {
              "supportsDeveloperRole": false,
              "supportsStrictMode": false,
              "thinkingFormat": "qwen"
            }
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "dashscope/qwen3.5-plus"
      }
    }
  },
  "tools": {
     ...省略...
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true,
    "ownerDisplay": "raw"
  },
  "channels": {
    "clawdbot-dingtalk": {
      ...省略...
    }
  },
  "gateway": {
    "mode": "local",
    "port": 18789,
    "bind": "loopback",
    "auth": {
      "mode": "token",
      "token": "...省略..."
    },
    "tailscale": {
      "mode": "off",
      "resetOnExit": false
    },
    "http": {
      "endpoints": {
        "chatCompletions": {
          "enabled": true
        }
      }
    }
  },
  "plugins": {
    "load": {
      ...省略...
    },
    "entries": {
      "clawdbot-dingtalk": {
        "enabled": true
      }
    },
    "allow": [
      "clawdbot-dingtalk"
    ]
  }
}

附:硅基流动配置文件

{
  "channels": {
      ...省略...
  },
  "plugins": {
    "entries": {
      "clawdbot-dingtalk": {
        "enabled": true
      }
    },
      ...省略...
  },
  "gateway": {
    "mode": "local",
    "port": 18789,
    "bind": "loopback",
    "auth": {
      "mode": "token",
      "token": "gateway_token....自己生成的"
    },
    "http": {
      "endpoints": {
        "chatCompletions": {
          "enabled": true
        }
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "siliconflow/deepseek-ai/DeepSeek-V3"
      }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "siliconflow": {
        "baseUrl": "https://api.siliconflow.cn/v1",
        "apiKey": "sk-...自己的apikey",
        "api": "openai-completions",
        "models": [
          {
            "id": "deepseek-ai/DeepSeek-V3",
            "name": "DeepSeek V3 (主力)"
          },
          {
            "id": "Pro/zai-org/GLM-5",
            "name": "GLM-5 (备用)"
          }
        ]
      }
    }
  },
  "tools": {
      ...省略...
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true,
    "ownerDisplay": "raw"
  },
  "browser": {
      ...省略...
  }
}

AI 时代程序员必备技能

Codex、Claude Code、Cursor、Hermes Agent、OpenClaw等工程化实战专栏 ,讲透 AI 如何接管脏活累活

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值