Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ypollak2/llm-router --skill savingsgit clone --depth 1 https://github.com/ypollak2/llm-routerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ypollak2/llm-router/savings)<a href="https://agentmods.dev/skills/ypollak2/llm-router/savings"><img src="https://agentmods.dev/badge/skills/ypollak2/llm-router/savings/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ypollak2/llm-router/savings"><img src="https://agentmods.dev/badge/skills/ypollak2/llm-router/savings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00428 |
| Opus 5.5 | $0.00006 | $0.00171 |
| Sonnet 5.5 | $0.00003 | $0.00086 |
| Haiku 4.5 | $0.00002 | $0.00043 |
Grade A, and why
savings scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
LLM Router — Savings Tracking Skill
Track and report how much you've saved by routing tasks to cheaper models.
Viewing Savings
llm_savings — Cross-session savings by period (today / week / month / all time)
llm_usage("all") — Full dashboard: subscription %, Codex status, savings, providers
llm_dashboard — Open web dashboard at localhost:7337
Savings Digest (Slack / Discord)
Send a weekly savings summary to your team channel:
llm_digest(period="week") — format digest, print only
llm_digest(period="week", send=True) — format + push to LLM_ROUTER_WEBHOOK_URL
Set LLM_ROUTER_WEBHOOK_URL=https://hooks.slack.com/... in your environment.
Auto-detects Slack, Discord, or generic JSON webhook from the URL.
Spend Spike Alerts
The digest automatically flags when today's spend is > 2× the 7-day average. No config needed — it's always on.
Routing Policy
llm_router_admin(action="policy") — Show active org/repo routing policy + last 10 audit decisions
Set policy in ~/.llm-router/org-policy.yaml:
block_models:
- "o3*" # never use o3 series (too expensive)
- "gpt-4o"
allow_models:
- "gemini*" # prefer Gemini (allow overrides block)
task_caps:
image: 2.00 # max $2/day on image generation
Routing Quality
llm_benchmark — Per-task routing accuracy from your 👍/👎 feedback
llm_rate — Rate the last response to improve future routing
Full routing stats / classifier accuracy: no MCP door on the consolidated surface —
run llm-router routing-report from a terminal.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +7 lines · +15 tokens per session 1f8187ec6345
- 3mo ago First seen · 55 lines · 0 tokens per session scan A 7600b8b0c4fd
savings is a skill published in the GitHub repository ypollak2/llm-router (131 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 428 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
savings compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| savingsypollak2/llm-router | Skill | 131 | yesterday | MIT | A | 15 | Claude Code |
| clawrouterBlockRunAI/ClawRouter | Skill | 6.7k | 2d ago | MIT | A | 171 | Claude Code, Codex |
| imagegenBlockRunAI/ClawRouter | Skill | 6.7k | 2d ago | MIT | A | 45 | Claude Code, Codex |
| phoneBlockRunAI/ClawRouter | Skill | 6.7k | 2d ago | MIT | A | 72 | Claude Code, Codex |
| polymarket-tradingBlockRunAI/ClawRouter | Skill | 6.7k | 2d ago | MIT | A | 76 | Claude Code, Codex |
| releaseBlockRunAI/ClawRouter | Skill | 6.7k | 2d ago | MIT | A | 44 | Claude Code, Codex |
| predexonBlockRunAI/ClawRouter | Skill | 6.7k | 2d ago | MIT | A | 84 | Claude Code, Codex |