Head to head · Model routing · October 2026 research run
LiteLLM vs RouteMux
LiteLLM scores 66.2 (B) on agent readiness against RouteMux's 23.2 (F), and leads in every scored category. Both do model routing.
Best model APIs and inference for AI agents · All 1608 models comparisons
Which one, for what
LiteLLM B
Best for Teams that want one OpenAI-compatible endpoint over many providers on their own infrastructure, with per-key budgets, model allowlists and an MCP gateway.
Ahead on
- Reliability, 70 against 47
- Schema & documentation, 91 against 71
- Agent ergonomics, 79 against 63
- Security & auth, 72 against 48
- Payments & pricing, 90 against 60
- Maintenance & community, 82 against 60
- Transparency & trust, 63 against 44
Also in its favour
- Open source
Watch for
litellm 1.82.7 and 1.82.8 on PyPI carried a credential stealer for about 40 minutes on 24 March 2026
RouteMux F
Best for A cheap gateway to many text, image, video and audio models for people who accept unofficial routes and an unnamed operator.
Also in its favour
- A hosted endpoint, with nothing to install
- Free to start without a card
Watch for
Sells Claude models through a "Dedicated Kiro route", and Kiro's licence (AWS Customer Agreement 6.4) forbids resale
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing LiteLLM +30
LiteLLM 90
Read with the self-hosted rule, since an agent uses the free gateway and Enterprise is a sales-led licence for the same software. No x402, MPP or L402 (0). MIT with no account and no card, so 20, 20 and 20 on the last three lines. Model calls cost what the operator's provider keys cost. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
RouteMux 60
No machine payment protocol found. USDT top-ups are processed by hand (0). Per-token and per-second prices for every model are public without a login (30). $0.1 of trial credit at signup with no card, opening 24 models (30). A person signs up in the browser (0). 0 + 30 + 30 + 0 = 60.
Security & auth LiteLLM +24
LiteLLM 72
Read with the tool checklist for self-hosted software. Virtual keys are hashed, revocable and blockable, with model, route, MCP server, budget, rate and expiry limits, and a proxy_admin_viewer read-only role exists. Rotation with a grace period is Enterprise only, so 25, less 10 because the docs pass a key as ?key= on /key/info and on the Claude Code marketplace manifest (15 of 30). allowed_routes, MCP permissions by key and team, an approval queue for submitted MCP servers and stdio MCP servers off by default from 1.104.0 (15 of 20). Guardrails can run before a model call and on MCP tool results, and an OWASP LLM Top 10 page maps each risk to a control, but prompt-injection detectors such as Lakera need an Enterprise licence and all of it is off by default (12 of 15). Request and spend logs per key in the open-source build; audit logs of admin actions are Enterprise only (12 of 15). security.md with GitHub private reporting, a bug bounty from $500 to $3,000 for P0 and P1 reports, a security announcements list, SOC 2 Type II per the data security page, CodeQL, OSV and Scorecard workflows, and advisories published on GitHub. No security.txt, and reports without a video are closed unread (18 of 20).
RouteMux 48
Router, read on the model lines. sk- keys minted in the console, accepted in three header forms. No scopes, spend caps per key, expiry or rotation found (18 of 30). The privacy policy says API content is never used for training and is processed only to complete the request, and that RouteMux prefers upstream channels that don't train on API data. Kiro routes and routes not labelled official leave the upstream data terms unstated (10 of 20). Request logs are kept for troubleshooting and auditing with no period given, and the terms say requests are screened for safety (6 of 15). The console has logs, usage and billing views, and each error carries a stable RMX- reference (12 of 15). /.well-known/security.txt answers 404, and no disclosure policy, bug bounty or certification was found (2 of 20). 18 + 10 + 6 + 12 + 2 = 48.
Reliability LiteLLM +23
LiteLLM 70
Read with the local-software lines, since the gateway runs on the operator's hardware and BerriAI hosts nothing an agent calls. litellm on PyPI states Python 3.10 to 3.14, and the gateway ships as a Docker image, a Helm chart and Terraform modules, with GHCR images signed by cosign (20). 51 GitHub Actions workflows plus a CircleCI config cover unit, proxy-database, end-to-end, chaos, mutation and UI tests. The GitHub API was rate-limited for our reader on 6 November and Actions pages refused it on 6 October, so we couldn't confirm main is passing (15 of 25). The issue tracker showed 1,674 open issues on 6 November, with eight bug reports among the 15 newest, seven of them with a reply, against a project that tags several releases a day (10 of 25, down from an unchecked 12). Release notes carry breaking-change bullets, but breaking changes land in weekly minor releases on the 1.x line, so version numbers don't signal them (10 of 15). 1.108.1, past 1.0 (15).
RouteMux 47
Hosted router. A status page at routemux.com/status, fed by RouteMux's own probes every five minutes, per provider and for the system (20). It shows hourly cells for the last three days only, so no 90-day history was readable (5). Rate limits are set per account and shown in the console, with no numbers published (0). Errors carry retry.retryable, retry.strategy and Retry-After where a wait applies, failed requests are not billed, and billing.status says whether a broken stream was charged. There are no idempotency keys, the reading this run gave RouterPlus (12 of 15). The home page claims "stated SLAs", but the terms give the service "as is" and no SLA was found (0). No beta label on the gateway (10). 20 + 5 + 0 + 12 + 0 + 10 = 47.
Maintenance & community LiteLLM +22
LiteLLM 82
v1.108.1 tagged on 5 November 2026, v1.108.0 and v1.106.7 on 3 and 4 November (30). 125 tags between 8 August and 6 November, stable, patch, release-candidate and dev builds, with patch releases for four minor lines at once (20). Reply times not measured. On the issues page 7 of the 15 newest had a reply on the day, workflows auto-close duplicates and label issues, and Discord is the listed community channel (12 of 25). The package is the official SDK, current, with OpenAI and Anthropic SDKs working against the gateway (12 of 15). Dependency and image scanning (OSV, zizmor, Scorecard, grype) run in CI, with pass state unchecked (8 of 10).
RouteMux 60
Closed service. The announcements page dates GPT-6.2 Astra and Sol on 18 November and a Claude Fable 5.2 price change on 19 November 2026 (30). More than three dated model and price changes since 1 September 2026 (20). Telegram community and support channels and email, untested (5 of 15). No official SDK. Agent skills are published with sha256 checks (3 of 15). No package or public repository to check. The skills archives carry pinned hashes (2 of 10). 30 + 20 + 5 + 3 + 2 = 60.
Schema & documentation LiteLLM +20
LiteLLM 91
Every gateway serves Swagger at /, ReDoc at /redoc and the raw schema at /openapi.json, and the docs host a public Swagger explorer (25). llms.txt, llms-full.txt and a Markdown twin of every page via .md (10). Pages say what a feature is for and where its limits are, and the key-auth page explains how permissions are inherited and where they aren't, but the reference is very large for a model to navigate (16 of 20). OpenAI-shaped request schemas from Pydantic models, with metadata, litellm_params and config blocks left as free-form objects (10 of 15). A full error reference with the envelope, every status, response headers and how to tell gateway limits from provider limits, plus examples on every page (15). Release notes per version with dates, newest v1.108.0 and v1.106.7 on 4 November 2026 (15).
RouteMux 71
Router, scored on the API lines. An OpenAPI 3.1 file covers 18 paths, the auth schemes and typed error bodies, but request bodies are an untyped passthrough schema (20 of 25). llms.txt, and a Markdown copy of each docs page and model page (10). llms.txt says which endpoint does what, which providers can be called and that others don't exist, and points to a fact sheet per model (14 of 20). Request fields are not typed beyond the upstream formats, with a few enums in the error schemas (4 of 15). Request examples in the OpenAPI file and docs, and documented error envelopes for each protocol with codes, retry and billing fields (13 of 15). Calls go under /v1 and the OpenAPI file is versioned 2.0.0. The changelog stops in May 2026, but the announcements page dates each model and price change (10 of 15). 20 + 10 + 14 + 4 + 13 + 10 = 71.
Transparency & trust LiteLLM +19
LiteLLM 63
MIT for everything outside enterprise/, which has its own licence (25 of 30). The data security page (updated 6 November 2026) and security.md agree that a self-hosted gateway sends no data or telemetry to BerriAI, and the gateway stores prompts and spend in the operator's own Postgres. We found no terms of service or privacy policy on litellm.ai for its site, trial or Enterprise licence (20 of 30). A version support policy since 29 June 2026 (four stable minor lines), deprecated pages labelled in the docs, and release notes with breaking-change bullets (15 of 20). Usage telemetry, new in v1.107.0, is off by default, lists every field it can send and goes only to a table or endpoint the operator sets. A main-branch commit of 23 October 2026 made the Admin UI chat post a hashed user id to chat-telemetry.litellm.ai, and it was removed on 24 October before any tagged release contained it, so it isn't deducted. The start-up fetch of the price map from GitHub is documented with an opt-out (17 of 20).
RouteMux 44
Closed service. The terms are clear on billing and refunds, but name no company and choose Hong Kong law, so a customer can't tell who the counterparty is (8 of 30). The privacy policy states US storage, no training, Stripe for payments and Google sign-in, and agrees with the terms. Retention for request logs has no period, and there is no DPA or subprocessor list (12 of 30). The terms say models can disappear, refund fee changes get 30 days' notice, and retired models are marked on the pricing page, with no deprecation policy (6 of 20). US storage, Stripe and Google are named, with no full subprocessor list (8 of 20). 8 + 12 + 6 + 8 = 34.
Score by category
| Category | Weight | LiteLLM | RouteMux | Edge |
|---|---|---|---|---|
| Reliability | 16% | 70 | 47 | LiteLLM +23 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 91 | 71 | LiteLLM +20 |
| Agent ergonomics | 13% | 79 | 63 | LiteLLM +16 |
| Security & auth | 14% | 72 | 48 | LiteLLM +24 |
| Payments & pricing | 10% | 90 | 60 | LiteLLM +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 82 | 60 | LiteLLM +22 |
| Transparency & trust | 7% | 63 | 44 | LiteLLM +19 |
| Negative events | ≤15 | -12 | -33 | |
| Total | B 66.2/100 | F 23.2/100 |
Facts side by side
| Fact | LiteLLM | RouteMux |
|---|---|---|
| Kind | Model router | Model router |
| Vendor | BerriAI | RouteMux |
| Hosted endpoint | no (local only) | https://api.routemux.com/v1 |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | MIT, except the enterprise/ directory, which is under its own licence and needs an Enterprise licence key | Closed service under RouteMux's terms of service, governed by Hong Kong law. The terms name the operator only as RouteMux (https://routemux.com/terms). |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-05 | 2026-11-18 |
| Terms last updated | no document linked | no date given |
| Privacy policy last updated | no date given | 2026-07-24 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 63k stars, 22.5M PyPI/wk | none |
How the scores have moved
RouteMux
No score change since it was listed.
Verdicts
LiteLLM
An MIT-licensed gateway that puts 100+ model providers behind one OpenAI-compatible API, with virtual keys, budgets, fallbacks and an MCP gateway, released several times a week. Its security record is the main limitation. Two PyPI releases carried a credential stealer on 24 March 2026, and 30 GitHub advisories followed in 12 months, five of them critical.
RouteMux
RouteMux sells Claude through a Kiro route whose licence forbids resale, prices most models 72 to 95 per cent under list, and names no company or person. For agents it has llms.txt, an OpenAPI file, typed error codes with retry and billing status, and its own status probes. Rate limits have no published numbers and no SLA was found.
Before you call either
LiteLLM
- Pin an exact litellm version or image digest, verify the cosign signature, and never install an unpinned latest in CI
- Give each agent a virtual key limited to its models, routes and MCP servers, with a budget and an expiry
- Treat a 429 with
retry-afteras the gateway's own limit and wait that long; a 429 without it came from the provider - Set
NO_DOCS,NO_REDOCandNO_OPENAPIto True in production, and use the-non_rootimage variant - Set
LITELLM_LOCAL_MODEL_COST_MAP=Truewhere egress is blocked, since start-up otherwise fetches the price map from GitHub
RouteMux
- Avoid model ids ending in -kiro. They resell Kiro access, which Kiro's licence forbids, and claude-opus-4-7-kiro calls Opus 5.5
- Pick models labelled "(Official)" where a cheaper twin exists, and check provider terms before sending regulated data
- Branch on
error.codeorX-RouteMux-Error-Code, wait forRetry-After, and checkbilling.statusbefore retrying a stream - Read your callable models from
GET https://api.routemux.com/v1/models, because the trial key opens only 24 models
Questions
Which is better for AI agents, LiteLLM or RouteMux?
LiteLLM scores 66.2 (B) on agent readiness against RouteMux's 23.2 (F), and leads in every scored category.
Do LiteLLM and RouteMux need an API key?
Both need an API key.
Can an agent call LiteLLM and RouteMux without installing anything?
No hosted endpoint is listed for LiteLLM. RouteMux has a hosted endpoint at https://api.routemux.com/v1.
Are LiteLLM and RouteMux open source?
LiteLLM is open source (MIT, except the enterprise/ directory, which is under its own licence and needs an Enterprise licence key). No open-source release is listed for RouteMux.
Other comparisons with LiteLLM or RouteMux
- AI21 Jamba API vs RouteMux
- Amazon Bedrock vs RouteMux
- Claude API vs RouteMux
- Azure OpenAI in Foundry Models vs RouteMux
- BlockRun.AI vs RouteMux
- Cerebras Inference vs RouteMux
- Claude Fable 5.2 vs RouteMux
- Claude Mythos 5.2 vs RouteMux
- Cloudflare AI Gateway vs RouteMux
- Cloudflare Workers AI vs RouteMux
- Cohere Chat API (Command models) vs RouteMux
- DeepInfra vs RouteMux
- DeepSeek API vs RouteMux
- DigitalOcean Serverless Inference vs RouteMux
- Glimpse vs RouteMux
- Fireworks AI Inference vs RouteMux
- Gemini 4 Argon vs RouteMux
- Gemini 4 Carbon vs RouteMux
- Gemini 4 Hydrogen vs RouteMux
- Gemini 4 Neon vs RouteMux
- Gemini Developer API vs RouteMux
- GPT-6.2 Astra vs RouteMux
- GroqCloud vs RouteMux
- Tencent Hy4 vs RouteMux
- Jais 3 vs RouteMux
- Meta Model API vs RouteMux
- MiniMax API vs RouteMux
- Mistral AI API vs RouteMux
- Muse Ember vs RouteMux
- Muse Spark Open vs RouteMux
- Nebius Token Factory vs RouteMux
- Nemotron 3.5 Super VL vs RouteMux
- Novita AI vs RouteMux
- OpenAI API vs RouteMux
- OpenRouter vs RouteMux
- Prism Inference vs RouteMux
- Baidu Qianfan vs RouteMux
- Beam 1.0 vs RouteMux
- Reka API vs RouteMux
- RouteMux vs SambaCloud
- RouteMux vs SiliconFlow
- RouteMux vs Simplismart
- RouteMux vs StepFun API
- RouteMux vs SWE-2 Flash
- RouteMux vs Together AI Inference
- RouteMux vs Vertex AI (Gemini Enterprise Agent Platform)
- RouteMux vs Writer Palmyra API
- RouteMux vs xAI API (Grok)
- Antseed vs LiteLLM
- Antseed vs RouteMux
- Cloudflare AI Gateway vs LiteLLM
- DigitalOcean Serverless Inference vs LiteLLM
- Eden AI vs LiteLLM
- Eden AI vs RouteMux
- Hugging Face Inference Providers vs LiteLLM
- Hugging Face Inference Providers vs RouteMux
- LiteLLM vs OpenRouter
- LiteLLM vs Orkas API
- LiteLLM vs Router.com (Ramp Router)
- LiteLLM vs RouterPlus
- LiteLLM vs Tencent Cloud TokenHub
- LiteLLM vs Vercel AI Gateway
- Orkas API vs RouteMux
- Router.com (Ramp Router) vs RouteMux
- RouteMux vs RouterPlus
- RouteMux vs Tencent Cloud TokenHub
- RouteMux vs Vercel AI Gateway
Machine-readable
- This page as Markdown
/compare/litellm-vs-routemux.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/litellm.json·/api/v1/tools/routemux.json - From a terminal
anchor compare litellm routemux(the CLI) - Over MCP
compare_tools {"a": "litellm", "b": "routemux"}at/mcp, no key