AcademyMCP serversDevelopment

llm-router

Development teams that use Claude Code and want to control which model handles each task and what it costs.

  • Recommendedour rating
  • 96repository stars
  • MITlicence
  • todaylast update
git clone https://github.com/ypollak2/llm-router.git
README.md

Loading the file...

What it does

An MCP server for Claude Code that reads each prompt and routes it to a model by complexity, subscription usage and cost. Providers include OpenAI, Gemini, Groq and Ollama. Simple questions can be drafted by a free or local model first, and the routed answer is advisory by default.

Use cases

  1. 01Draft answers to simple questions on a free local model
  2. 02Route a hard task to a more capable provider
  3. 03Keep track of subscription usage across providers

Questions about
llm-router.

What is llm-router used for?

Development teams that use Claude Code and want to control which model handles each task and what it costs. An MCP server for Claude Code that reads each prompt and routes it to a model by complexity, subscription usage and cost. Providers include OpenAI, Gemini, Groq and Ollama. Simple questions can be drafted by a free or local model first, and the routed answer is advisory by default.

How do I install llm-router?

Run this in your terminal: git clone https://github.com/ypollak2/llm-router.git

Is llm-router open source?

Yes. The code is on GitHub (ypollak2/llm-router) under the MIT licence.

Is llm-router safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.