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.
https://hiroute.ai β// readme
Economical models handle routine turns; your primary model takes the complex work
and steps in when an economical model falls short.
Keep using Codex, Claude Code and other Agents with your subscriptions, APIs and local models.
Real-world cost savings
In a real research and architecture-review task, Qwen 3.8 Flash did the research and GPT-6 Astra made the critical decision. At the same acceptance standard, the task cost about 90% less than running everything on Astra.
Switching models keeps the savings
HiRoute changes models only at clear boundaries: a new user message, or context compaction and rebuild. Tool calls within a turn stay on the same model. A switch misses the cache once, then later calls hit it again, so cache loss does not eat into the savings. Switching Models Loses Cache, Not the Savings
Familiar Agents, more model choices
Keep working in Codex, Claude Code, Qoder, Pi, OpenCode, Hermes or DeepSeek Harness. HiRoute runs locally and brings supported subscriptions, API connections and local models into one place. For example, combine an economical API model with your Codexβ¦