@blockrun/clawrouter 0.12.250 → 0.12.252
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 +11 -11
- package/dist/cli.js +932 -425
- package/dist/index.js +932 -425
- package/dist/router/index.js +910 -422
- package/docs/architecture.md +3 -3
- package/docs/configuration.md +6 -6
- package/docs/routing-profiles.md +26 -26
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ openclaw gateway restart
|
|
|
105
105
|
|
|
106
106
|
### Option B — Standalone (continue.dev, Cursor, VS Code, any OpenAI-compatible client)
|
|
107
107
|
|
|
108
|
-
> **Using Claude Code?** Check out [BRCC](https://
|
|
108
|
+
> **Using Claude Code?** Check out [BRCC](https://github.com/BlockRunAI/brcc) — it's purpose-built for Claude Code with the same smart routing and x402 payments.
|
|
109
109
|
>
|
|
110
110
|
> **Using NousResearch Hermes?** See [ClawRouter-Hermes](https://github.com/BlockRunAI/ClawRouter-Hermes) — a Python plugin that wires Hermes into the ClawRouter proxy. Same wallet, same <!-- br:models.chatVisible -->71<!-- /br:models.chatVisible --> models, same x402 USDC settlement on Base & Solana.
|
|
111
111
|
|
|
@@ -203,7 +203,7 @@ Choose your routing strategy with `/model <profile>`:
|
|
|
203
203
|
|
|
204
204
|
**100% local routing. <1ms latency. Zero external API calls.**
|
|
205
205
|
|
|
206
|
-
Routing decisions come from [`@blockrun/router-core`](https://github.com/BlockRunAI/router-core) — Router Core **V3.
|
|
206
|
+
Routing decisions come from [`@blockrun/router-core`](https://github.com/BlockRunAI/router-core) — Router Core **V3.5**, the constraint-first portfolio router shared by every BlockRun product (ClawRouter, Franklin, the `@blockrun/llm` SDKs, ClawRouter-Hermes). ClawRouter inlines it at build time, pinned to an exact commit, and injects its live model catalog at startup.
|
|
207
207
|
|
|
208
208
|
```
|
|
209
209
|
Request → 15-dimension scorer → tier + task shape
|
|
@@ -217,17 +217,17 @@ Request → 15-dimension scorer → tier + task shape
|
|
|
217
217
|
3. **Rank** — survivors are scored on task quality, capability, estimated cost, speed and reliability, with per-profile weights (`eco` leans on cost, `premium` on quality and reliability).
|
|
218
218
|
4. **Recover** — the whole ranked list rides along as the fallback chain, so a provider timeout or 5xx costs a retry, not the task.
|
|
219
219
|
|
|
220
|
-
| Tier | ECO Model
|
|
221
|
-
| --------- |
|
|
222
|
-
| SIMPLE | step-3.7-flash (**FREE**)
|
|
223
|
-
| MEDIUM |
|
|
224
|
-
| COMPLEX |
|
|
225
|
-
| REASONING |
|
|
220
|
+
| Tier | ECO Model | AUTO Model | PREMIUM Model | AGENTIC Model ‡ |
|
|
221
|
+
| --------- | ------------------------------- | ------------------------------- | ---------------------------- | ------------------------- |
|
|
222
|
+
| SIMPLE | step-3.7-flash (**FREE**) | gemini-2.5-flash ($0.30/$2.50) | gemini-3.5-flash ($1.50/$9) | gpt-4o-mini ($0.15/$0.60) |
|
|
223
|
+
| MEDIUM | glm-5.3-flash ($0.15/$0.50) | gemini-3.5-flash ($1.50/$9) | gpt-5.3-codex ($1.75/$14.00) | gpt-5-mini ($0.25/$2) |
|
|
224
|
+
| COMPLEX | glm-5.3-flash ($0.15/$0.50) | gemini-3.1-pro ($2/$12) | claude-fable-5 ($10/$50) | claude-sonnet-5 ($3/$15) |
|
|
225
|
+
| REASONING | deepseek-reasoner ($0.14/$0.28) | deepseek-reasoner ($0.14/$0.28) | claude-sonnet-5 ($3/$15) | claude-sonnet-5 ($3/$15) |
|
|
226
226
|
|
|
227
|
-
† Withheld from `/v1/models` —
|
|
227
|
+
† Withheld from `/v1/models` — since Router Core V3.5 no chain names such a model: every primary and every fallback rung above is a model you can find on the public pricing page. [savings-mix.json](https://github.com/BlockRunAI/blockrun/blob/main/src/brand/savings-mix.json) prices the published savings claim on the same visible models.
|
|
228
228
|
‡ Auto-selected in any profile when the turn actually needs its attached tools; prefers models that keep going instead of stopping to ask.
|
|
229
229
|
|
|
230
|
-
These are the curated primaries; every tier carries a benchmark-ordered fallback chain — full chains and per-profile ranking weights in [docs/routing-profiles.md](docs/routing-profiles.md). On router-core's frozen three-arm agent benchmark (τ-bench, BrowseComp, Terminal-Bench) the V3.4 policy completed **57%** of tasks vs **49%** for the previous rules router, at **6.4%** lower cost per successful task — and spent **8.9%** of the tokens a pinned flagship would have.
|
|
230
|
+
These are the curated primaries; every tier carries a benchmark-ordered fallback chain — full chains and per-profile ranking weights in [docs/routing-profiles.md](docs/routing-profiles.md). On router-core's frozen three-arm agent benchmark (τ-bench, BrowseComp, Terminal-Bench) the V3.4 policy (the last one benchmarked; V3.5 is a catalog refresh on the same scorer and weights) completed **57%** of tasks vs **49%** for the previous rules router, at **6.4%** lower cost per successful task — and spent **8.9%** of the tokens a pinned flagship would have.
|
|
231
231
|
|
|
232
232
|
**<!-- 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`.
|
|
233
233
|
|
|
@@ -674,7 +674,7 @@ You're here. <!-- br:models.chatVisible -->71<!-- /br:models.chatVisible --> mod
|
|
|
674
674
|
</td>
|
|
675
675
|
<td width="50%">
|
|
676
676
|
|
|
677
|
-
### 🤖 [BRCC](https://
|
|
677
|
+
### 🤖 [BRCC](https://github.com/BlockRunAI/brcc)
|
|
678
678
|
|
|
679
679
|
**BlockRun for Claude Code**
|
|
680
680
|
|