@blockrun/clawrouter 0.12.156 → 0.12.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/clawrouter/SKILL.md +39 -1
package/package.json
CHANGED
|
@@ -2,19 +2,57 @@
|
|
|
2
2
|
name: clawrouter
|
|
3
3
|
description: Smart LLM router — save 67% on inference costs. Routes every request to the cheapest capable model across 55+ models from OpenAI, Anthropic, Google, DeepSeek, xAI, NVIDIA, and more. 11 free NVIDIA models included.
|
|
4
4
|
homepage: https://blockrun.ai/clawrouter.md
|
|
5
|
-
|
|
5
|
+
repository: https://github.com/BlockRunAI/ClawRouter
|
|
6
|
+
license: MIT
|
|
7
|
+
metadata:
|
|
8
|
+
{
|
|
9
|
+
"openclaw":
|
|
10
|
+
{
|
|
11
|
+
"emoji": "🦀",
|
|
12
|
+
"requires": { "config": ["models.providers.blockrun"] },
|
|
13
|
+
"install":
|
|
14
|
+
[
|
|
15
|
+
{
|
|
16
|
+
"id": "node",
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"package": "@blockrun/clawrouter",
|
|
19
|
+
"bins": ["clawrouter"],
|
|
20
|
+
"label": "Install ClawRouter (npm)",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
}
|
|
6
25
|
---
|
|
7
26
|
|
|
8
27
|
# ClawRouter
|
|
9
28
|
|
|
10
29
|
Smart LLM router that saves 67% on inference costs by routing each request to the cheapest model that can handle it. 55+ models across 9 providers (11 free NVIDIA models), all through one wallet.
|
|
11
30
|
|
|
31
|
+
Source: https://github.com/BlockRunAI/ClawRouter · npm: https://www.npmjs.com/package/@blockrun/clawrouter · License: MIT.
|
|
32
|
+
|
|
33
|
+
## Credentials & Data Handling
|
|
34
|
+
|
|
35
|
+
ClawRouter runs locally as an x402 proxy. It does **not** collect or forward third-party provider API keys. You do not supply OpenAI, Anthropic, Google, DeepSeek, xAI, or NVIDIA credentials — the blockrun.ai gateway owns those relationships and routes on the server side.
|
|
36
|
+
|
|
37
|
+
**What `models.providers.blockrun` stores (fully enumerated):**
|
|
38
|
+
|
|
39
|
+
| Field | Sensitive | Purpose |
|
|
40
|
+
|-------|-----------|---------|
|
|
41
|
+
| `walletKey` | Yes | EVM private key used to sign USDC micropayments via x402. **Auto-generated locally on first run** — no user input required. Never transmitted; only signatures are sent. |
|
|
42
|
+
| `solanaKey` | Yes | Solana keypair (BIP-44 `m/44'/501'/0'/0'`) for Solana-chain payments. Auto-derived from the same local mnemonic. |
|
|
43
|
+
| `gateway` | No | Gateway URL. Defaults: `https://blockrun.ai/api` (Base) · `https://sol.blockrun.ai/api` (Solana). |
|
|
44
|
+
| `routing` | No | Optional override of the default four-tier router. |
|
|
45
|
+
|
|
46
|
+
No other credentials are read, required, or exfiltrated. The wallet key stays on disk under the OpenClaw config directory and is used only to produce x402 payment signatures.
|
|
47
|
+
|
|
12
48
|
## Install
|
|
13
49
|
|
|
14
50
|
```bash
|
|
15
51
|
openclaw plugins install @blockrun/clawrouter
|
|
16
52
|
```
|
|
17
53
|
|
|
54
|
+
The structured `install` block above tells OpenClaw to install the auditable npm package `@blockrun/clawrouter`. Source for every version is on GitHub; every release is tagged.
|
|
55
|
+
|
|
18
56
|
## Setup
|
|
19
57
|
|
|
20
58
|
```bash
|