@blockrun/clawrouter 0.9.7 → 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
@@ -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