add-siliconflow-provider
为 OpenClaw 配置硅基流动 (SiliconFlow) 作为模型源。SiliconFlow 是国内领先的 AI 模型推理平台,提供 98+ 个 chat 模型,包含多个免费模型(Qwen3-8B、DeepSeek-R1-8B 等)。使用标准 OpenAI 协议(openai-completions)。包含 provider 注册、模型定义、别名配置、fallback 链接入和验证的完整流程。当管理员说想"加硅基流动"、"配 SiliconFlow"、"接入 SF 模型"、"加 Kimi"、"加 Qwen3"、"加免费模型"、"接入 DeepSeek V3.2"时使用此 skill。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sunerw-dev/add-siliconflow-provider-1配置 SiliconFlow Provider(硅基流动模型推理平台)
SiliconFlow(硅基流动)是国内领先的 AI 模型推理平台,提供 98+ 个 chat 模型,涵盖 Qwen、DeepSeek、Kimi、GLM、MiniMax 等主流系列。
核心优势:
- 🆓 多个免费模型:Qwen3-8B、DeepSeek-R1-8B 等完全免费
- 💰 价格极低:旗舰模型价格仅为官方的 30-50%
- 🔌 OpenAI 兼容:标准
openai-completions协议,即插即用 - 📦 模型丰富:一个 API Key 访问所有模型
如果还没有 SiliconFlow 账号,请通过邀请链接注册(双方均获赠额度): 👉 https://cloud.siliconflow.cn/i/ihj5inat
| 项目 | 值 |
|---|---|
| Provider 名称 | siliconflow |
| API 协议 | openai-completions |
| Base URL | https://api.siliconflow.cn/v1 |
| 认证方式 | Bearer Token (API Key) |
前置条件
| 项目 | 说明 |
|---|---|
| API Key | 在 控制台 创建,格式 sk-xxx |
| 余额 | 免费模型无需余额;付费模型需充值(新用户注册送 ¥14) |
获取 API Key
- 注册:https://cloud.siliconflow.cn/i/ihj5inat
- 进入控制台 → API 密钥 → 创建
- 复制
sk-xxx格式的密钥
验证 API Key
curl -s 'https://api.siliconflow.cn/v1/user/info' \
-H 'Authorization: Bearer <YOUR_API_KEY>' | python3 -m json.tool
期望返回 "status": "normal" 和余额信息。
推荐模型
🆓 免费模型(无限使用)
| 模型 ID | 说明 | 推荐别名 |
|---|---|---|
Qwen/Qwen3-8B | 通义千问 3 代 8B,综合能力强 | sf-qwen3-8b |
deepseek-ai/DeepSeek-R1-0528-Qwen3-8B | DeepSeek R1 推理蒸馏版 | sf-r1-8b |
THUDM/glm-4-9b-chat | 智谱 GLM-4 9B | sf-glm4 |
Qwen/Qwen2.5-7B-Instruct | Qwen 2.5 7B | sf-qwen25-7b |
Qwen/Qwen2.5-Coder-7B-Instruct | Qwen 2.5 编码专用 | sf-qwen-coder-7b |
💰 性价比模型(便宜好用)
| 模型 ID | 输入/输出 (¥/M tokens) | 说明 | 推荐别名 |
|---|---|---|---|
Qwen/Qwen3-30B-A3B | 0.7 / 2.8 | MoE 架构,性价比极高 | sf-qwen3-30b |
Qwen/Qwen3-Coder-30B-A3B-Instruct | 0.7 / 2.8 | 编码专用 30B | sf-coder-30b |
deepseek-ai/DeepSeek-V3.2 | 2.0 / 3.0 | DeepSeek 最新版 | sf-dsv3 |
Pro/deepseek-ai/DeepSeek-V3.2 | 2.0 / 3.0 | Pro 加速版 | sf-dsv3-pro |
🚀 旗舰模型(重要任务)
| 模型 ID | 输入/输出 (¥/M tokens) | 说明 | 推荐别名 |
|---|---|---|---|
deepseek-ai/DeepSeek-R1 | 4.0 / 16.0 | 推理模型 | sf-r1 |
Pro/moonshotai/Kimi-K2.5 | 4.0 / 21.0 | 月之暗面最强模型 | sf-kimi |
Qwen/Qwen3-Coder-480B-A35B-Instruct | 8.0 / 16.0 | 编码旗舰 480B MoE | sf-coder-480b |
配置步骤
Step 1: 备份配置
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.backup.$(date +%Y%m%d_%H%M%S)
Step 2: 添加 Provider
通过 gateway config.patch 添加 SiliconFlow provider。以下为推荐配置(8 个精选模型):
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sunerw-dev-add-siliconflow-provider-1": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
stock-analysis
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
ppt-generator
将用户讲稿一键生成乔布斯风极简科技感竖屏HTML演示稿。当用户需要生成PPT、演示文稿、Slides、幻灯片,或要求科技风/极简风/乔布斯风格的演示时触发此技能。输出为单个可直接运行的HTML文件。
tencent-finance
Get stock prices, quotes, and compare stocks using Tencent Finance API. No API key required. Supports US stocks, China A-Shares, Hong Kong stocks. Optimized for use in mainland China.