ypollak2/llm-router
by Various
Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain keeps costs 70–85% lower.
MCP
ypollak2/llm-router
Added 1 June 2026
Overview
LLM Router is a Python-based tool that routes requests from AI coding assistants such as Claude Code, Cursor, and Copilot to different language models. It uses a free-first fallback chain that prioritizes cost-free options, reducing overall API costs by 70–85%.
Best for
Best for
Developers using multiple AI coding assistants who want to minimize API costs.
Use cases
- Directing coding queries to the cheapest available LLM
- Fallback routing when the primary model is unavailable or rate-limited
- Unifying multiple AI coding tools under a single routing layer
How to use
Install
pip install llm-routing Tools exposed
llm-routingllm-routerclaude-code-llm-router
Tested with
Claude Code, Cursor, VS Code, ChatGPT
Notes
LLM Router is a Python-based tool that routes requests from AI coding assistants such as Claude Code, Cursor, and Copilot to different language models. It uses a free-first fallback chain that prioritizes cost-free options, reducing overall API costs by 70–85%.
27 stars on GitHub. Last updated 2026-06-01. Licensed MIT.
Use cases
- Directing coding queries to the cheapest available LLM
- Fallback routing when the primary model is unavailable or rate-limited
- Unifying multiple AI coding tools under a single routing layer
Pros
- Significant cost reduction with free-first fallback chain
- Compatible with a wide range of popular AI coding tools
- Open source and easy to integrate into existing workflows
Cons
- Low GitHub star count indicates limited community adoption and testing
- Requires manual configuration of fallback chains and API keys
- Performance depends on the availability and speed of free LLM endpoints
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Significant cost reduction with free-first fallback chain
- Compatible with a wide range of popular AI coding tools
- Open source and easy to integrate into existing workflows
Cons
- Low GitHub star count indicates limited community adoption and testing
- Requires manual configuration of fallback chains and API keys
- Performance depends on the availability and speed of free LLM endpoints
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Codeium
Codeium
Free AI autocomplete and chat across 40+ IDEs. The volume player in AI coding assistants, now sibling to Windsurf.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
ollama
Community
Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
LiteLLM 🚅
Community
Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, Vertex
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.