OpenClaw 免费模型配置指南
教你用免费的 AI 模型,降低成本。
免费模型推荐
| 模型 | 免费额度 | 特点 |
|---|---|---|
| DeepSeek V3 | 每天免费调用 | 国产最强,日常首选 |
| GLM-4 | 每月免费额度 | 智谱清言,API 稳定 |
| Claude Haiku | 注册送 $5 | 编程辅助 |
| GPT-4o-mini | 注册送 $5 | 多模态 |
配置方法
1. DeepSeek(推荐)
# 注册:https://platform.deepseek.com/
# 获取 API Key
openclaw config set model deepseek-chat
openclaw config set api_key sk-xxx
免费额度:每天 10 次调用(足够日常使用)
2. GLM-4
# 注册:https://open.bigmodel.cn/
# 获取 API Key
openclaw config set model glm-4
openclaw config set api_key xxx.xxx
免费额度:每月 100 万 tokens
3. Claude(编程推荐)
# 注册:https://console.anthropic.com/
# 获取 API Key
openclaw config set model claude-3-haiku
openclaw config set api_key sk-ant-xxx
免费额度:注册送 $5
4. GPT-4o-mini
# 注册:https://platform.openai.com/
# 获取 API Key
openclaw config set model gpt-4o-mini
openclaw config set api_key sk-xxx
免费额度:注册送 $5
省钱策略
分层使用
# ~/.openclaw/config.yaml
models:
simple: "gpt-4o-mini" # 简单问答(免费额度)
normal: "deepseek-chat" # 日常对话(每天免费)
complex: "claude-haiku" # 编程任务($5 额度)
切换模型
# 查看当前模型
openclaw config get model
# 临时切换
openclaw ask "问题" --model deepseek-chat
成本对比
场景:每天 100 条消息
| 模型 | 月成本 |
|---|---|
| DeepSeek(免费额度) | ¥0 |
| GPT-4o | ¥90 |
| Claude Sonnet | ¥180 |
DeepSeek 免费额度足够日常使用!
常见问题
Q: DeepSeek 免费额度用完了怎么办?
A: 第二天自动重置,或切换到 GLM-4(每月 100 万 tokens)
Q: 如何查看剩余额度?
# DeepSeek
curl https://api.deepseek.com/user/balance -H "Authorization: Bearer $API_KEY"
# GLM
curl https://open.bigmodel.cn/api/paas/v4/balance -H "Authorization: Bearer $API_KEY"
Q: 免费模型够用吗?
日常对话:完全够用 复杂任务:用 Claude Haiku($5 额度能用很久)
需要帮助?
- 免费配置咨询:微信 yang1002378395
- Telegram:@yangster151
- 安装服务:¥99 起
创建:2026-03-14