Claude Code mod

model-router

Routes each coding subtask to the cheapest Claude model and effort that can do it reliably, logs real token cost per subagent automatically, and learns routing boundaries from verified runs.

Context & usage mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add DevstateBelgium/model-router
/plugin install model-router@model-router

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L2Writes or runs: drives Claude, reads files, reads mod state, persists state, draws
Sees
subagent spawns, every prompt
Draws in
Pane
Hooks
session.startagent.spawnturn.stepsession.endcommand.runprompt.submitui.render

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
.
Marketplace
model-router
Author
DevstateBelgium
License
MIT
Last updated
9 October 2026

FAQ

What is model-router?

Routes each coding subtask to the cheapest Claude model and effort that can do it reliably, logs real token cost per subagent automatically, and learns routing boundaries from verified runs. It is a mod for Claude Code, from DevstateBelgium/model-router on GitHub.

What can the model-router mod access?

Its widest reach is "writes or runs" (drives Claude, reads files, reads mod state, persists state, draws). It sees subagent spawns, every prompt. It draws in Pane. Like any mod, it runs with your permissions.

How do I install model-router?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add DevstateBelgium/model-router and then /plugin install model-router@model-router.

More context & usage mods

model-pilot

iampramod43/claude-mods

Routes a task to a fit model or a small team of subagents, shares context through a versioned artifact store, and shows it all live: radial progress, agent lanes and a data-flow graph

Context & usage mods/plugin install

model-router

dickyadrian/agent-toolbelt

Logs how hard each prompt is and what every turn costs, to measure whether routing easy prompts to a cheaper model would pay off

Context & usage mods

model-fit

a-pavithraa/claude-mods

After each ask you type, says what it looked like it needed and what it cost; after a simple or routine ask on a bigger model or effort than it needed, what Haiku, Sonnet or a lower effort would have cost; warns when an ask runs on too small a model or a complex one at low effort; says when the context has grown expensive and how to shrink it; ships /model-fit:baton, a handoff note for a fresh session. Optional Jev shadow labels for comparison.

Context & usage mods/plugin install

model-router

jo-greco/johnny-mods

Sends quick questions to Claude Haiku 5.5 to save usage; everything else stays on your model.

Context & usage mods/plugin install

model-advisor

Jaroslawczyk/ClaudeModes

Suggests the cheapest fitting model, effort and mode for a prompt, and shows where the session's limits went

Context & usage mods/plugin install

model-usage

j-byte-s-industries/claude-helpers

Pane with token usage per model as a GitHub-style activity graph, a pixel crab per model, cost share dials against the 5-hour or weekly limit, and account usage limits

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.