griffin

Griffin / Blog

The best LLM routers in 2026

Six routers that pick a cheaper model for you, how each one decides, what it costs in November 2026, and when you don’t need one.

By Ilya Volodarsky · updated · sources checked · Winding AI makes Griffin, one of the tools here

Short answer: For the least setup, OpenRouter Auto: free, inside OpenRouter. For a router trained on your own evals, Not Diamond. Self-hosting? LiteLLM’s auto routing (beta). On Cloudflare, its new Auto Router. Griffin routes per feature only after a cheaper model passed replays of your own calls. RouteLLM is research code, unmaintained since 2024.

Disclosure: Winding AI, Inc. makes Griffin and wrote this comparison. The order is: how easy it is to start, then how well the decision fits your own traffic, then price and openness. Griffin is fifth because it needs a few days of your real traffic before it routes anything. Benchmark numbers come from our own RouteBench (one run, not yet repeated).

Six LLM routers. Prices from each vendor’s own pricing page or docs, read November 20, 2026.
ToolHow it decidesPrice (Nov 2026)Runs whereLearns from your data?Catch
OpenRouter AutoA decision model rates each requestNo extra fee1OpenRouterNoDefault mode chose cheap at a quality cost on RouteBench
Not DiamondA trained router per prompt; custom routers from your evals$0.05 per million tokens routed2API, in front of your gatewayYes, with custom routersYou need eval data to train it
LiteLLM auto routingComplexity score, keywords or an LLM classifier (beta)Free, open source3Your LiteLLM proxyNo (rules and scores you tune)Beta; you tune the tiers
Cloudflare AI Gateway Auto RouterClassifies task type and difficulty, ranks models by quality vs costPart of AI Gateway4Cloudflare AI GatewayNoNew; check status and fees
GriffinPer feature, from your own calls replayed and graded5% of routed spend after the first $505Griffin’s edge, your OpenRouter keyYes, your real callsNeeds your traffic first; TypeScript SDK
RouteLLMTrained routers between one strong and one weak modelFree, Apache 2.06Self-hostedYou can retrain itNo commits since August 2024

How we chose

An LLM router picks which model answers a request, usually to pay less for the same answer. There are three kinds: rules you write (fallbacks, “use the cheap model for this endpoint”), per-prompt classifiers that score each request, and routers that grade models on your own calls before switching. Gateway rules are covered in the best LLM gateways; this list is the routers that choose for you.

  • On November 20, 2026 we read each router’s pricing page, docs and repository. Every claim links to its source at the end.
  • We ran OpenRouter Auto and Griffin on RouteBench, our open benchmark of 162 held-out app tasks. That was one run on October 8, 2026, not yet repeated; we quote it as one data point.7
  • Not Diamond, LiteLLM’s auto routing and Cloudflare’s Auto Router aren’t on RouteBench yet, so their sections have no scores.
  • Martian and Unify, often listed as routers, no longer market one: Martian presents itself as a research lab, and Unify as a continual-learning company.8,9

1. OpenRouter Auto

Best for: routing with nothing to set up

Send model: "openrouter/auto" and OpenRouter picks the model and reasoning effort for each request. Its docs say a fast decision model rates the request on several aspects and weighs live prices, cache status and benchmarks. Variants exist for coding and early-access models.1

On RouteBench’s one run, the default Auto mode cost $0.42 per 1,000 tasks and passed 74.7%, against 89.5% for always using Claude Opus 5.5 at $9.87. Its high setting matched Opus’s 89.5% at $5.45.7

Pricing: free to use; you pay the chosen model at OpenRouter’s prices plus its credit fee.1,10

Strengths

  • Zero setup if you already use OpenRouter.
  • No routing fee.
  • Quality and cost settings to trade one for the other.

Weaknesses

  • It decides from general data, not your prompts or your idea of a good answer.
  • Each request can land on a different model, which makes failures harder to reproduce.
  • Only inside OpenRouter.

Who it’s for: OpenRouter users who want lower bills today and can accept some quality drift.

2. Not Diamond

Best for: a router trained on your own evaluation data

Not Diamond predicts the best model for each prompt. You can use its general router or train a custom one on your own evaluation data, then call your models through your existing gateway; it calls itself “not a gateway”. In 2026 it is aimed at coding-agent workloads.11,2

Pricing: pay as you go at $0.05 per million tokens routed; Enterprise custom. Its pricing page says routing adds 100 to 150 ms.2

Strengths

  • Custom routers learn from your own data.
  • Works with the gateway you already have.
  • Clear, usage-based price.

Weaknesses

  • A custom router needs labelled evals first.
  • Adds a network hop before each call.
  • Proprietary.

Who it’s for: teams with eval datasets who want a router fitted to them.

3. LiteLLM auto routing

Best for: self-hosted routing inside your own proxy

LiteLLM’s proxy has long offered rule-based routing: by cost, latency or usage, with fallbacks.12 Its auto routing, in beta, scores each request’s complexity on several dimensions and sends it to a tier (simple, medium, complex, reasoning), with optional keyword rules or an LLM classifier.3

Pricing: free in the open-source proxy; custom classifier instructions are an Enterprise feature.3,13

Strengths

  • Runs in your own infrastructure.
  • Free and open source.
  • Combines with LiteLLM’s fallbacks and budgets.

Weaknesses

  • Beta, and the tiers are yours to tune.
  • Complexity is a proxy for quality, not a measure of it.
  • You run the proxy.

Who it’s for: teams already on LiteLLM who want cheaper models for simple requests.

4. Cloudflare AI Gateway Auto Router

Best for: routing for apps already on Cloudflare

Cloudflare’s AI Gateway added an Auto Router that classifies each request’s task type and difficulty, then ranks eligible models by expected quality against cost. It sits next to the gateway’s dynamic routes, fallbacks and spend limits.14,4

Pricing: AI Gateway’s core features are free; its docs don’t list a separate Auto Router fee.4,14

Strengths

  • Built into a gateway many apps already use.
  • Pairs with spend limits by user or team.
  • Nothing extra to host.

Weaknesses

  • New, with little public data yet.
  • Decides from general signals, not your past answers.
  • Cloudflare only.

Who it’s for: apps on Workers that want routing without another vendor.

5. Griffin

Best for: switching a feature only after it passed on your own calls

Griffin, which we make, routes per feature (it calls them use cases), not per prompt. It records your calls, replays a sample of each feature on three to six cheaper models, and a judge compares each answer with your current model’s, in both orders. A feature moves only when a cheaper model scored at least 90% same-or-better (75% for open-ended work like chat), and errors fall back to your model.

On RouteBench’s one run, Griffin passed 93.8% of tasks at $4.33 per 1,000, against 89.5% at $9.87 for always using Claude Opus 5.5.7 One run is one result; what you save depends on your own calls.

Pricing: watching spend is free, grading includes $10 of replay credits, and routing costs 5% of routed spend after the first $50.5

Strengths

  • Decides from your prompts and your answers, not public benchmarks.
  • One model per feature, so behaviour stays predictable.
  • Re-tests when models or prompts change.

Weaknesses

  • Routes nothing until it has graded real traffic.
  • TypeScript SDK; other languages use its OpenAI-compatible endpoint.
  • Hosted only.

Who it’s for: teams with several AI features on a frontier model who want to move the easy ones without guessing.

6. RouteLLM

Best for: research and experiments

RouteLLM, from LMSYS, is a framework for serving and evaluating trained routers that send easy queries to a weak model and hard ones to a strong one. Its README reports up to 85% lower cost at 95% of GPT-4’s performance on MT Bench, with models from 2024.6

Pricing: free and open source (Apache 2.0).6

Strengths

  • Open, well-documented research.
  • A good base for training your own router.

Weaknesses

  • Unmaintained since August 2024.
  • Two models only, and its examples use 2024 models.
  • No gateway, budgets or logging.

Who it’s for: researchers and teams building their own router.

When you don’t need a router

If one feature makes most of your calls and a small model already handles it, choose that model in code. Routing pays when you have several features of different difficulty, a frontier model as the default, and no time to re-test every new model by hand. Before you add any router, find out which feature drives the bill: OpenRouter usage by feature shows how, and the LLM cost calculator prices a switch.

These routers serve an app’s own AI calls. To route a coding agent, Claude Code Router sends Claude Code’s main, subagent and background requests to different models.

Sources

Each fact above links to its number here. We read every page on the date shown; prices change, so check before you buy.

  1. OpenRouter: Auto Router · checked
  2. Not Diamond: Pricing · checked
  3. LiteLLM: Auto routing (beta) · checked
  4. Cloudflare: AI Gateway pricing · checked
  5. Griffin: Pricing · checked
  6. lm-sys/RouteLLM on GitHub (Apache 2.0) · checked
  7. Griffin: RouteBench (our benchmark) · checked
  8. Martian: home page · checked
  9. Unify: home page · checked
  10. OpenRouter: Pricing · checked
  11. Not Diamond: Docs · checked
  12. LiteLLM: Routing · checked
  13. LiteLLM: Enterprise · checked
  14. Cloudflare: AI Gateway Auto Router · checked

FAQ

Setup, every router and what Griffin records are in the docs.

What is an LLM router?

Software that chooses which model answers each request, usually to send easy requests to a cheaper model. It can follow rules you write, score each prompt with a classifier, or grade models on your own calls before switching.

What is the best LLM router?

For no setup, OpenRouter Auto. For a router trained on your evals, Not Diamond. Self-hosted, LiteLLM’s auto routing. On Cloudflare, its Auto Router. To switch a feature only after a cheaper model passed your own calls, Griffin.

Is OpenRouter Auto Router free?

Yes. There is no routing fee in November 2026; you pay the model it picks at OpenRouter’s prices plus OpenRouter’s credit fee.

Are there open-source LLM routers?

Yes. LiteLLM’s auto routing (beta) runs in the open-source LiteLLM proxy, and RouteLLM (Apache 2.0) is a research framework, unmaintained since August 2024.

Do LLM routers lower quality?

They can. On our one RouteBench run, OpenRouter Auto’s default mode cost 96% less than always using Claude Opus 5.5 but passed 74.7% of tasks against 89.5%. Test any router on your own prompts before you switch.

Is Martian still an LLM router?

Its site no longer markets one: in November 2026 Martian presents itself as a research lab. Unify, another router often listed, now describes continual learning.

Route only what passed.

Griffin grades cheaper models on your own calls and switches a feature only when it holds up. Watching is free.

Start free