AqueGen/model-routing

5 stars · Last commit 2026-11-28

Claude Code plugin for token economy: the strongest model thinks, cheaper models grind. Pinned subagents (sonnet scout and implementer, haiku test-runner, opus reviewer), a routing skill, and a dispatch counter that measures what actually stayed off the session model.

README preview

# model-routing

[![tests](https://img.shields.io/github/actions/workflow/status/AqueGen/model-routing/validate.yml?branch=main&label=tests)](https://github.com/AqueGen/model-routing/actions/workflows/validate.yml)
[![version](https://img.shields.io/github/v/tag/AqueGen/model-routing?label=version)](https://github.com/AqueGen/model-routing/releases)
[![docs](https://img.shields.io/badge/docs-aquegen.github.io-blue)](https://aquegen.github.io/model-routing/)

Tiered model routing for Claude Code token economy: **every subagent dispatch runs on the cheapest tier and effort its role needs, and the plugin adds no dispatches of its own.**

The plugin does not decide whether work leaves your main session - you, your repo policies and your other skills (Superpowers, workflows) do. It decides what a subagent runs on once it is dispatched: implementation, review and test runs go to cheaper tiers at a pinned effort instead of inheriting the session model, and the raw output (test logs, file reads) stays out of your main session context. Everything stays inside Anthropic models: no proxy, no third-party gateway.

Full documentation: **https://aquegen.github.io/model-routing/**

## Will it save you money?

A subagent is not free: it starts with an empty context, so everything it reads is a cache write, and that bill lands whether or not this plugin is installed. The plugin changes the price per token, not that penalty.

- You already dispatch subagents (Superpowers, workflows): it saves, roughly a sixth on the one measured workload - $1.68 with the tier routed down against $2.01 for the same work repriced at your session's tier.
- You rarely delegate: since 0.17 it adds no dispatches, so what remains is an always-on surcharge of about 1.9k cache-write tokens per session. Up to 0.16 it pushed dispatches that would not otherwise have happened, which cost roughly a fifth on that workload.
- Multi-file implementation on sonnet instead of opus cost 53% less with every hidden test passing.

View full repository on GitHub →