model-router
Reviewed
at commit 36f76db
Route supported subagent work to Sonnet or Haiku while keeping the main conversation on its model. /router for controls.
0 upvotes
Log in to upvote or save- Made by
- Prompt Advisers
- Pinned commit
-
36f76db2eaace816c651a0c1ad3e6cb46f770432 - What we checked
-
Sends the steps of subagents (and optionally main-loop steps that follow read-only tools) to Sonnet or Haiku on your own account instead of the session model, and shows an estimated saving above the prompt. It stores only its on/off, model and mode settings, makes no network calls and runs no programs.
Review details
Static review of the source at the pinned commit; not run. Hooks: session.start (restores settings from $.store, registers /router), tool.call (records the engine's read-only verdict by tool id in session state, never blocks or edits the call), turn.step (rewrites the model, and drops effort for Haiku, on subagent steps or on main-loop steps after read-only tool results; skips when a tool failed or wrote, the session model is not dearer, or Haiku's context limit would be exceeded), command.run for /router, and ui.render for the AbovePrompt band. Uses $.state, $.store, $.session.messages, $.ui.log and $.ui.resolve. Cost estimates use a hard-coded price table. No network, file, process or env access. Routed steps still go to Claude, so quality and token cost on those steps change, but nothing leaves your account.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): yes
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/model-router/)