← 返回
沟通协作 Key 中文

Chinese LLM Router

Route OpenClaw chats to top Chinese LLMs with smart model selection, auto-fallback, cost tracking, and unified OpenAI-compatible API access.
将OpenClaw聊天路由至顶级中国大语言模型,支持智能模型选择、自动回退、成本追踪及统一的OpenAI兼容API访问。
xdd-xund
沟通协作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 1,495
下载
💾 39
安装
1
版本
#chinese#deepseek#doubao#glm#kimi#latest#llm#minimax#qwen#router#step

概述

Chinese LLM Router

Route your OpenClaw conversations to the best Chinese AI models — no config headaches, just pick and chat.

What It Does

Gives your OpenClaw instant access to all major Chinese LLMs through a single unified interface:

  • DeepSeek (V3.2 / R1) — Best open-source reasoning, dirt cheap
  • Qwen (Qwen3-Max / Qwen3-Max-Thinking / Qwen3-Coder-Plus) — Alibaba's flagship, strong all-rounder
  • GLM (GLM-5 / GLM-4.7) — Zhipu AI, top-tier coding & agent tasks
  • Kimi (K2.5 / K2.5-Thinking) — Moonshot AI, great for long context & vision
  • Doubao Seed 2.0 (Pro / Lite / Mini) — ByteDance, fast & cheap
  • MiniMax (M2.5) — Lightweight powerhouse, runs locally too
  • Step (3.5 Flash) — StepFun, blazing fast inference
  • Baichuan (Baichuan4-Turbo) — Strong Chinese language understanding
  • Spark (v4.0 Ultra) — iFlytek, speech & Chinese NLP specialist
  • Hunyuan (Turbo-S) — Tencent, WeChat ecosystem integration

Quick Start

Tell your OpenClaw:

Use DeepSeek V3.2 for this conversation

Or ask it to pick the best model:

Which Chinese model is best for coding? Switch to it.

Commands

CommandWhat it does
----------------------
list modelsShow all available Chinese LLMs with status
use Switch to a specific model
compare Compare capabilities & pricing
recommend Get model recommendation for a task type
test Send a test prompt to verify connectivity
statusCheck which models are currently accessible

Model Selection Guide

TaskRecommended ModelWhy
-----------------------------
General chatQwen3-MaxBest all-rounder, strong Chinese
CodingGLM-5 / Kimi K2.5Top coding benchmarks
Math & reasoningDeepSeek R1Purpose-built for reasoning
Long documentsKimi K2.5 (128K) / DeepSeek V3.2 (1M)Massive context windows
Fast & cheapStep 3.5 Flash / Doubao Seed 2.0 MiniSub-second latency
Creative writingQwen3-Max / Doubao Seed 2.0 ProRich Chinese expression
Agent tasksGLM-5 / Qwen3-MaxBest tool-use support

Configuration

The skill reads API keys from environment or from ~/.chinese-llm-router/config.json:

{
  "providers": {
    "deepseek": {
      "apiKey": "sk-xxx",
      "baseUrl": "https://api.deepseek.com/v1",
      "models": ["deepseek-chat", "deepseek-reasoner"]
    },
    "qwen": {
      "apiKey": "sk-xxx",
      "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
      "models": ["qwen3-max", "qwen3-max-thinking", "qwen3-coder-plus"]
    },
    "glm": {
      "apiKey": "xxx.xxx",
      "baseUrl": "https://open.bigmodel.cn/api/paas/v4",
      "models": ["glm-5", "glm-4-plus"]
    },
    "kimi": {
      "apiKey": "sk-xxx",
      "baseUrl": "https://api.moonshot.cn/v1",
      "models": ["kimi-k2.5", "kimi-k2.5-thinking"]
    },
    "doubao": {
      "apiKey": "xxx",
      "baseUrl": "https://ark.cn-beijing.volces.com/api/v3",
      "models": ["doubao-seed-2.0-pro", "doubao-seed-2.0-lite", "doubao-seed-2.0-mini"]
    },
    "minimax": {
      "apiKey": "xxx",
      "baseUrl": "https://api.minimax.chat/v1",
      "models": ["minimax-m2.5"]
    },
    "step": {
      "apiKey": "xxx",
      "baseUrl": "https://api.stepfun.com/v1",
      "models": ["step-3.5-flash"]
    },
    "baichuan": {
      "apiKey": "xxx",
      "baseUrl": "https://api.baichuan-ai.com/v1",
      "models": ["baichuan4-turbo"]
    },
    "spark": {
      "apiKey": "xxx",
      "baseUrl": "https://spark-api-open.xf-yun.com/v1",
      "models": ["spark-v4.0-ultra"]
    },
    "hunyuan": {
      "apiKey": "xxx",
      "baseUrl": "https://api.hunyuan.cloud.tencent.com/v1",
      "models": ["hunyuan-turbo-s"]
    }
  },
  "default": "qwen3-max",
  "fallback": ["deepseek-chat", "doubao-seed-2.0-pro"]
}

Setup

  1. Get API keys from the providers you want (most offer free tiers):
    • DeepSeek: https://platform.deepseek.com
    • Qwen (Alibaba): https://dashscope.console.aliyun.com
    • GLM (Zhipu): https://open.bigmodel.cn
    • Kimi (Moonshot): https://platform.moonshot.cn
    • Doubao (ByteDance): https://console.volcengine.com/ark
    • MiniMax: https://platform.minimaxi.com
    • Step (StepFun): https://platform.stepfun.com
    • Baichuan: https://platform.baichuan-ai.com
    • Spark (iFlytek): https://console.xfyun.cn
    • Hunyuan (Tencent): https://cloud.tencent.com/product/hunyuan
  1. Run the setup script:

```bash

node scripts/setup.js

```

  1. Done! Your OpenClaw can now use any configured model.

Pricing Reference (Feb 2026)

ModelInput (¥/M tokens)Output (¥/M tokens)Notes
------------------------------------------------------
DeepSeek V3.2¥0.5 (cache ¥0.1)¥2.0Cheapest flagship
Qwen3-Max¥2.0¥6.0Free tier available
GLM-5¥5.0¥5.0Just launched, may change
Kimi K2.5¥2.0¥6.0Open source, self-host free
Doubao Seed 2.0 Pro¥0.8¥2.0ByteDance subsidy
Doubao Seed 2.0 Mini¥0.15¥0.3Ultra cheap
MiniMax M2.5¥1.0¥3.0Can run locally
Step 3.5 Flash¥0.7¥1.4Fastest inference

Prices as of Feb 2026. All providers offer free tiers or credits for new users.

All APIs are OpenAI-Compatible

Every provider listed uses the OpenAI chat/completions format. No special SDKs needed — just change baseUrl and apiKey.

Features

  • Auto-fallback: If one provider is down, automatically try the next
  • Cost tracking: See per-model token usage and estimated cost
  • Smart routing: Describe your task, get the best model recommendation
  • Batch compare: Send the same prompt to multiple models, compare outputs
  • Context-aware: Remembers your model preference per conversation topic

Links

  • 🦐 Try our AI Plaza: https://ai.xudd-v.com
  • 📦 ClawHub: https://clawhub.ai/Xdd-xund/chinese-llm-router
  • 💬 Feedback: https://ai.xudd-v.com/connect.html

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 03:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,678
data-analysis

AI店长 - 电商助手

xdd-xund
AI店长为电商卖家提供竞品监控、爆款文案、客服话术、选品建议及每日数据分析,支持多平台内容生成。
★ 8 📥 3,165
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 113 📥 52,405