EveryDev.ai
Subscribe
Home
Tools

4,591+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3426
  • Coding2391
  • Infrastructure1055
  • Projects732
  • Marketing662
  • Research612
  • MCP593
  • Analytics538
  • Design533
  • Testing420
  • Security410
  • Data358
  • Prompts260
  • Integration256
  • Communication250
  • Extensions222
  • Voice201
  • Learning193
  • Commerce173
  • DevOps161
  • Web122
  • Finance36
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. RouteLLM
    RouteLLM icon

    RouteLLM

    LLM Orchestration
    Featured

    Open-source framework for serving and evaluating LLM routers that send simpler queries to cheaper models.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Self-hosted RouteLLM framework for serving and evaluating LLM routers, licensed under Apache License 2.0. Model provider API costs (e.g., OpenAI, Anyscale) are external.

    Engagement

    Available On

    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    LLM OrchestrationAI Development LibrariesLLM Evaluations

    Alternatives

    GriptapeMastraGenkit
    Developer
    LMSYSLarge Model Systems Organization

    Listed Oct 2026

    About RouteLLM

    RouteLLM is an open-source Python framework from the lm-sys organization for serving and evaluating LLM routers. It routes each query between a stronger, more expensive model and a cheaper, weaker one, and can be used as a drop-in replacement for OpenAI's client or as an OpenAI-compatible server.

    What It Is

    RouteLLM addresses the cost-quality tradeoff in deploying LLMs: sending everything to the most capable model is costly, while smaller models may reduce quality. A router inspects each query and decides which of two models should handle it. Each request carries a cost threshold; a higher threshold lowers cost but may lower response quality. The project's authors say the provided routers reduced costs by up to 85% while keeping 95% of GPT-4 performance on benchmarks such as MT Bench, and that they match commercial offerings while being over 40% cheaper.

    How Routing Works

    Users initialize a Controller with a router, a strong model and a weak model, then set the model field to router-[ROUTER NAME]-[THRESHOLD], for example router-mf-0.11593. A calibration command determines the threshold that sends a chosen percentage of queries to the strong model, using the public Chatbot Arena dataset by default. The same routing is available through a lightweight OpenAI-compatible server, and a local router chatbot demo shows how messages are routed.

    Included routers are:

    • mf: matrix factorization, the recommended one
    • sw_ranking: weighted Elo
    • bert: BERT classifier
    • causal_llm: LLM-based classifier
    • random

    The trained routers were built on the gpt-4-1106-preview and mixtral-8x7b-instruct-v0.1 pair, and the authors report they generalize to other model pairs without retraining.

    Model Support and Evaluation

    RouteLLM uses LiteLLM to reach many open and closed models, including Anthropic, Gemini, Amazon Bedrock, Together AI, Anyscale and local models via Ollama, plus any OpenAI-compatible endpoint. An OpenAI API key is still required for the embeddings used by the mf and sw_ranking routers.

    An evaluation framework compares routers on the MMLU, GSM8K and MT Bench benchmarks, prints results and generates a performance plot. New routers can be added by implementing the abstract Router class, and new benchmarks by implementing the Benchmark class. The project is released under Apache License 2.0, and the README links a paper and blog post describing the research.

    RouteLLM - 1

    Community Discussions

    Be the first to start a conversation about RouteLLM

    Share your experience with RouteLLM, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Apache-2.0)

    Self-hosted RouteLLM framework for serving and evaluating LLM routers, licensed under Apache License 2.0. Model provider API costs (e.g., OpenAI, Anyscale) are external.

    • Apache License 2.0 (OSI-approved)
    • Drop-in replacement for OpenAI's client or OpenAI-compatible server
    • Trained routers provided out of the box
    • Extensible framework for new routers and benchmark comparison
    • Install via pip install "routellm[serve,eval]"

    Capabilities

    Key Features

    • Drop-in replacement for OpenAI client
    • OpenAI-compatible routing server
    • Pretrained routers (mf, sw_ranking, bert, causal_llm, random)
    • Cost threshold calibration
    • Evaluation on MMLU, GSM8K and MT Bench
    • Extensible with custom routers and benchmarks
    • Support for many providers via LiteLLM
    • Routing to local models

    Integrations

    OpenAI
    LiteLLM
    Anthropic
    Google Gemini
    Amazon Bedrock
    Together AI
    Anyscale
    Ollama
    Hugging Face
    SGLang
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate RouteLLM and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    LMSYS

    Large Model Systems Organization

    Read more about LMSYS
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    Griptape icon

    Griptape

    Modular Python framework for building AI agents, pipelines, and workflows with chain-of-thought reasoning, tools, and memory — open source under Apache 2.0.

    Mastra icon

    Mastra

    Mastra is an open-source TypeScript framework for building AI-powered applications and agents, with built-in support for workflows, RAG, memory, MCP, evals, and observability.

    Genkit icon

    Genkit

    Google's open-source framework for building full-stack, AI-powered and agentic applications in TypeScript, Go, Python, and Dart.

    Browse all tools

    Related Topics

    LLM Orchestration

    Platforms and frameworks for designing, managing, and deploying complex LLM workflows with visual interfaces, allowing for the coordination of multiple AI models and services.

    262 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    386 tools

    LLM Evaluations

    Platforms and frameworks for evaluating, testing, and benchmarking LLM systems and AI applications. These tools provide evaluators and evaluation models to score AI outputs, measure hallucinations, assess RAG quality, detect failures, and optimize model performance. Features include automated testing with LLM-as-a-judge metrics, component-level evaluation with tracing, regression testing in CI/CD pipelines, custom evaluator creation, dataset curation, and real-time monitoring of production systems. Teams use these solutions to validate prompt effectiveness, compare models side-by-side, ensure answer correctness and relevance, identify bias and toxicity, prevent PII leakage, and continuously improve AI product quality through experiments, benchmarks, and performance analytics.

    160 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions