@blockrun/clawrouter 0.9.6 → 0.9.8
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/dist/cli.js +17 -28
- package/dist/cli.js.map +1 -1
- package/dist/index.js +17 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1125,8 +1125,8 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
1125
1125
|
// Auto (balanced) tier configs - current default smart routing
|
|
1126
1126
|
tiers: {
|
|
1127
1127
|
SIMPLE: {
|
|
1128
|
-
primary: "
|
|
1129
|
-
// $0.
|
|
1128
|
+
primary: "moonshot/kimi-k2.5",
|
|
1129
|
+
// $0.50/$2.40 - best quality/price for simple tasks
|
|
1130
1130
|
fallback: [
|
|
1131
1131
|
"google/gemini-2.5-flash",
|
|
1132
1132
|
// 1M context, cost-effective
|
|
@@ -1178,14 +1178,14 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
1178
1178
|
// Eco tier configs - ultra cost-optimized (blockrun/eco)
|
|
1179
1179
|
ecoTiers: {
|
|
1180
1180
|
SIMPLE: {
|
|
1181
|
-
primary: "
|
|
1182
|
-
// $0.
|
|
1181
|
+
primary: "moonshot/kimi-k2.5",
|
|
1182
|
+
// $0.50/$2.40
|
|
1183
1183
|
fallback: ["nvidia/gpt-oss-120b", "deepseek/deepseek-chat", "google/gemini-2.5-flash"]
|
|
1184
1184
|
},
|
|
1185
1185
|
MEDIUM: {
|
|
1186
1186
|
primary: "deepseek/deepseek-chat",
|
|
1187
1187
|
// $0.14/$0.28
|
|
1188
|
-
fallback: ["xai/grok-code-fast-1", "google/gemini-2.5-flash", "
|
|
1188
|
+
fallback: ["xai/grok-code-fast-1", "google/gemini-2.5-flash", "moonshot/kimi-k2.5"]
|
|
1189
1189
|
},
|
|
1190
1190
|
COMPLEX: {
|
|
1191
1191
|
primary: "xai/grok-4-0709",
|
|
@@ -1199,38 +1199,27 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
},
|
|
1201
1201
|
// Premium tier configs - best quality (blockrun/premium)
|
|
1202
|
+
// kimi=coding, sonnet=reasoning/instructions, opus=heavy lifting/architecture/audits
|
|
1202
1203
|
premiumTiers: {
|
|
1203
1204
|
SIMPLE: {
|
|
1204
|
-
primary: "
|
|
1205
|
-
// $0.
|
|
1206
|
-
fallback: ["
|
|
1205
|
+
primary: "moonshot/kimi-k2.5",
|
|
1206
|
+
// $0.50/$2.40 - good for coding
|
|
1207
|
+
fallback: ["anthropic/claude-haiku-4.5", "google/gemini-2.5-flash", "xai/grok-code-fast-1"]
|
|
1207
1208
|
},
|
|
1208
1209
|
MEDIUM: {
|
|
1209
|
-
primary: "
|
|
1210
|
-
// $
|
|
1211
|
-
fallback: ["
|
|
1210
|
+
primary: "anthropic/claude-sonnet-4",
|
|
1211
|
+
// $3/$15 - reasoning/instructions
|
|
1212
|
+
fallback: ["moonshot/kimi-k2.5", "google/gemini-2.5-pro", "xai/grok-4-0709"]
|
|
1212
1213
|
},
|
|
1213
1214
|
COMPLEX: {
|
|
1214
1215
|
primary: "anthropic/claude-opus-4.5",
|
|
1215
|
-
// $5/$25 -
|
|
1216
|
-
fallback: [
|
|
1217
|
-
"openai/gpt-5.2-pro",
|
|
1218
|
-
// $21/$168 - Latest GPT pro
|
|
1219
|
-
"google/gemini-3-pro-preview",
|
|
1220
|
-
// Latest Gemini
|
|
1221
|
-
"openai/gpt-5.2",
|
|
1222
|
-
"anthropic/claude-sonnet-4"
|
|
1223
|
-
]
|
|
1216
|
+
// $5/$25 - architecture, audits, heavy lifting
|
|
1217
|
+
fallback: ["anthropic/claude-sonnet-4", "google/gemini-3-pro-preview", "moonshot/kimi-k2.5"]
|
|
1224
1218
|
},
|
|
1225
1219
|
REASONING: {
|
|
1226
|
-
primary: "
|
|
1227
|
-
// $
|
|
1228
|
-
fallback: [
|
|
1229
|
-
"openai/o4-mini",
|
|
1230
|
-
// Latest o-series
|
|
1231
|
-
"anthropic/claude-opus-4.5",
|
|
1232
|
-
"google/gemini-3-pro-preview"
|
|
1233
|
-
]
|
|
1220
|
+
primary: "anthropic/claude-sonnet-4",
|
|
1221
|
+
// $3/$15 - best for reasoning/instructions
|
|
1222
|
+
fallback: ["anthropic/claude-opus-4.5", "openai/o3", "xai/grok-4-1-fast-reasoning"]
|
|
1234
1223
|
}
|
|
1235
1224
|
},
|
|
1236
1225
|
// Agentic tier configs - models that excel at multi-step autonomous tasks
|