为 OpenClaw 配置硅基流动 (SiliconFlow) 作为模型源。SiliconFlow 是国内领先的 AI 模型推理平台,提供 98+ 个 chat 模型,包含多个免费模型(Qwen3-8B、DeepSeek-R1-8B 等)。使用标准 OpenAI 协议(openai-completions)。包含 provider 注册、模型定义、别名配置、fallback 链接入和验证的完整流程。当管理员说想"加硅基流动"、"配 SiliconFlow"、"接入 SF 模型"、"加 Kimi"、"加 Qwen3"、"加免费模型"、"接入 DeepSeek V3.2"时使用此 skill。
SiliconFlow(硅基流动)是国内领先的 AI 模型推理平台,提供 98+ 个 chat 模型,涵盖 Qwen、DeepSeek、Kimi、GLM、MiniMax 等主流系列。
核心优势:
如果还没有 SiliconFlow 账号,请通过邀请链接注册(双方均获赠额度):
👉 https://cloud.siliconflow.cn/i/ihj5inat
| 项目 | 值 |
|---|---|
| Provider 名称 | siliconflow |
| API 协议 |
| 项目 | 说明 |
|---|---|
| API Key | 在 控制台 创建,格式 sk-xxx |
| 余额 |
bash
curl -s https://api.siliconflow.cn/v1/user/info \
-H Authorization: Bearer
期望返回 status: normal 和余额信息。
| 模型 ID | 说明 | 推荐别名 |
|---|---|---|
| Qwen/Qwen3-8B | 通义千问 3 代 8B,综合能力强 | sf-qwen3-8b |
| deepseek-ai/DeepSeek-R1-0528-Qwen3-8B |
| 模型 ID | 输入/输出 (¥/M tokens) | 说明 | 推荐别名 |
|---|---|---|---|
| Qwen/Qwen3-30B-A3B | 0.7 / 2.8 | MoE 架构,性价比极高 | sf-qwen3-30b |
| Qwen/Qwen3-Coder-30B-A3B-Instruct |
| 模型 ID | 输入/输出 (¥/M tokens) | 说明 | 推荐别名 |
|---|---|---|---|
| deepseek-ai/DeepSeek-R1 | 4.0 / 16.0 | 推理模型 | sf-r1 |
| Pro/moonshotai/Kimi-K2.5 |
bash
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.backup.$(date +%Y%m%d_%H%M%S)
通过 gateway config.patch 添加 SiliconFlow provider。以下为推荐配置(8 个精选模型):
json
{
models: {
providers: {
siliconflow: {
baseUrl: https://api.siliconflow.cn/v1,
apiKey:
api: openai-completions,
models: [
{
id: Qwen/Qwen3-8B,
name: Qwen3 8B (Free),
reasoning: false,
input: [text],
cost: {input: 0, output: 0, cacheRead: 0, cacheWrite: 0},
contextWindow: 32768,
maxTokens: 8192
},
{
id: deepseek-ai/DeepSeek-R1-0528-Qwen3-8B,
name: DeepSeek R1 Qwen3 8B (Free),
reasoning: true,
input: [text],
cost: {input: 0, output: 0, cacheRead: 0, cacheWrite: 0},
contextWindow: 32768,
maxTokens: 8192
},
{
id: Qwen/Qwen3-30B-A3B,
name: Qwen3 30B MoE,
reasoning: false,
input: [text],
cost: {input: 0.7, output: 2.8, cacheRead: 0, cacheWrite: 0},
contextWindow: 32768,
maxTokens: 8192
},
{
id: Qwen/Qwen3-Coder-30B-A3B-Instruct,
name: Qwen3 Coder 30B,
reasoning: false,
input: [text],
cost: {input: 0.7, output: 2.8, cacheRead: 0, cacheWrite: 0},
contextWindow: 32768,
maxTokens: 8192
},
{
id: deepseek-ai/DeepSeek-V3.2,
name: DeepSeek V3.2,
reasoning: false,
input: [text],
cost: {input: 2.0, output: 3.0, cacheRead: 0, cacheWrite: 0},
contextWindow: 128000,
maxTokens: 8192
},
{
id: deepseek-ai/DeepSeek-R1,
name: DeepSeek R1,
reasoning: true,
input: [text],
cost: {input: 4.0, output: 16.0, cacheRead: 0, cacheWrite: 0},
contextWindow: 128000,
maxTokens: 8192
},
{
id: Pro/moonshotai/Kimi-K2.5,
name: Kimi K2.5,
reasoning: false,
input: [text],
cost: {input: 4.0, output: 21.0, cacheRead: 0, cacheWrite: 0},
contextWindow: 128000,
maxTokens: 8192
},
{
id: Qwen/Qwen3-Coder-480B-A35B-Instruct,
name: Qwen3 Coder 480B,
reasoning: false,
input: [text],
cost: {input: 8.0, output: 16.0, cacheRead:
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 add-siliconflow-provider-1-1776419933 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 add-siliconflow-provider-1-1776419933 技能
skillhub install add-siliconflow-provider-1-1776419933
文件大小: 5.29 KB | 发布时间: 2026-4-17 19:39