Hydra routes local tasks to the cheapest model that clears a confidence threshold

jhaankit373 · reddit · 2026-07-28

The author built Hydra, a local-first router that discovers models already running on the machine — such as Ollama and LM Studio — and sends each task to the cheapest model that clears a confidence threshold.

The router keeps traffic on local metal, uses no network calls to make routing decisions, and falls back to local Qwen so requests do not hard-fail on rate limits. The author highlights two design ideas: an SPRT-style sequential test to stop probing once confidence is high enough, and a higher confidence bar for “dangerous” files based on a graph metric inspired by percolation theory.

It is MIT licensed, shipped as a single Go binary, and the author is asking whether confidence-of-correctness is the right routing signal at all.

Original post →

More from coding & agent

coding & agent channel →