@blockrun/clawrouter 0.8.24 → 0.8.25
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 +13 -65
- package/dist/cli.js.map +1 -1
- package/dist/index.js +26 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1126,14 +1126,12 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
1126
1126
|
tiers: {
|
|
1127
1127
|
SIMPLE: {
|
|
1128
1128
|
primary: "nvidia/kimi-k2.5",
|
|
1129
|
-
//
|
|
1129
|
+
// $0.55/$2.5 - best quality/price for simple tasks
|
|
1130
1130
|
fallback: [
|
|
1131
|
-
"google/gemini-2.5-flash",
|
|
1132
1131
|
"nvidia/gpt-oss-120b",
|
|
1133
|
-
|
|
1134
|
-
"
|
|
1135
|
-
"
|
|
1136
|
-
// Added for better quality fallback
|
|
1132
|
+
// FREE fallback
|
|
1133
|
+
"google/gemini-2.5-flash",
|
|
1134
|
+
"deepseek/deepseek-chat"
|
|
1137
1135
|
]
|
|
1138
1136
|
},
|
|
1139
1137
|
MEDIUM: {
|
|
@@ -1174,8 +1172,8 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
1174
1172
|
ecoTiers: {
|
|
1175
1173
|
SIMPLE: {
|
|
1176
1174
|
primary: "nvidia/kimi-k2.5",
|
|
1177
|
-
// $0.
|
|
1178
|
-
fallback: ["
|
|
1175
|
+
// $0.55/$2.5
|
|
1176
|
+
fallback: ["nvidia/gpt-oss-120b", "deepseek/deepseek-chat", "google/gemini-2.5-flash"]
|
|
1179
1177
|
},
|
|
1180
1178
|
MEDIUM: {
|
|
1181
1179
|
primary: "deepseek/deepseek-chat",
|
|
@@ -1371,8 +1369,7 @@ var MODEL_ALIASES = {
|
|
|
1371
1369
|
"grok-code": "xai/grok-code-fast-1",
|
|
1372
1370
|
// NVIDIA
|
|
1373
1371
|
nvidia: "nvidia/gpt-oss-120b",
|
|
1374
|
-
"gpt-120b": "nvidia/gpt-oss-120b"
|
|
1375
|
-
"gpt-20b": "nvidia/gpt-oss-20b"
|
|
1372
|
+
"gpt-120b": "nvidia/gpt-oss-120b"
|
|
1376
1373
|
// Note: auto, free, eco, premium are virtual routing profiles registered in BLOCKRUN_MODELS
|
|
1377
1374
|
// They don't need aliases since they're already top-level model IDs
|
|
1378
1375
|
};
|
|
@@ -1477,14 +1474,7 @@ var BLOCKRUN_MODELS = [
|
|
|
1477
1474
|
contextWindow: 128e3,
|
|
1478
1475
|
maxOutput: 16384
|
|
1479
1476
|
},
|
|
1480
|
-
|
|
1481
|
-
id: "openai/gpt-4.1-nano",
|
|
1482
|
-
name: "GPT-4.1 Nano",
|
|
1483
|
-
inputPrice: 0.1,
|
|
1484
|
-
outputPrice: 0.4,
|
|
1485
|
-
contextWindow: 128e3,
|
|
1486
|
-
maxOutput: 16384
|
|
1487
|
-
},
|
|
1477
|
+
// gpt-4.1-nano removed - replaced by gpt-5-nano
|
|
1488
1478
|
{
|
|
1489
1479
|
id: "openai/gpt-4o",
|
|
1490
1480
|
name: "GPT-4o",
|
|
@@ -1503,25 +1493,7 @@ var BLOCKRUN_MODELS = [
|
|
|
1503
1493
|
contextWindow: 128e3,
|
|
1504
1494
|
maxOutput: 16384
|
|
1505
1495
|
},
|
|
1506
|
-
// OpenAI O-series (Reasoning)
|
|
1507
|
-
{
|
|
1508
|
-
id: "openai/o1",
|
|
1509
|
-
name: "o1",
|
|
1510
|
-
inputPrice: 15,
|
|
1511
|
-
outputPrice: 60,
|
|
1512
|
-
contextWindow: 2e5,
|
|
1513
|
-
maxOutput: 1e5,
|
|
1514
|
-
reasoning: true
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
id: "openai/o1-mini",
|
|
1518
|
-
name: "o1-mini",
|
|
1519
|
-
inputPrice: 1.1,
|
|
1520
|
-
outputPrice: 4.4,
|
|
1521
|
-
contextWindow: 128e3,
|
|
1522
|
-
maxOutput: 65536,
|
|
1523
|
-
reasoning: true
|
|
1524
|
-
},
|
|
1496
|
+
// OpenAI O-series (Reasoning) - o1/o1-mini removed, replaced by o3/o4
|
|
1525
1497
|
{
|
|
1526
1498
|
id: "openai/o3",
|
|
1527
1499
|
name: "o3",
|
|
@@ -1658,15 +1630,7 @@ var BLOCKRUN_MODELS = [
|
|
|
1658
1630
|
maxOutput: 16384,
|
|
1659
1631
|
reasoning: true
|
|
1660
1632
|
},
|
|
1661
|
-
|
|
1662
|
-
id: "xai/grok-3-fast",
|
|
1663
|
-
name: "Grok 3 Fast",
|
|
1664
|
-
inputPrice: 5,
|
|
1665
|
-
outputPrice: 25,
|
|
1666
|
-
contextWindow: 131072,
|
|
1667
|
-
maxOutput: 16384,
|
|
1668
|
-
reasoning: true
|
|
1669
|
-
},
|
|
1633
|
+
// grok-3-fast removed - too expensive ($5/$25), use grok-4-fast instead
|
|
1670
1634
|
{
|
|
1671
1635
|
id: "xai/grok-3-mini",
|
|
1672
1636
|
name: "Grok 3 Mini",
|
|
@@ -1729,15 +1693,7 @@ var BLOCKRUN_MODELS = [
|
|
|
1729
1693
|
maxOutput: 16384,
|
|
1730
1694
|
reasoning: true
|
|
1731
1695
|
},
|
|
1732
|
-
|
|
1733
|
-
id: "xai/grok-2-vision",
|
|
1734
|
-
name: "Grok 2 Vision",
|
|
1735
|
-
inputPrice: 2,
|
|
1736
|
-
outputPrice: 10,
|
|
1737
|
-
contextWindow: 131072,
|
|
1738
|
-
maxOutput: 16384,
|
|
1739
|
-
vision: true
|
|
1740
|
-
},
|
|
1696
|
+
// grok-2-vision removed - old, 0 transactions
|
|
1741
1697
|
// NVIDIA - Free/cheap models
|
|
1742
1698
|
{
|
|
1743
1699
|
id: "nvidia/gpt-oss-120b",
|
|
@@ -1747,19 +1703,11 @@ var BLOCKRUN_MODELS = [
|
|
|
1747
1703
|
contextWindow: 128e3,
|
|
1748
1704
|
maxOutput: 16384
|
|
1749
1705
|
},
|
|
1750
|
-
{
|
|
1751
|
-
id: "nvidia/gpt-oss-20b",
|
|
1752
|
-
name: "NVIDIA GPT-OSS 20B",
|
|
1753
|
-
inputPrice: 0,
|
|
1754
|
-
outputPrice: 0,
|
|
1755
|
-
contextWindow: 128e3,
|
|
1756
|
-
maxOutput: 16384
|
|
1757
|
-
},
|
|
1758
1706
|
{
|
|
1759
1707
|
id: "nvidia/kimi-k2.5",
|
|
1760
1708
|
name: "NVIDIA Kimi K2.5",
|
|
1761
|
-
inputPrice:
|
|
1762
|
-
outputPrice:
|
|
1709
|
+
inputPrice: 0.55,
|
|
1710
|
+
outputPrice: 2.5,
|
|
1763
1711
|
contextWindow: 262144,
|
|
1764
1712
|
maxOutput: 16384
|
|
1765
1713
|
}
|