docs(providers): document ClawRouter integration · openclaw/openclaw@c83c37b
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -381,6 +381,11 @@
|
381 | 381 | - changed-files: |
382 | 382 | - any-glob-to-any-file: |
383 | 383 | - "extensions/anthropic/**" |
| 384 | +"extensions: clawrouter": |
| 385 | + - changed-files: |
| 386 | + - any-glob-to-any-file: |
| 387 | + - "extensions/clawrouter/**" |
| 388 | + - "docs/providers/clawrouter.md" |
384 | 389 | "extensions: cloudflare-ai-gateway": |
385 | 390 | - changed-files: |
386 | 391 | - any-glob-to-any-file: |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1418,6 +1418,7 @@
|
1418 | 1418 | "providers/cerebras", |
1419 | 1419 | "providers/chutes", |
1420 | 1420 | "providers/claude-max-api-proxy", |
| 1421 | +"providers/clawrouter", |
1421 | 1422 | "providers/cloudflare-ai-gateway", |
1422 | 1423 | "providers/comfy", |
1423 | 1424 | "providers/deepgram", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -51,7 +51,7 @@ Each entry lists the package, distribution route, and description.
|
51 | 51 | |
52 | 52 | ## Core npm package |
53 | 53 | |
54 | | -90 plugins |
| 54 | +91 plugins |
55 | 55 | |
56 | 56 | - **[admin-http-rpc](/plugins/reference/admin-http-rpc)** (`@openclaw/admin-http-rpc`) - included in OpenClaw. OpenClaw admin HTTP RPC endpoint. |
57 | 57 | |
@@ -75,6 +75,8 @@ Each entry lists the package, distribution route, and description.
|
75 | 75 | |
76 | 76 | - **[chutes](/plugins/reference/chutes)** (`@openclaw/chutes-provider`) - included in OpenClaw. Adds Chutes model provider support to OpenClaw. |
77 | 77 | |
| 78 | +- **[clawrouter](/plugins/reference/clawrouter)** (`@openclaw/clawrouter-provider`) - included in OpenClaw. Adds ClawRouter model provider support to OpenClaw. |
| 79 | + |
78 | 80 | - **[clickclack](/plugins/reference/clickclack)** (`@openclaw/clickclack`) - included in OpenClaw. Adds the Clickclack channel surface for sending and receiving OpenClaw messages. |
79 | 81 | |
80 | 82 | - **[cloudflare-ai-gateway](/plugins/reference/cloudflare-ai-gateway)** (`@openclaw/cloudflare-ai-gateway-provider`) - included in OpenClaw. Adds Cloudflare AI Gateway model provider support to OpenClaw. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,5 +15,5 @@ This page is generated from `extensions/*/package.json` and
|
15 | 15 | pnpm plugins:inventory:gen |
16 | 16 | ``` |
17 | 17 | |
18 | | -Use [Plugin inventory](/plugins/plugin-inventory) to browse all 127 |
| 18 | +Use [Plugin inventory](/plugins/plugin-inventory) to browse all 128 |
19 | 19 | generated plugin reference pages by distribution, package, and description. |
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +--- |
| 2 | +summary: "Adds ClawRouter model provider support to OpenClaw." |
| 3 | +read_when: |
| 4 | + - You are installing, configuring, or auditing the clawrouter plugin |
| 5 | +title: "ClawRouter plugin" |
| 6 | +--- |
| 7 | + |
| 8 | +# ClawRouter plugin |
| 9 | + |
| 10 | +Adds ClawRouter model provider support to OpenClaw. |
| 11 | + |
| 12 | +## Distribution |
| 13 | + |
| 14 | +- Package: `@openclaw/clawrouter-provider` |
| 15 | +- Install route: included in OpenClaw |
| 16 | + |
| 17 | +## Surface |
| 18 | + |
| 19 | +providers: clawrouter |
| 20 | + |
| 21 | +## Related docs |
| 22 | + |
| 23 | +- [clawrouter](/providers/clawrouter) |
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +--- |
| 2 | +summary: "Use one managed ClawRouter key to access approved providers in OpenClaw" |
| 3 | +title: "ClawRouter" |
| 4 | +read_when: |
| 5 | + - You have a ClawRouter proxy key |
| 6 | + - Your team centrally manages provider access and grants |
| 7 | + - You want OpenClaw to discover only the models you can use |
| 8 | +--- |
| 9 | + |
| 10 | +ClawRouter gives OpenClaw one managed credential for approved model providers. |
| 11 | +The upstream API keys, OAuth grants, and subscription credentials stay in |
| 12 | +ClawRouter. |
| 13 | + |
| 14 | +## Setup |
| 15 | + |
| 16 | +Authenticate with the proxy key issued by your ClawRouter administrator: |
| 17 | + |
| 18 | +```bash |
| 19 | +openclaw onboard --auth-choice clawrouter-api-key |
| 20 | +``` |
| 21 | + |
| 22 | +Or provide it through the environment: |
| 23 | + |
| 24 | +```bash |
| 25 | +export CLAWROUTER_API_KEY="clawrouter-live-..." |
| 26 | +``` |
| 27 | + |
| 28 | +OpenClaw asks `https://clawrouter.openclaw.ai/v1/catalog` for the models granted |
| 29 | +to that key and caches the credential-scoped result for a short period. Model |
| 30 | +references keep the ClawRouter provider prefix: |
| 31 | + |
| 32 | +```bash |
| 33 | +openclaw models list --provider clawrouter |
| 34 | +openclaw models set clawrouter/openai/gpt-5.5-mini |
| 35 | +``` |
| 36 | + |
| 37 | +ClawRouter publishes the real transport for each model. OpenClaw uses the |
| 38 | +unified OpenAI route when available and the provider-native Anthropic or Gemini |
| 39 | +route when required. |
| 40 | + |
| 41 | +## Custom deployment |
| 42 | + |
| 43 | +For a self-hosted ClawRouter, configure its API base URL: |
| 44 | + |
| 45 | +```json5 |
| 46 | +{ |
| 47 | + models: { |
| 48 | + providers: { |
| 49 | + clawrouter: { |
| 50 | + baseUrl: "https://clawrouter.example/v1", |
| 51 | + }, |
| 52 | + }, |
| 53 | + }, |
| 54 | +} |
| 55 | +``` |
| 56 | + |
| 57 | +The proxy key still determines which providers and models are visible and |
| 58 | +usable. Grant changes appear after the short discovery cache expires. |
| Original file line number | Diff line number | Diff line change |
|---|
@@ -33,6 +33,7 @@ Looking for chat channel docs (WhatsApp/Telegram/Discord/Slack/Mattermost (plugi
|
33 | 33 | - [BytePlus (International)](/concepts/model-providers#byteplus-international) |
34 | 34 | - [Cerebras](/providers/cerebras) |
35 | 35 | - [Chutes](/providers/chutes) |
| 36 | +- [ClawRouter](/providers/clawrouter) |
36 | 37 | - [Cloudflare AI Gateway](/providers/cloudflare-ai-gateway) |
37 | 38 | - [ComfyUI](/providers/comfy) |
38 | 39 | - [DeepSeek](/providers/deepseek) |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -109,6 +109,7 @@ function humanizeId(value) {
|
109 | 109 | ["byteplus", "BytePlus"], |
110 | 110 | ["codex", "Codex"], |
111 | 111 | ["cli", "CLI"], |
| 112 | +["clawrouter", "ClawRouter"], |
112 | 113 | ["comfy", "ComfyUI"], |
113 | 114 | ["dashscope", "DashScope"], |
114 | 115 | ["deepgram", "Deepgram"], |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。