model-router

model-router is a Claude Code mod by Suciones that routes each prompt, and each part of a multi-part prompt, to Haiku, Sonnet or Opus by complexity to save credits and time.

Updated 2026-10-19

What is model-router?

model-router is a Claude Code mod by Suciones that routes each prompt, and each part of a multi-part prompt, to Haiku, Sonnet or Opus by complexity to save credits and time. It is listed under Agents & automation and has no public popularity data yet.

TypeClaude code mod
AuthorSuciones
RepositorySuciones/model-router
Popularityno public popularity data yet
CategoryAgents & automation
SecurityReview before installing (76/100)
Rank#8,595 of 9,397 Claude Code mods; #718 in Agents & automation
Last commit2026-10-19
Hooks6 events
Seesevery prompt
Draws onnothing

Is model-router safe to install?

model-router scores 76/100 on the MCPMods security check: Review before installing. Things to review: watches every prompt or event. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.model.classifydrives Claude
$.prompt.submitdrives Claude
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install model-router?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Suciones/model-router
    claude plugin validate ./model-router/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Suciones/model-router && claude plugin install model-router@model-router

Or ask Claude to set it up

Paste this into Claude Code and it installs model-router for you:

Install the "model-router" Claude Code mod from https://github.com/Suciones/model-router. Run claude plugin validate on it first and show me what it can access before you enable it.