Skip to content

ypollak2/llm-router

v2.4.0 Feature

This release adds 4 notable features for engineering teams evaluating rollout.

Published 1mo LLM Frameworks
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-routing anthropic claude claude-code cost-optimization gemini
+7 more
litellm llm llm-router mcp-server model-router ollama openai

Summary

AI summary

.llm-router.yml configuration file enables commit‑level routing policy and repo fingerprinting.

Full changelog

What's new

  • .llm-router.yml — commit routing policy alongside your code. Searched from cwd up to home:
    ```yaml
    profile: balanced
    enforce: suggest
    block_providers: [openai]
    routing:
    code:
    model: ollama/qwen3.5:latest
    daily_caps:
    _total: 2.00
    ```
  • ~/.llm-router/routing.yaml — user-level overrides (repo config wins)
  • llm-router config show — display effective settings with source annotation
  • llm-router config lint — validate YAML, surface unknown keys and invalid values
  • llm-router config init — create starter .llm-router.yml with repo-fingerprinted profile
  • Repo fingerprinting — auto-detects Python/Node/Go/Rust/Java and suggests appropriate profile
  • Block providersblock_providers list removes providers from the fallback chain
  • Model/provider pins — per-task routing.{task_type}.model / .provider overrides

Upgrade

```bash
pip install --upgrade claude-code-llm-router
llm-router install
```

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

Track ypollak2/llm-router

Get notified when new releases ship.

Sign up free

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.

All releases →

Related context

Earlier breaking changes

  • v9.2.0 Changes auto‑route directive from advisory "DO NOT SKIP" to hard constraint with explicit blocked tools list.
  • v9.2.0 Breaks permanent downgrade of enforcement after first Edit/Write; v13 now requires per‑turn routing.

Beta — feedback welcome: [email protected]