ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
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-optimization
Or

Chenni Free API - 免费模型聚合指南

一站式发现、配置和管理多平台免费 AI 模型。支持智能分流和无感降级。

核心功能

  • 🆓 推荐模型:精选多平台免费模型列表
  • 🔍 自动发现:每日刷新 OpenRouter 可用免费模型
  • 🧠 智能分流:按任务类型选择最合适模型
  • 🔄 无感降级:主模型失败时自动 fallback 并自动回切

推荐免费模型

SiliconFlow(硅基流动)- 国内首选

模型 ID说明免费额度推荐用途
Qwen/Qwen3-8B通义千问 3 代 8B完全免费日常对话、通用任务
deepseek-ai/DeepSeek-R1-0528-Qwen3-8BDeepSeek R1 蒸馏版完全免费推理任务
THUDM/glm-4-9b-chat智谱 GLM-4完全免费中文理解
Qwen/Qwen2.5-Coder-7B-InstructQwen 编码专用完全免费代码生成

注册链接https://cloud.siliconflow.cn/i/hoxZec8I

OpenRouter - 国际平台

模型 ID说明价格推荐用途
google/gemini-3.1-flash-liteGemini Flash Lite~免费快速任务
qwen/qwen3.5-flash-02-23Qwen 3.5 Flash~免费预算选项
x-ai/grok-4.1-fastGrok Fast极低价工具调用

注册链接https://openrouter.ai/settings/keys

DeepSeek - 国产高性价比

模型免费额度特点
DeepSeek V3每天免费调用国产最强,日常首选
DeepSeek R1部分免费推理能力强

注册链接https://platform.deepseek.com/

智谱 GLM - 稳定可靠

模型免费额度特点
GLM-4每月 100 万 tokensAPI 稳定,中文优秀

注册链接https://open.bigmodel.cn/

NVIDIA NIM - 免费多模态

模型 ID上下文类型说明
qwen/qwen3.5-397b-a17b128ktext+imageQwen 3.5 大参数版本
stepfun-ai/step-3.5-flash256ktext+image阶跃星辰,超长上下文
moonshotai/kimi-k2.5256ktext+imageKimi,超长上下文
z-ai/glm4.7128ktext+image智谱 GLM 4.7
z-ai/glm5128ktext+image智谱 GLM 5
minimaxai/minimax-m2.5192ktext+imageMiniMax

注册链接https://build.nvidia.com


配置步骤

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

Author@chenni666
Stars3840
Views0
Updated2026-04-06
View Author Profile
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.