{"adoption": {"forks": 259, "observed_at": "2026-08-28T04:06:59.549302+00:00", "stars": 2547}, "canonical_url": "https://ross.abutalabs.com/products/llmrouter", "card": {"archived": false, "artifact_type": "library", "description": "LLMRouter: An Open-Source Library for LLM Routing", "domain": ["large-language-models", "machine-learning", "artificial-intelligence", "developer-tools"], "enriched": true, "function": ["llm-inference", "machine-learning", "cli", "benchmarking", "rag"], "health_score": 79, "homepage": "https://ulab-uiuc.github.io/LLMRouter/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["ulab-uiuc/LLMRouter"], "name": "ulab-uiuc/LLMRouter", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-08-20T08:24:44+00:00", "repo": "ulab-uiuc/LLMRouter", "stars": 2547, "tags": ["llm-routing", "model-selection", "cost-optimization", "router-training", "gradio-ui", "benchmark"], "topics": [], "urls": [], "use_cases": ["route llm queries to the cheapest model that meets quality requirements", "train a custom llm router on my own query data", "compare different llm routing strategies under a shared benchmark", "reduce llm api costs by dynamically selecting models per query", "build a cost-aware cascade across multiple llm providers", "evaluate routing policies on quality and token cost", "chat with routed models through a web ui"], "what_it_is": "LLMRouter is an open-source Python library that intelligently routes queries to the most suitable LLM based on task complexity, cost, and performance requirements. It provides 16+ router models across single-round, multi-round, multimodal, agentic, and personalized categories, plus a unified CLI for training, inference, and chat with a Gradio UI.", "when_to_avoid": ["you only call a single LLM and have no need for model selection", "you need a production API gateway with rate limiting, auth, and load balancing rather than a research routing library", "your candidate model pool is too small for routing to pay off"], "when_to_choose": ["you serve many diverse queries and want to balance model quality against inference cost", "you want to develop, train, or benchmark LLM routing methods with a unified framework", "you need a ready-made pool of router algorithms (KNN, SVM, BERT-based, graph-based, Elo, etc.)", "you want a CLI and data generation pipeline for building routing supervision"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/llmrouter", "repo": "ulab-uiuc/LLMRouter", "role": "main", "score": 61}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:59.549302+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:24:35.193676+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "232143c6da9d54ab27ff98c8146622f652c336ec7c560eda6fd9b3528c51cb46", "fetched_at": "2026-08-28T04:06:59.549302+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ulab-uiuc/LLMRouter"}, {"content_hash": "7aca469a4fa2b10fffd7ad6f54e1016357695bcf969ec512e55be7aea91df059", "fetched_at": "2026-08-29T10:06:47.761412+00:00", "kind": "homepage", "missing": false, "url": "https://ulab-uiuc.github.io/LLMRouter/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 23, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 330, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 61, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}