ulab-uiuc

    ulab-uiuc/LLMRouter

    LLMRouter: An Open-Source Library for LLM Routing

    llm
    Python
    MIT
    3.1K stars
    316 forks
    3.1K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 17 contributors on GitHub.

    Use Cases & Benefits

    • Implements an intelligent routing system that dynamically selects the optimal large language model (LLM) for each query based on task complexity, cost, and performance.
    • Offers over 16 diverse routing models and a unified CLI with data generation, training, inference, and interactive chat, enabling flexible, cost-aware, and performance-optimized LLM usage.
    • Use for deploying cost-efficient LLM inference pipelines that automatically route queries to the best model for improved response quality and reduced expenses.
    • Use for researchers developing and testing new LLM routing strategies or personalized routing models using the plugin system and extensive benchmark datasets.
    • Use for building interactive chat applications with real-time LLM routing and multimodal input support via the Gradio-based UI and OpenClaw integration.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    LLMRouter requires API keys to make LLM API calls for inference, chat, and data generation. Set the API_KEYS environment variable using one of the following formats:

    💡 Free NVIDIA API Keys: The NVIDIA endpoints currently used in LLMRouter have freely available API keys. To get started, visit https://build.nvidia.com/ to create an account, then you can generate your API keys at no cost.

    Excerpt from the ulab-uiuc/LLMRouter README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    316+87

    Open issues

    32-3

    Compared with peers in LLM

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    ulab-uiuc/LLMRouter compared with LLM repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    NVIDIA/auto-ontology7.5K+5.6K37—
    HKUDS/DeepTutor55.5K+5.5K655 days ago
    affaan-m/ECC297.9K+5.2K6335 days ago
    DietrichGebert/ponytail185.3K+5.1K607 days ago
    ulab-uiuc/LLMRouter3.1K—16—
    Category median113.6K+5.5K60—

    Discover Repositories

    Search across tracked repositories by name or description