@blockrun/clawrouter 0.12.293 → 0.12.295
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 +41 -41
- package/dist/cli.js +509 -137
- package/dist/index.d.ts +2 -1
- package/dist/index.js +509 -137
- package/dist/router/index.js +21 -0
- package/package.json +5 -5
- package/skills/clawrouter/SKILL.md +1 -1
- package/src/top-models.json +8 -1
package/dist/router/index.js
CHANGED
|
@@ -670,6 +670,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
670
670
|
supportsTools: true,
|
|
671
671
|
supportsVision: false
|
|
672
672
|
},
|
|
673
|
+
"deepseek/deepseek-v4.1-flash": {
|
|
674
|
+
// supportsTools: not probed — fails closed
|
|
675
|
+
contextWindow: 1048576,
|
|
676
|
+
maxOutputTokens: 65536,
|
|
677
|
+
supportsTools: false,
|
|
678
|
+
supportsVision: false
|
|
679
|
+
},
|
|
673
680
|
"google/gemini-2.5-flash": {
|
|
674
681
|
contextWindow: 1048576,
|
|
675
682
|
maxOutputTokens: 65536,
|
|
@@ -742,6 +749,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
742
749
|
supportsTools: true,
|
|
743
750
|
supportsVision: false
|
|
744
751
|
},
|
|
752
|
+
"mistral/mistral-large-4": {
|
|
753
|
+
// supportsTools: not probed — fails closed
|
|
754
|
+
contextWindow: 524288,
|
|
755
|
+
maxOutputTokens: 262144,
|
|
756
|
+
supportsTools: false,
|
|
757
|
+
supportsVision: true
|
|
758
|
+
},
|
|
745
759
|
"moonshot/kimi-k3": {
|
|
746
760
|
contextWindow: 1048576,
|
|
747
761
|
maxOutputTokens: 65536,
|
|
@@ -943,6 +957,13 @@ var DEFAULT_MODEL_CAPABILITIES = Object.freeze({
|
|
|
943
957
|
supportsTools: true,
|
|
944
958
|
supportsVision: true
|
|
945
959
|
},
|
|
960
|
+
"openai/gpt-6.1-sol": {
|
|
961
|
+
// supportsTools: not probed — fails closed
|
|
962
|
+
contextWindow: 105e4,
|
|
963
|
+
maxOutputTokens: 128e3,
|
|
964
|
+
supportsTools: false,
|
|
965
|
+
supportsVision: true
|
|
966
|
+
},
|
|
946
967
|
"openai/o1": {
|
|
947
968
|
contextWindow: 2e5,
|
|
948
969
|
maxOutputTokens: 1e5,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/clawrouter",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.295",
|
|
4
4
|
"description": "Smart LLM router — save 84% on inference costs. 88 models (7 free). Pay by credit card (API key) or USDC (x402 wallet).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -115,17 +115,17 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@blockrun/model-catalog": "https://codeload.github.com/BlockRunAI/model-catalog/tar.gz/
|
|
119
|
-
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/
|
|
118
|
+
"@blockrun/model-catalog": "https://codeload.github.com/BlockRunAI/model-catalog/tar.gz/fd635936832b414e40f8fe6c91fc1ad57347cd63",
|
|
119
|
+
"@blockrun/router-core": "https://codeload.github.com/BlockRunAI/router-core/tar.gz/2cd5a1026f755cd39a3f0d6e61cab23a5ad391a9",
|
|
120
120
|
"@eslint/js": "^10.0.1",
|
|
121
121
|
"eslint": "^10.2.0",
|
|
122
122
|
"openclaw": "^2026.7.2-beta.7",
|
|
123
123
|
"prettier": "^3.8.1",
|
|
124
|
-
"tsup": "^
|
|
124
|
+
"tsup": "^9.0.0",
|
|
125
125
|
"tsx": "^4.21.0",
|
|
126
126
|
"typescript": "^5.7.0",
|
|
127
127
|
"typescript-eslint": "^8.58.1",
|
|
128
|
-
"vitest": "^
|
|
128
|
+
"vitest": "^5.0.5"
|
|
129
129
|
},
|
|
130
130
|
"overrides": {
|
|
131
131
|
"axios": "$axios",
|
|
@@ -147,7 +147,7 @@ it against a baseline nobody wrote down. See
|
|
|
147
147
|
|
|
148
148
|
## Available Models
|
|
149
149
|
|
|
150
|
-
<!-- br:models.chatVisible -->88<!-- /br:models.chatVisible --> models including: gpt-6-astra [GPT-6 flagship, 1M ctx], gpt-6-sol, gpt-6-luna [fast, $0.10/$0.50], gpt-5.6-terra [balanced, stable default], gpt-5.6-sol [flagship], gpt-5.6-luna [cost-efficient], gpt-5.6-sol/terra/luna-pro [pro reasoning tiers], gpt-5.5, gpt-5.5-pro [max compute], chat-latest [ChatGPT Instant], gpt-5.4, gpt-5.1, gpt-4o, o3, claude-fable-5.1, claude-fable-5, claude-opus-5.5 [newest Opus, $4/$20], claude-opus-5 [1M ctx], claude-opus-4.8, claude-opus-4.7, claude-opus-4.5, claude-sonnet-5.5, claude-sonnet-5, claude-sonnet-4.6, gemini-3.1-pro, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-2.5-flash, deepseek-v4-pro, deepseek-chat, grok-4.7, grok-4.6, grok-4.5, grok-4.3, grok-build-0.1, glm-5.3 [Z.AI flagship, 1M ctx], glm-5.3-flash [natively multimodal, 1M ctx — $0.15/$0.50], glm-5.2, minimax-m3, kimi-k3 [1M ctx flagship], kimi-k2.7, qwen3.
|
|
150
|
+
<!-- br:models.chatVisible -->88<!-- /br:models.chatVisible --> models including: gpt-6-astra [GPT-6 flagship, 1M ctx], gpt-6-sol, gpt-6.1-sol [refreshed Sol, $2/$10], gpt-6-luna [fast, $0.10/$0.50], gpt-5.6-terra [balanced, stable default], gpt-5.6-sol [flagship], gpt-5.6-luna [cost-efficient], gpt-5.6-sol/terra/luna-pro [pro reasoning tiers], gpt-5.5, gpt-5.5-pro [max compute], chat-latest [ChatGPT Instant], gpt-5.4, gpt-5.1, gpt-4o, o3, claude-fable-5.1, claude-fable-5, claude-opus-5.5 [newest Opus, $4/$20], claude-opus-5 [1M ctx], claude-opus-4.8, claude-opus-4.7, claude-opus-4.5, claude-sonnet-5.5, claude-sonnet-5, claude-sonnet-4.6, gemini-3.1-pro, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-2.5-flash, deepseek-v4-pro, deepseek-chat, grok-4.7, grok-4.6, grok-4.5, grok-4.3, grok-build-0.1, glm-5.3 [Z.AI flagship, 1M ctx], glm-5.3-flash [natively multimodal, 1M ctx — $0.15/$0.50], glm-5.2, minimax-m3, kimi-k3 [1M ctx flagship], kimi-k2.7, qwen3.8-max [Qwen 3.8 flagship, 1M ctx], qwen3.7-max, qwen3.7-plus, qwen3.7-flash, mimo [Xiaomi MiMo-V2.5 Pro, 1M ctx], mistral-large-4 [Mistral flagship, 512K ctx, vision], hy4-preview [Tencent, 770B MoE], laguna-s-2.1 [Poolside, coding, $0.09/$0.18], and <!-- br:models.free -->7<!-- /br:models.free --> free open-weight models (nemotron-3.5-lightning [1M ctx, thinking mode — the free default], nemotron-3-ultra-550b [550B/55B MoE, 1M ctx — the largest free model], nemotron-3-nano-omni-30b-a3b-reasoning [256K ctx], llama-3.2-11b-vision [Meta Llama], north-mini-code [Cohere, coding, sub-second], laguna-xs-2.1 [Poolside, coding, ~161 tok/s], muse-glimmer-30b [Meta Muse, reasoning]). The free tier is text-only — image turns route to a paid vision model, because the two free models the catalogs advertise as vision-capable fail a solid-colour probe on both chains and do so with an HTTP 200.
|
|
151
151
|
|
|
152
152
|
## Built-in Agent Tools
|
|
153
153
|
|
package/src/top-models.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"anthropic/claude-haiku-4.5",
|
|
16
16
|
"openai/gpt-6-astra",
|
|
17
17
|
"openai/gpt-6-sol",
|
|
18
|
+
"openai/gpt-6.1-sol",
|
|
18
19
|
"openai/gpt-6-luna",
|
|
19
20
|
"openai/gpt-5.6-terra",
|
|
20
21
|
"openai/gpt-5.6-sol",
|
|
@@ -50,13 +51,18 @@
|
|
|
50
51
|
"zai/glm-5",
|
|
51
52
|
"xiaomi/mimo-v2.5",
|
|
52
53
|
"xiaomi/mimo-v2.5-pro",
|
|
54
|
+
"tencent/hy4-preview",
|
|
55
|
+
"mistral/mistral-large-4",
|
|
56
|
+
"poolside/laguna-s-2.1",
|
|
53
57
|
"minimax/minimax-m3",
|
|
54
58
|
"minimax/minimax-m2.7",
|
|
55
59
|
"moonshot/kimi-k3",
|
|
56
60
|
"qwen/qwen3.7-max",
|
|
61
|
+
"qwen/qwen3.8-max",
|
|
57
62
|
"qwen/qwen3.8-flash",
|
|
58
63
|
"deepseek/deepseek-v4-flash-vision-exp",
|
|
59
64
|
"deepseek/deepseek-v4-pro",
|
|
65
|
+
"deepseek/deepseek-v4.1-flash",
|
|
60
66
|
"deepseek/deepseek-chat",
|
|
61
67
|
"deepseek/deepseek-reasoner",
|
|
62
68
|
"free/nemotron-3.5-lightning",
|
|
@@ -64,5 +70,6 @@
|
|
|
64
70
|
"free/north-mini-code",
|
|
65
71
|
"free/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
66
72
|
"free/nemotron-3-ultra-550b",
|
|
67
|
-
"free/llama-3.2-11b-vision"
|
|
73
|
+
"free/llama-3.2-11b-vision",
|
|
74
|
+
"free/muse-glimmer-30b"
|
|
68
75
|
]
|