Auto Model Router — AI skill for Claude Code
Cache-, quota- and capability-aware LLM router with a Claude Code shim.
How to install Auto Model Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open fstandhartinger/auto-model-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Auto Model Router does
Cache-, quota- and capability-aware LLM router with a Claude Code shim.
Alternatives in AI
- Launch An AI Feature — Workflow recipe — take an AI/LLM feature from a probabilistic-aware PRD to a launch-ready model card by chaini 1.3k ★
- Maestro Companion — Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording 530 ★
- Claudexor — Multi-harness control plane for Claude Code, Codex, Cursor, and OpenCode: quota-aware rotation across multiple 425 ★
README
auto-model-router
A cost-, cache- and quota-aware LLM router. It sits in front of any number of OpenAI-compatible providers and picks a model per user turn so that tasks get solved at the lowest expected cost. It can also route *whole jobs* to a coding agent's official CLI - including one running on a flat-rate subscription - so that work lands on a plan you already pay for instead of a per-token bill. What the vendors allow there is quoted, with links, in [`TERMS.md`](TERMS.md).
Status: experimental, measured. Full method and numbers: [`EXPERIMENTS.md`](EXPERIMENTS.md).
Vision
This router is one link in a longer chain, and it is built so the other links can be plugged in without changing the routing logic.
- Evidence comes from a benchmark API. Which models and providers exist, how capable each is per topic, what a task actually costs there, and what each provider charges for a cache read or write — served by a benchmark API in the benchmarkheaven.com format, cached locally with a TTL, and every number carrying its basis and how strong that basis is (`auto_router/bench.py`). Local measurements override it, because headline scores mis-rank specific models and effort levels.
- A Jev-class model classifies the request. Local Laya on CPU is the sample configuration's default; hosted Jev and a no-model heuristic are selectable. Topic, difficulty, whether it needs tools or a long context, whether it builds on the previous turn, and what a wrong answer would cost. Hosted Jev took about 0.6 s; the current local CPU backend is much slower (measured below). Both receive only a scrubbed and truncated summary of the turn, never the raw transcript.
- Expected cost decides where it goes. Call cost at the route's real cache state, times the measured chance of success, plus the price of a failure.
- **The targets are deliberately het
Related Skills
Clutch
Provider-neutral LLM router and model orchestration engine with auto-learning and budget zones
Claude Code Jev Smart Router
HTTP proxy for Claude Code that selects the Claude model per request to cut cost and latency. Routes on task p
Cmc Proxy
Reverse-proxy a GOAT/commandcode AI subscription to localhost for Claude Code & Codex — OpenAI/Anthropic/Respo
Paseo Agent Link
Account-aware routing, quota recovery, model visibility, and RAM protection for Paseo.
Token Station
Local routing control plane for AI agents and LLM providers, with a loopback-only gateway, smart and quota-awa
Skill Router
Skill + Agent + Model + Thinking depth — auto-routed before any tool fires. One SKILL.md for Claude Code. 90%
Related Agents
Router Haiku
Worker subagent dispatched by the auto-model-router for trivial tasks — reads, lists, lookups, quick edits, cl
Standard Worker High
Default execution tier — most feature work, bug fixes, and moderate multi-file refactors that follow establish
Local Model Specialist
Evaluate on-device LLM integration, GGUF quantization levels, and KV cache memory constraints read-only.