Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
LLMRouter: An Open-Source Library for LLM Routing
| Date | Stars |
|---|---|
| 2026-07-31 | 2184 |
| 2026-08-03 | 2193 |
| 2026-08-06 | 2193 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="center">
<img src="assets/logo_claw.png" alt="LLMRouter Logo" width="200">
</div>
<h1 align="center">🚀 LLMRouter: An Open-Source Library for LLM Routing</h1>
<div align="center">
<p>
<a href="https://www.python.org/downloads/release/python-3109/"><img src="https://img.shields.io/badge/PYTHON-3.10-3776AB?style=for-the-badge&logo=python&logoColor=white" alt="Python"></a>
<a href="https://github.com/ulab-uiuc/LLMRouter/pulls"><img src="https://img.shields.io/badge/PRS-WELCOME-orange?style=for-the-badge" alt="PRs"></a>
<a href="https://join.slack.com/t/llmrouteropen-ri04588/shared_invite/zt-3mkx82cut-A25v5yR52xVKi7_jm_YK_w"><img src="https://img.shields.io/badge/SLACK-JOIN%20US-4A154B?style=for-the-badge&logo=slack&logoColor=white" alt="Slack"></a>
<a href="https://github.com/ulab-uiuc/LLMRouter/issues/136"><img src="https://img.shields.io/badge/💬WeChat-Group-07c160?style=for-the-badge&logo=wechat&logoColor=white&labelColor=1a1a2e"></a>
<a href="https://ulab-uiuc.github.io/LLMRouter/" style="text-decoration:none;"><img src="https://img.shields.io/badge/DOCS-ONLINE-0A9EDC?style=for-the-badge&logo=readthedocs&logoColor=white" alt="Docs"></a>
<a href="https://x.com/youjiaxuan/status/2005877938554589370" style="text-decoration:none;"><img src="https://img.shields.io/badge/TWITTER-ANNOUNCEMENTS-1DA1F2?style=for-the-badge&logo=x&logoColor=white" alt="Twitter"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/LICENSE-MIT-2EA44F?style=for-the-badge" alt="License"></a>
</p>
</div>
## ✨ Introduction
<div align="center">
<img src="assets/llmrouter_.png" alt="LLMRouter Overview" style="width: 100%; max-width: 1000px;">
</div>
**LLMRouter** is an intelligent routing system designed to optimize LLM inference by dynamically selecting the most suitable model for each query. To achieve intelligent routing, it defines:
1. 🚀 *Smart Routing*: Automatically routes queries to the optimal LLM based on task complexity, cost, and performance requirements.
2. 📊 *Multiple Router Models*: Support for **over 16 routing models**, organized into five major categories—**single-round routers, multi-round routers, multimodal routers, agentic routers, and personalized routers**—covering a wide range of strategies such as KNN, SVM, MLP, Matrix Factorization, Elo Rating, graph-based routing, BERT-based routing, hybrid probabilistic methods, transformed-score routers, and more.
3. 🛠️ *Unified CLI*: Complete command-line interface for training, inference, and interactive chat with Gradio-based UI.
4. 📈 *Data Generation Pipeline*: Complete pipeline for generating training data from 11 benchmark datasets with automatic API calling and evaluation.
## 📰 News
- 📈 **[2026-07]**: **TSRouter** - We've released TSRouter, a multimodal router for time series reasoning! TSRouter routes each time series query to the best (modality, model) pair — text LLMs vs. visual/mix VLMs — via a 4-partite heterogeneous graph over task, query, modality, and model nodes, supports cost-aware routing scenarios and zero-shot generalization to unseen models and novel tasks, and ships with the full TSRBench data pipeline plus a converter to the standard LLMRouter data interface. Check out the [paper](https://arxiv.org/abs/2607.08940v1) for details.
- 🚀 **[2026-05]**: **RouteProfile Code & Paper Released** - We've released **RouteProfile**, a general framework for designing LLM profiles for routing! RouteProfile enables structured profile construction from heterogeneous interaction histories, supports flat, embedding-based, text-GNN, and trainable GNN profiles, and evaluates routing performance across SimRouter, MLPRouter, and GraphRouter under both standard and new-LLM settings. Check out the [paper](https://arxiv.org/abs/2605.00180) and [code](https://github.com/ulab-uiuc/RouteProfile) for details.
- 🖥️ **[2026-02]**: **ComfyUI Interface** - We've released the visual interface for LLMRouter! Now you can visually consExcerpt of 39,840 characters
Read on GitHub225
Claude · @anthropics
63
44
42
31
18
14
8
3
2
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:a370051e4a626d79, llm:Repository name and description: 'LLMRouter: An Open-Source Library for LLM Routing' (Python). Suggests tooling to route requests between LLMs or chains — likely an inference-serving / routing middleware for LLMs.
matched fp:a370051e4a626d79, llm:Repository name and description: 'LLMRouter: An Open-Source Library for LLM Routing' (Python). Suggests tooling to route requests between LLMs or chains — likely an inference-serving / routing middleware for LLMs.
matched fp:a370051e4a626d79, llm:Repository name and description: 'LLMRouter: An Open-Source Library for LLM Routing' (Python). Suggests tooling to route requests between LLMs or chains — likely an inference-serving / routing middleware for LLMs.