vimoxshah/claude-router

7 stars · Last commit 2026-09-23

Route each Claude Code task to the cheapest Claude model tier that can do it well — via model-pinned subagents.

README preview

# claude-router

> **Route each task to the cheapest Claude model tier that can do it well.**
> A [Claude Code](https://claude.com/claude-code) skill that dispatches work across model-pinned subagents — spend premium intelligence only where errors compound, run everything else at workhorse rates.

![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
![Claude Code](https://img.shields.io/badge/Claude%20Code-skill-6366f1)
![Routing](https://img.shields.io/badge/model--pinned-subagents-8b5cf6)

![How claude-router works](diagram.svg)

---

## Why

Most turns in a session are mechanical — searching, drafting, standard edits. A few moments decide whether the next hour is wasted: an architecture call, a risky diff, a fork in the approach. Paying a premium model for *everything* is waste; paying a cheap model for the moments that matter is worse. So route by task type:

> **Cheap models for volume. Premium models where a mistake compounds.**

You approach top-tier quality while the bulk of tokens generate at workhorse rates.

View full repository on GitHub →