5分钟上手 OpenClaw,国产 AI 模型配置指南
bash
# 检查 Node.js 版本(需要 18+)
node --version
# 检查系统信息
uname -a
bash
# macOS/Linux
curl -fsSL https://get.openclaw.ai | bash
# 或使用 npm
npm install -g openclaw
bash
# 获取 API Key:https://platform.deepseek.com/
openclaw configure --section ai --set deepseek.apiKey=YOUR_KEY
bash
# 获取 API Key:https://open.bigmodel.cn/
openclaw configure --section ai --set zhipu.apiKey=YOUR_KEY
bash
# 获取 API Key:https://dashscope.console.aliyun.com/
openclaw configure --section ai --set qwen.apiKey=YOUR_KEY
bash
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倍
bash
openclaw configure --section ai --set defaultModel=deepseek/deepseek-chat
bash
openclaw config list
openclaw logs需要人工安装配置?微信:[待补充]
作者:OpenClaw 中文社区 版本:1.0.0 更新:2026-03-26