Growing India News, world news, nation news, our news, people's news, grow news, entertainment, fashion, movies, tech, automobile and many more..
Thursday, July 23, 2026
Show HN: Millwright – Rust-based, self-hosted LLM router https://ift.tt/t1jR6DT
Show HN: Millwright – Rust-based, self-hosted LLM router Hey HN, With the news of OpenRouter possibly being acquired and proliferation of hosted LLM routers (i.e. Ramp Router, Vercel’s AI Gateway), I saw the need for a self hosted solution focused on cost savings, transparency, and performance. So, I built an open sourced router with a simple CLI interface that can easily sit between coding agents and GenAI workloads. For the curious and lazy, at the moment, Millwright has the tools for, - Providers: OpenAI-compatible APIs, Anthropic, Amazon Bedrock - Routing: policy-controlled model roles (cheap, mid, frontier), cheapest healthy route selection - Protocols: OpenAI Chat Completions, Anthropic Messages, text and tool translation - Cache Affinity: role-scoped session lanes without serializing concurrent agent traffic - Spend Tracking: per-team costs, cache usage, model/provider mix, request traces - Cost Analysis: measured usage and modeled candidate economics (HTML, Markdown, JSON) - Reliability: bounded failover, circuit breakers, timeouts, concurrency limits - Setup: interactive provider, model, and pricing configuration without storing provider secrets - Deployment: one Rust binary, Docker, SQLite or PostgreSQL Full disclosure: parts of the codebase were built with AI coding agents. All feedback is welcome, I’d especially value feedback on the routing policy, provider coverage, and anything that would block you from self-hosting it. Feel free to open feature/request and/or contribute as well. https://ift.tt/WD7vn09 July 23, 2026 at 12:33AM
Subscribe to:
Post Comments (Atom)
Show HN: Szr: A safer command output reduction for coding agents https://ift.tt/RauUi6B
Show HN: Szr: A safer command output reduction for coding agents https://ift.tt/6mw2clB July 22, 2026 at 11:33PM
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
Show HN: Simple Gantt Chart Software https://ift.tt/sa3dQKF May 7, 2022 at 12:39PM
-
Show HN: Jsonnet Course Online Hi HN! I'm usually a lurker here, but I wanted to share this: I'm an enthusiastic user of Jsonnet[1] ...
No comments:
Post a Comment