Deterministic Routing of Queries Between Local and Hosted LLM
Open Source Project
Hacker News • 58 Points
Balancing cost, privacy, and performance in LLM deployments
Intelligent, deterministic routing for optimal LLM selection
Wayfinder Router is an open-source tool that automatically routes your LLM queries between local and hosted models based on deterministic rules. It analyzes query complexity, privacy requirements, and cost constraints to make optimal routing decisions in real-time.
Smart routing that saves costs without sacrificing quality
Rule-based decisions ensure predictable, auditable query paths
Sensitive data stays local; only appropriate queries reach hosted APIs
Reduce API spend by routing simple queries to local models
Instant routing decisions with minimal overhead
Define your own routing logic based on query patterns
Drop-in replacement for existing LLM API calls
Incoming query is analyzed for complexity, data sensitivity, and intent
Deterministic rules determine the optimal model destination
Query is routed to local or hosted LLM based on evaluation
Response is returned with full transparency and logging
Wayfinder Router: Making every query count