@blockrun/clawrouter 0.9.16 → 0.9.18

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 CHANGED
@@ -1156,8 +1156,9 @@ var DEFAULT_ROUTING_CONFIG = {
1156
1156
  "deepseek/deepseek-chat",
1157
1157
  // Another cheap option
1158
1158
  "xai/grok-4-0709",
1159
- "openai/gpt-4o",
1160
1159
  "openai/gpt-5.2",
1160
+ // Newer and cheaper input than gpt-4o
1161
+ "openai/gpt-4o",
1161
1162
  "anthropic/claude-sonnet-4"
1162
1163
  ]
1163
1164
  },
@@ -1167,11 +1168,9 @@ var DEFAULT_ROUTING_CONFIG = {
1167
1168
  fallback: [
1168
1169
  "deepseek/deepseek-reasoner",
1169
1170
  // Cheap reasoning model as first fallback
1170
- "xai/grok-4-fast-reasoning",
1171
- "openai/o3",
1172
1171
  "openai/o4-mini",
1173
- // Latest o-series mini
1174
- "moonshot/kimi-k2.5"
1172
+ // Newer and cheaper than o3 ($1.10 vs $2.00)
1173
+ "openai/o3"
1175
1174
  ]
1176
1175
  }
1177
1176
  },
@@ -1195,7 +1194,7 @@ var DEFAULT_ROUTING_CONFIG = {
1195
1194
  REASONING: {
1196
1195
  primary: "deepseek/deepseek-reasoner",
1197
1196
  // $0.55/$2.19
1198
- fallback: ["xai/grok-4-fast-reasoning", "moonshot/kimi-k2.5"]
1197
+ fallback: ["xai/grok-4-1-fast-reasoning"]
1199
1198
  }
1200
1199
  },
1201
1200
  // Premium tier configs - best quality (blockrun/premium)
@@ -1207,22 +1206,22 @@ var DEFAULT_ROUTING_CONFIG = {
1207
1206
  fallback: ["anthropic/claude-haiku-4.5", "google/gemini-2.5-flash", "xai/grok-code-fast-1"]
1208
1207
  },
1209
1208
  MEDIUM: {
1210
- primary: "anthropic/claude-sonnet-4",
1211
- // $3/$15 - reasoning/instructions
1209
+ primary: "openai/gpt-5.2-codex",
1210
+ // $2.50/$10 - strong coding for medium tasks
1212
1211
  fallback: [
1213
- "openai/gpt-5.2-codex",
1214
1212
  "moonshot/kimi-k2.5",
1215
1213
  "google/gemini-2.5-pro",
1216
- "xai/grok-4-0709"
1214
+ "xai/grok-4-0709",
1215
+ "anthropic/claude-sonnet-4"
1217
1216
  ]
1218
1217
  },
1219
1218
  COMPLEX: {
1220
- primary: "openai/gpt-5.2-codex",
1221
- // $2.50/$10 - complex coding (78% cost savings vs Opus)
1219
+ primary: "anthropic/claude-opus-4.6",
1220
+ // Best quality for complex tasks
1222
1221
  fallback: [
1223
- "anthropic/claude-opus-4.6",
1224
1222
  "anthropic/claude-opus-4.5",
1225
1223
  "anthropic/claude-sonnet-4",
1224
+ "openai/gpt-5.2-codex",
1226
1225
  "google/gemini-3-pro-preview",
1227
1226
  "moonshot/kimi-k2.5"
1228
1227
  ]
@@ -1233,6 +1232,8 @@ var DEFAULT_ROUTING_CONFIG = {
1233
1232
  fallback: [
1234
1233
  "anthropic/claude-opus-4.6",
1235
1234
  "anthropic/claude-opus-4.5",
1235
+ "openai/o4-mini",
1236
+ // Newer and cheaper than o3 ($1.10 vs $2.00)
1236
1237
  "openai/o3",
1237
1238
  "xai/grok-4-1-fast-reasoning"
1238
1239
  ]
@@ -1245,7 +1246,7 @@ var DEFAULT_ROUTING_CONFIG = {
1245
1246
  // Cheaper than Haiku ($0.5/$2.4 vs $1/$5), larger context
1246
1247
  fallback: [
1247
1248
  "anthropic/claude-haiku-4.5",
1248
- "xai/grok-4-fast-non-reasoning",
1249
+ "xai/grok-4-1-fast-non-reasoning",
1249
1250
  "openai/gpt-4o-mini"
1250
1251
  ]
1251
1252
  },
@@ -1269,8 +1270,7 @@ var DEFAULT_ROUTING_CONFIG = {
1269
1270
  // Strong tool use + reasoning for agentic tasks
1270
1271
  fallback: [
1271
1272
  "anthropic/claude-opus-4.6",
1272
- "xai/grok-4-fast-reasoning",
1273
- "moonshot/kimi-k2.5",
1273
+ "xai/grok-4-1-fast-reasoning",
1274
1274
  "deepseek/deepseek-reasoner"
1275
1275
  ]
1276
1276
  }