@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/index.js CHANGED
@@ -1571,8 +1571,8 @@ var DEFAULT_ROUTING_CONFIG = {
1571
1571
  // Auto (balanced) tier configs - current default smart routing
1572
1572
  tiers: {
1573
1573
  SIMPLE: {
1574
- primary: "nvidia/kimi-k2.5",
1575
- // $0.55/$2.5 - best quality/price for simple tasks
1574
+ primary: "moonshot/kimi-k2.5",
1575
+ // $0.50/$2.40 - best quality/price for simple tasks
1576
1576
  fallback: [
1577
1577
  "google/gemini-2.5-flash",
1578
1578
  // 1M context, cost-effective
@@ -1624,14 +1624,14 @@ var DEFAULT_ROUTING_CONFIG = {
1624
1624
  // Eco tier configs - ultra cost-optimized (blockrun/eco)
1625
1625
  ecoTiers: {
1626
1626
  SIMPLE: {
1627
- primary: "nvidia/kimi-k2.5",
1628
- // $0.55/$2.5
1627
+ primary: "moonshot/kimi-k2.5",
1628
+ // $0.50/$2.40
1629
1629
  fallback: ["nvidia/gpt-oss-120b", "deepseek/deepseek-chat", "google/gemini-2.5-flash"]
1630
1630
  },
1631
1631
  MEDIUM: {
1632
1632
  primary: "deepseek/deepseek-chat",
1633
1633
  // $0.14/$0.28
1634
- fallback: ["xai/grok-code-fast-1", "google/gemini-2.5-flash", "nvidia/kimi-k2.5"]
1634
+ fallback: ["xai/grok-code-fast-1", "google/gemini-2.5-flash", "moonshot/kimi-k2.5"]
1635
1635
  },
1636
1636
  COMPLEX: {
1637
1637
  primary: "xai/grok-4-0709",
@@ -1645,38 +1645,27 @@ var DEFAULT_ROUTING_CONFIG = {
1645
1645
  }
1646
1646
  },
1647
1647
  // Premium tier configs - best quality (blockrun/premium)
1648
+ // kimi=coding, sonnet=reasoning/instructions, opus=heavy lifting/architecture/audits
1648
1649
  premiumTiers: {
1649
1650
  SIMPLE: {
1650
- primary: "google/gemini-2.5-flash",
1651
- // $0.075/$0.30
1652
- fallback: ["openai/gpt-4o-mini", "anthropic/claude-haiku-4.5", "moonshot/kimi-k2.5"]
1651
+ primary: "moonshot/kimi-k2.5",
1652
+ // $0.50/$2.40 - good for coding
1653
+ fallback: ["anthropic/claude-haiku-4.5", "google/gemini-2.5-flash", "xai/grok-code-fast-1"]
1653
1654
  },
1654
1655
  MEDIUM: {
1655
- primary: "openai/gpt-4o",
1656
- // $2.50/$10
1657
- fallback: ["google/gemini-2.5-pro", "anthropic/claude-sonnet-4", "xai/grok-4-0709"]
1656
+ primary: "anthropic/claude-sonnet-4",
1657
+ // $3/$15 - reasoning/instructions
1658
+ fallback: ["moonshot/kimi-k2.5", "google/gemini-2.5-pro", "xai/grok-4-0709"]
1658
1659
  },
1659
1660
  COMPLEX: {
1660
1661
  primary: "anthropic/claude-opus-4.5",
1661
- // $5/$25 - Latest Opus
1662
- fallback: [
1663
- "openai/gpt-5.2-pro",
1664
- // $21/$168 - Latest GPT pro
1665
- "google/gemini-3-pro-preview",
1666
- // Latest Gemini
1667
- "openai/gpt-5.2",
1668
- "anthropic/claude-sonnet-4"
1669
- ]
1662
+ // $5/$25 - architecture, audits, heavy lifting
1663
+ fallback: ["anthropic/claude-sonnet-4", "google/gemini-3-pro-preview", "moonshot/kimi-k2.5"]
1670
1664
  },
1671
1665
  REASONING: {
1672
- primary: "openai/o3",
1673
- // $2/$8 - Best value reasoning
1674
- fallback: [
1675
- "openai/o4-mini",
1676
- // Latest o-series
1677
- "anthropic/claude-opus-4.5",
1678
- "google/gemini-3-pro-preview"
1679
- ]
1666
+ primary: "anthropic/claude-sonnet-4",
1667
+ // $3/$15 - best for reasoning/instructions
1668
+ fallback: ["anthropic/claude-opus-4.5", "openai/o3", "xai/grok-4-1-fast-reasoning"]
1680
1669
  }
1681
1670
  },
1682
1671
  // Agentic tier configs - models that excel at multi-step autonomous tasks