This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+7 more
Summary
AI summarySmart Enforcement Mode becomes the default, balancing cost savings with developer productivity.
Full changelog
What's New
Smart Enforcement Mode (new default)
Balances cost savings with developer productivity:
- query / research / generate / analyze tasks → hard block (forces cheap model routing)
- code tasks → soft (file tools are never blocked for actual editing)
- Target: >80% of question-answering goes through the router to free/cheap models
# Switch enforcement mode instantly
llm-router set-enforce smart # (default for new users) balanced
llm-router set-enforce hard # maximum savings, all tasks enforced
llm-router set-enforce soft # suggestions only, never blocks
User-Acceptance Feedback Loop
llm_ratefeedback now influences model ordering — models users rate poorly are pushed down the chain- Acceptance rate thresholds: ≥70% → no penalty, ≥50% → 20% penalty, <50% → 40% penalty
- Model Performance section added to
llm_usagedashboard (P50/P95 latency + acceptance rate)
Reliability Fixes
- Stale pending state cleared on session start — crashed/killed sessions no longer block tools in the next session
- Orphaned
pending_route_*.jsonfiles are now cleaned up automatically atSessionStart
How to upgrade
pip install --upgrade claude-code-llm-router
llm-router install --force
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About ypollak2/llm-router
Subscription-aware LLM router for Claude Code. Routes tasks to 20+ providers (OpenAI, Gemini, Groq, Ollama, Codex) based on complexity classification, Claude subscription pressure, and cost. Free tasks stay on Claude subscription; expensive tasks fall back to the cheapest capable model. Includes 30 MCP tools, 6 auto-routing hooks, semantic dedup cache, prompt caching, daily spend cap, and a live web dashboard.
Related context
Related tools
Beta — feedback welcome: [email protected]