@blockrun/clawrouter 0.12.242 → 0.12.244
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/README.md +7 -5
- package/dist/cli.js +2632 -1345
- package/dist/index.js +2632 -1345
- package/docs/anthropic-third-party-harness-changes.md +1 -1
- package/docs/clawrouter-vs-openrouter-llm-routing-comparison.md +1 -1
- package/package.json +3 -3
- package/skills/clawrouter/SKILL.md +2 -2
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Agents can only sign transactions.<br><br>
|
|
|
34
34
|
|
|
35
35
|
</div>
|
|
36
36
|
|
|
37
|
-
> **ClawRouter** is an open-source smart LLM router that reduces AI API costs by up to <!-- br:savings.autoVsBaselinePct -->
|
|
37
|
+
> **ClawRouter** is an open-source smart LLM router that reduces AI API costs by up to <!-- br:savings.autoVsBaselinePct -->88<!-- /br:savings.autoVsBaselinePct -->%. It analyzes each request across <!-- br:clawrouter.dimensions -->15<!-- /br:clawrouter.dimensions --> dimensions and routes to the cheapest capable model in under 1ms, entirely locally. ClawRouter is the only LLM router built for autonomous AI agents — it uses wallet signatures for authentication (no API keys) and USDC micropayments via the x402 protocol (no credit cards). <!-- br:models.chatVisible -->71<!-- /br:models.chatVisible --> models from OpenAI, Anthropic, Google, xAI, DeepSeek, and more. MIT licensed.
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
@@ -193,7 +193,7 @@ Choose your routing strategy with `/model <profile>`:
|
|
|
193
193
|
| `/model free` | Free NVIDIA models | **100%** | $0 balance, learning |
|
|
194
194
|
| `/model auto` | Balanced (default) | † Withheld from `/v1/models` — the router still calls it by direct ID, but you will not find it on the public pricing page. See [savings-mix.json](https://github.com/BlockRunAI/blockrun/blob/main/src/brand/savings-mix.json), which prices the published savings claim on visible models only. |
|
|
195
195
|
|
|
196
|
-
**<!-- br:savings.autoVsBaselinePct -->
|
|
196
|
+
**<!-- br:savings.autoVsBaselinePct -->88<!-- /br:savings.autoVsBaselinePct -->%** | General use |
|
|
197
197
|
| `/model eco` | Cheapest possible | **<!-- br:savings.ecoVsBaselinePct -->98<!-- /br:savings.ecoVsBaselinePct -->%** | Maximum savings |
|
|
198
198
|
| `/model premium` | Best quality | 0% | Mission-critical |
|
|
199
199
|
|
|
@@ -205,8 +205,10 @@ Choose your routing strategy with `/model <profile>`:
|
|
|
205
205
|
|
|
206
206
|
**100% local routing. <1ms latency. Zero external API calls.**
|
|
207
207
|
|
|
208
|
+
The scorer weighs <!-- br:clawrouter.dimensions -->15<!-- /br:clawrouter.dimensions --> dimensions of the request:
|
|
209
|
+
|
|
208
210
|
```
|
|
209
|
-
Request → Weighted Scorer
|
|
211
|
+
Request → Weighted Scorer → Tier → Best Model → Response
|
|
210
212
|
```
|
|
211
213
|
|
|
212
214
|
| Tier | ECO Model | AUTO Model | PREMIUM Model |
|
|
@@ -216,7 +218,7 @@ Request → Weighted Scorer (<!-- br:clawrouter.dimensions -->14<!-- /br:clawrou
|
|
|
216
218
|
| COMPLEX | gemini-3.1-flash-lite ($0.25/$1.50) | gemini-3.1-pro ($2/$12) | claude-fable-5 ($10/$50) |
|
|
217
219
|
| REASONING | grok-4-1-fast-reasoning † ($0.20/$0.50) | grok-4-1-fast-reasoning † ($0.20/$0.50) | claude-sonnet-4.6 ($3/$15) |
|
|
218
220
|
|
|
219
|
-
**<!-- br:savings.autoVsBaselinePct -->
|
|
221
|
+
**<!-- br:savings.autoVsBaselinePct -->88<!-- /br:savings.autoVsBaselinePct -->% cheaper than pinning Claude Opus 5** for the same traffic, on `auto`; **<!-- br:savings.ecoVsBaselinePct -->98<!-- /br:savings.ecoVsBaselinePct -->%** on `eco`.
|
|
220
222
|
|
|
221
223
|
Not an "up to" figure. The baseline, the workload mix and the token ratio are
|
|
222
224
|
published in [`savings-mix.json`](https://github.com/BlockRunAI/blockrun/blob/main/src/brand/savings-mix.json),
|
|
@@ -716,7 +718,7 @@ ClawRouter is an open-source (MIT licensed) smart LLM router built for autonomou
|
|
|
716
718
|
|
|
717
719
|
### How much can ClawRouter save on LLM costs?
|
|
718
720
|
|
|
719
|
-
On the `auto` profile ClawRouter costs <!-- br:savings.autoVsBaselinePct -->
|
|
721
|
+
On the `auto` profile ClawRouter costs <!-- br:savings.autoVsBaselinePct -->88<!-- /br:savings.autoVsBaselinePct -->% less than pinning Claude Opus 5 for every request, and <!-- br:savings.ecoVsBaselinePct -->98<!-- /br:savings.ecoVsBaselinePct -->% less on `eco`. That is computed from a published workload mix rather than estimated — see [savings-mix.json](https://github.com/BlockRunAI/blockrun/blob/main/src/brand/savings-mix.json) for the baseline and assumptions. Actual savings depend on your workload — simple queries are routed to free models ($0/request), while complex tasks get premium models.
|
|
720
722
|
|
|
721
723
|
### How does ClawRouter compare to OpenRouter?
|
|
722
724
|
|