返回顶部
a

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。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
867
下载量
免费
免费
3
收藏
概述
安装方式
版本历史

add-siliconflow-provider

配置 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

  1. 1. 注册:https://cloud.siliconflow.cn/i/ihj5inat
  2. 进入控制台 → API 密钥 → 创建
  3. 复制 sk-xxx 格式的密钥

验证 API Key

bash
curl -s https://api.siliconflow.cn/v1/user/info \
-H Authorization: Bearer APIKEY> | 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-A3B0.7 / 2.8MoE 架构,性价比极高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-R14.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: 备份配置

bash
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.backup.$(date +%Y%m%d_%H%M%S)

Step 2: 添加 Provider

通过 gateway config.patch 添加 SiliconFlow provider。以下为推荐配置(8 个精选模型):

json
{
models: {
providers: {
siliconflow: {
baseUrl: https://api.siliconflow.cn/v1,
apiKey: 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:

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 add-siliconflow-provider-1-1776419933 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 add-siliconflow-provider-1-1776419933 技能

通过命令行安装

skillhub install add-siliconflow-provider-1-1776419933

下载

⬇ 下载 add-siliconflow-provider v1.0.0(免费)

文件大小: 5.29 KB | 发布时间: 2026-4-17 19:39

v1.0.0 最新 2026-4-17 19:39
Initial release: add SiliconFlow as a model provider for OpenClaw.

- Provides detailed steps to configure SiliconFlow, a leading domestic AI model inference platform, as a provider using the OpenAI API-compatible protocol.
- Includes recommended free and high-performance models (Qwen3, DeepSeek, Kimi, GLM, etc.), with suggested aliases for easy switching.
- Guides through provider registration, model definition, alias configuration, fallback integration, and verification.
- Supplies practical API usage examples for querying balance and available models, as well as testing model outputs.
- Emphasizes safety checks and backup tips to ensure stable deployment.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部