higress-group/HiRoute

494 stars · Last commit 2026-11-28

Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.

README preview

<p align="right"><a href="README.zh-CN.md">简体中文</a></p>

<p align="center">
  <a href="https://hiroute.ai/en/#tour"><img src="apps/website/public/media/hiroute-promo-en-readme.jpg" alt="Watch the 3-minute HiRoute tour: a real session where a new model handles routine turns and the primary model steps in after a low score" width="760"></a>
</p>

<p align="center">
  <strong>Pay for your strongest model only where the work needs it.</strong><br>
  Economical models handle routine turns; your primary model takes the complex work<br>
  and steps in when an economical model falls short.<br>
  Keep using Codex, Claude Code and other Agents with your subscriptions, APIs and local models.
</p>

<p align="center">
  <a href="https://hiroute.ai/en/download/">Download</a> ·
  <a href="#get-started">Quickstart</a> ·
  <a href="#real-world-cost-savings">Cost results</a> ·
  <a href="#how-well-does-the-routing-policy-work">Experiments</a> ·
  <a href="https://hiroute.ai/en/docs/">Documentation</a> ·
  <a href="CONTRIBUTING.md">Contributing</a>

View full repository on GitHub →