Back to Registry
View Author Profile
Official Verified
chenni-free-api
发现和配置免费/超低价 AI 模型,支持智能分流和无感降级。支持 SiliconFlow、NVIDIA NIM、OpenRouter、DeepSeek、智谱等多平台。当用户说'免费模型'、'省钱配置'、'加免费 API'、'find free models'、'配置免费模型'、'低成本模型'时触发
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chenni666/api-optimizationOr
Chenni Free API - 免费模型聚合指南
一站式发现、配置和管理多平台免费 AI 模型。支持智能分流和无感降级。
核心功能
- 🆓 推荐模型:精选多平台免费模型列表
- 🔍 自动发现:每日刷新 OpenRouter 可用免费模型
- 🧠 智能分流:按任务类型选择最合适模型
- 🔄 无感降级:主模型失败时自动 fallback 并自动回切
推荐免费模型
SiliconFlow(硅基流动)- 国内首选
| 模型 ID | 说明 | 免费额度 | 推荐用途 |
|---|---|---|---|
Qwen/Qwen3-8B | 通义千问 3 代 8B | 完全免费 | 日常对话、通用任务 |
deepseek-ai/DeepSeek-R1-0528-Qwen3-8B | DeepSeek R1 蒸馏版 | 完全免费 | 推理任务 |
THUDM/glm-4-9b-chat | 智谱 GLM-4 | 完全免费 | 中文理解 |
Qwen/Qwen2.5-Coder-7B-Instruct | Qwen 编码专用 | 完全免费 | 代码生成 |
注册链接:https://cloud.siliconflow.cn/i/hoxZec8I
OpenRouter - 国际平台
| 模型 ID | 说明 | 价格 | 推荐用途 |
|---|---|---|---|
google/gemini-3.1-flash-lite | Gemini Flash Lite | ~免费 | 快速任务 |
qwen/qwen3.5-flash-02-23 | Qwen 3.5 Flash | ~免费 | 预算选项 |
x-ai/grok-4.1-fast | Grok Fast | 极低价 | 工具调用 |
注册链接:https://openrouter.ai/settings/keys
DeepSeek - 国产高性价比
| 模型 | 免费额度 | 特点 |
|---|---|---|
| DeepSeek V3 | 每天免费调用 | 国产最强,日常首选 |
| DeepSeek R1 | 部分免费 | 推理能力强 |
注册链接:https://platform.deepseek.com/
智谱 GLM - 稳定可靠
| 模型 | 免费额度 | 特点 |
|---|---|---|
| GLM-4 | 每月 100 万 tokens | API 稳定,中文优秀 |
注册链接:https://open.bigmodel.cn/
NVIDIA NIM - 免费多模态
| 模型 ID | 上下文 | 类型 | 说明 |
|---|---|---|---|
qwen/qwen3.5-397b-a17b | 128k | text+image | Qwen 3.5 大参数版本 |
stepfun-ai/step-3.5-flash | 256k | text+image | 阶跃星辰,超长上下文 |
moonshotai/kimi-k2.5 | 256k | text+image | Kimi,超长上下文 |
z-ai/glm4.7 | 128k | text+image | 智谱 GLM 4.7 |
z-ai/glm5 | 128k | text+image | 智谱 GLM 5 |
minimaxai/minimax-m2.5 | 192k | text+image | MiniMax |
配置步骤
Step 1: 获取 API Keys
# SiliconFlow
export SILICONFLOW_API_KEY="sk-xxx"
# OpenRouter
export OPENROUTER_API_KEY="sk-or-v1-xxx"
# DeepSeek
export DEEPSEEK_API_KEY="sk-xxx"
# 智谱
export ZHIPU_API_KEY="xxx.xxx"
Step 2: 自动发现免费模型
node scripts/discover.js --platform all
Step 3: 生成 OpenClaw 配置
node scripts/configure.js --output ~/.openclaw/free-models.json
Step 4: 应用配置
# 备份原配置
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.backup
# 合并配置
openclaw config.patch < ~/.openclaw/free-models.json
# 重启生效
openclaw gateway restart
智能分流配置
按任务类型自动选择最优模型:
{
"agents": {
"defaults": {
"models": {
"routing": {
"coding": ["siliconflow/Qwen/Qwen2.5-Coder-7B-Instruct", "deepseek/deepseek-coder"],
"reasoning": ["siliconflow/deepseek-ai/DeepSeek-R1-0528-Qwen3-8B"],
"translation": ["siliconflow/THUDM/glm-4-9b-chat"],
"chat": ["siliconflow/Qwen/Qwen3-8B", "deepseek/deepseek-chat"],
"vision": ["openrouter/google/gemini-3.1-flash-lite"]
}
}
}
}
}
无感降级配置
主模型失败时自动切换到备用模型:
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chenni666-api-optimization": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.