lm-sys/RouteLLM
A framework for serving and evaluating LLM routers - save LLM costs without compromising quality observed · 2026-08-28
Health v2 · maintenance only
24/100
- Activity 0
- Release rhythm 35
- Longevity 58
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 822
- days_rel: n/a
- days_push: 753
- n_releases_24m: 0
Adoption not part of the score
5408 stars · 425 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
RouteLLM is a Python framework for serving and evaluating LLM routers that route queries between strong and weak models to cut costs. It provides an OpenAI-compatible client and server, pre-trained routers, and benchmarking tools.
Use cases
- reduce LLM API costs by routing simple queries to cheaper models
- serve an OpenAI-compatible endpoint that routes between GPT-4 and a smaller model
- benchmark and compare different LLM routing strategies
- calibrate cost/quality tradeoff thresholds for model routing
- route requests to local models instead of paid APIs
When to choose
- you pay for a strong LLM like GPT-4 but many queries could be handled by a cheaper model
- you want an OpenAI drop-in replacement with intelligent model routing
- you need to evaluate or research routing algorithms across benchmarks
When to avoid
- all your queries genuinely require top-tier model quality with no cost flexibility
- you use a single self-hosted model with no alternative to route to
- you need non-LLM request routing or generic API gateway features
Facets
framework · maturity active
llm-inference api-framework benchmarking http-server large-language-models machine-learning developer-tools apis python cloud llm-routing cost-optimization openai-compatible model-routing inference-optimization docker
2 sources
- readme: https://github.com/lm-sys/RouteLLM · fetched 2026-08-28 · de8f28bf92e3
- registry_pypi: https://pypi.org/pypi/routellm/json · fetched 2026-08-29 · 73aab407b3b9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lm-sys/RouteLLM | main | 24 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem