@prxy-official/router

Router✓ Verified

Picks the best model for each request. Strategies: cheapest-first, fallback chain, or q-learning based on per-query historical success rate.

routingv1.0.0MITcloudlocal#routing#model-selection#cost-optimization#q-learning

Install

# Cloud
PRXY_PIPE=mcp-optimizer,semantic-cache,@prxy-official/router

# Local
# Built-in module — ships with the gateway, no install needed
PRXY_PIPE=mcp-optimizer,semantic-cache,@prxy-official/router

Add this module to your PRXY_PIPE env var. The order matters — modules run left-to-right on each request.

Configuration

Schema: https://github.com/Ekkos-Technologies-Inc/prxy-monster/blob/main/packages/modules-core/src/router.ts

Author

ekkOS Technologies Inc. · @Ekkos-Technologies-Inc