@blockrun/clawrouter 0.8.16 → 0.8.17
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 +22 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.js +22 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1593,26 +1593,39 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
1593
1593
|
},
|
|
1594
1594
|
tiers: {
|
|
1595
1595
|
SIMPLE: {
|
|
1596
|
-
primary: "
|
|
1597
|
-
|
|
1596
|
+
primary: "nvidia/kimi-k2.5",
|
|
1597
|
+
// Ultra-cheap $0.001/$0.001
|
|
1598
|
+
fallback: [
|
|
1599
|
+
"google/gemini-2.5-flash",
|
|
1600
|
+
"nvidia/gpt-oss-120b",
|
|
1601
|
+
"nvidia/gpt-oss-20b",
|
|
1602
|
+
"deepseek/deepseek-chat"
|
|
1603
|
+
]
|
|
1598
1604
|
},
|
|
1599
1605
|
MEDIUM: {
|
|
1600
1606
|
primary: "xai/grok-code-fast-1",
|
|
1601
1607
|
// Code specialist, $0.20/$1.50
|
|
1602
1608
|
fallback: [
|
|
1609
|
+
"xai/grok-4-1-fast-non-reasoning",
|
|
1610
|
+
// Upgraded Grok 4.1
|
|
1603
1611
|
"deepseek/deepseek-chat",
|
|
1604
|
-
"xai/grok-4-fast-non-reasoning",
|
|
1605
1612
|
"google/gemini-2.5-flash"
|
|
1606
1613
|
]
|
|
1607
1614
|
},
|
|
1608
1615
|
COMPLEX: {
|
|
1609
1616
|
primary: "google/gemini-2.5-pro",
|
|
1610
|
-
fallback: ["anthropic/claude-sonnet-4", "xai/grok-4-0709", "openai/gpt-4o"]
|
|
1617
|
+
fallback: ["openai/gpt-5.2", "anthropic/claude-sonnet-4", "xai/grok-4-0709", "openai/gpt-4o"]
|
|
1611
1618
|
},
|
|
1612
1619
|
REASONING: {
|
|
1613
|
-
primary: "xai/grok-4-fast-reasoning",
|
|
1614
|
-
//
|
|
1615
|
-
fallback: [
|
|
1620
|
+
primary: "xai/grok-4-1-fast-reasoning",
|
|
1621
|
+
// Upgraded Grok 4.1 reasoning $0.20/$0.50
|
|
1622
|
+
fallback: [
|
|
1623
|
+
"xai/grok-4-fast-reasoning",
|
|
1624
|
+
"openai/o3",
|
|
1625
|
+
// Strong reasoning model
|
|
1626
|
+
"deepseek/deepseek-reasoner",
|
|
1627
|
+
"moonshot/kimi-k2.5"
|
|
1628
|
+
]
|
|
1616
1629
|
}
|
|
1617
1630
|
},
|
|
1618
1631
|
// Agentic tier configs - models that excel at multi-step autonomous tasks
|
|
@@ -1633,7 +1646,8 @@ var DEFAULT_ROUTING_CONFIG = {
|
|
|
1633
1646
|
},
|
|
1634
1647
|
COMPLEX: {
|
|
1635
1648
|
primary: "anthropic/claude-sonnet-4",
|
|
1636
|
-
fallback: ["anthropic/claude-opus-4", "
|
|
1649
|
+
fallback: ["anthropic/claude-opus-4.5", "openai/gpt-5.2", "xai/grok-4-0709"]
|
|
1650
|
+
// Opus 4.5 is 3x cheaper than Opus 4
|
|
1637
1651
|
},
|
|
1638
1652
|
REASONING: {
|
|
1639
1653
|
primary: "anthropic/claude-sonnet-4",
|