{"repo":"mysteriousHerb/lazyrouter","free":true,"listed":false,"github":"https://github.com/mysteriousHerb/lazyrouter","clone":"git clone https://github.com/mysteriousHerb/lazyrouter.git","description":"Lazyrouter - fully self-hosted router for openclaw for cost saving","language":"Python","stars":23,"topics":[],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"LazyRouter English 中文 LazyRouter is a lightweight OpenAI-compatible router that picks the best configured model for each request. It is designed for simple operation: define providers/models in YAML, call model: \"auto\" , and let the router choose. Why This Exists In agentic workflows, context grows quickly and token usage gets expensive. Without smart routing, trivial prompts like \"hi\" or \"hello\" can still hit premium models (for example, Opus), which is not economical. LazyRouter solves this by putting a cheap, fast router model in the middle as a gatekeeper: - It chooses the right model for each request instead of always using the most expensive one. - It reduces unnecessary spend in long-running agent sessions (especially OpenClaw-style workflows). - It keeps a single OpenAI-compatible interface while handling provider differences behind the scenes. It also helps translate behavior across API styles (OpenAI, Gemini, and Anthropic). Highlights - OpenAI-compatible /v1/chat/completions endpoint - LLM-based routing without extra training pipelines - Mixed provider support in one config (OpenAI, Anthropic, Gemini, OpenAI-compatible gateways) - Useful as a cost-control gatekeeper for agent frameworks like OpenClaw - Built-in compatibility handling between OpenAI, Gemini, and Anthropic styles - Streaming and non-streaming response support - Health and benchmark endpoints for operational visibility - Automatic model fallback on rate limits or errors (tries ELO-similar models) - Ex","default_branch":null,"files":null,"tree":[],"storefront":"/r/mysteriousHerb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mysteriousHerb/lazyrouter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}