> 5分钟上手 OpenClaw,国产 AI 模型配置指南
# 检查 Node.js 版本(需要 18+)
node --version
# 检查系统信息
uname -a
# macOS/Linux
curl -fsSL https://get.openclaw.ai | bash
# 或使用 npm
npm install -g openclaw
# 获取 API Key:https://platform.deepseek.com/
openclaw configure --section ai --set deepseek.apiKey=YOUR_KEY
# 获取 API Key:https://open.bigmodel.cn/
openclaw configure --section ai --set zhipu.apiKey=YOUR_KEY
# 获取 API Key:https://dashscope.console.aliyun.com/
openclaw configure --section ai --set qwen.apiKey=YOUR_KEY
openclaw status
看到 ✓ AI: connected 就成功了!
| 模型 | 输入(每万tokens) | 输出(每万tokens) | 备注 |
|---|---|---|---|
| ------ | ------------------- | ------------------- | ------ |
| DeepSeek V3 | ¥0.27 | ¥1.08 | 最便宜,推荐 |
| 智谱 GLM-4 | ¥0.10 | ¥0.10 | 限时免费 |
| 通义千问 | ¥0.008 | ¥0.008 | 最便宜但限流 |
| GPT-4o | ¥17.5 | ¥52.5 | 贵150倍 |
openclaw configure --section ai --set defaultModel=deepseek/deepseek-chat
openclaw config list
openclaw logs需要人工安装配置?微信:[待补充]
作者:OpenClaw 中文社区
版本:1.0.0
更新:2026-03-26
共 1 个版本