AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Code Assistant/
llm-router
llm-router logo

llm-router

Active·★ 27·MIT·Updated 2026-05-27
★ Trending★ Code Assistant★ Dev Tooling

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.

LLM Router is an MCP server and hook set that intercepts prompts and routes them to the cheapest model that can handle the task, saving 60-80% on costs. It works with Claude Code, VS Code, Cursor, and many other AI coding tools, automatically offloading simple tasks to cheaper models while reserving premium models for complex work.

#ai-routing#anthropic#claude#claude-code#cost-optimization#gemini#litellm#llm
$ Install
$ pipx install claude-code-llm-router && llm-router install
↗ Visit site★ GitHub
01

Features

01Intelligent routing with task classification and cost optimization
0246 tools across 6 categories: smart routing, text, code, filesystem, media, and monitoring
03Support for 20+ providers including Ollama, Gemini, OpenAI, Anthropic, and more
04Budget control with per-provider caps, dashboards, and enforcement modes
05Seamless integration with multiple hosts via MCP and hooks
02

Compatibility

Claude Code
Claude Code
Verified via docs
Codex CLI
Codex CLI
Verified via docs
VS Code
VS Code (MCP native)
Verified via docs
Cursor
Cursor IDE
Verified via docs
Gemini CLI
Gemini CLI
Verified via docs
03

Quick start

1
$ pipx install claude-code-llm-router
2
$ llm-router install
04

Use cases

↳Automatically route simple queries to free/cheap models in AI coding assistants
↳Reduce costs in Claude Code by offloading low-value prompts to cheaper models
↳Centralized budget management for teams using multiple LLM providers
05

Alternatives

Context7 logo
Context7★ 56.4k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
vs →
awesome-cursorrules logo
awesome-cursorrules★ 39.8k
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors
vs →
context-mode logo
context-mode★ 16.0k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
vs →
Auto-claude-code-research-in-sleep logo
Auto-claude-code-research-in-sleep★ 11.0k
ARIS ⚔️ (Auto-Research-In-Sleep) — Claude Code skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation via Codex MCP
vs →
agents-best-practices logo
agents-best-practices★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
vs →
openagent logo
openagent★ 5.1k
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
vs →
awesome-claude logo
awesome-claude★ 250
HeyClaude is a curated registry and distribution surface for Claude and AI-workflow assets: agents, MCP servers, skills, commands, hooks, rules, guides, tools, jobs, Raycast feeds, static data exports, and an npm MCP package.
vs →
three.ws logo
three.ws★ 40
Open-source 3D AI agent framework — GLB/glTF avatars with LLM brains, memory, emotions, and autonomous payments. MCP server · x402 · Solana/EVM · Three.js. Embed anywhere as a web component. Character studio, animation gallery, OAuth 2.1. Browser-native.
vs →
See all alternatives →

Related searches

llm-router AlternativesBest Code Assistant Tools 2026Open Source Code Assistantllm-router Tutorialllm-router Vs Competitorsai-routinganthropicclaude

Comments

Log in to leave a comment
  • O
    Oakley WilsonApr 22, 2026

    Good for teams using multiple AI coding tools who want consistent routing logic.

  • S
    Shawn NguyenMar 30, 2026

    Route to the best model for each task type without manual switching.

  • A
    Aspen NguyenMar 30, 2026

    Universal LLM routing across Claude Code, Cursor, Codium without changing workflows.

  • R
    Remy KimMar 18, 2026

    Routing rules are configurable, not opaque.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 27
Last commit3d ago
StatusActive
LicenseMIT
CategoryCode Assistant
Trend (30d)
+1↑ 0.7%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.