StackMap
Subscribe

router alternatives

Curated alternatives to router — and why you'd switch.

LLMRouter

UIUC's LLM routing library: 16+ trainable routers (KNN, MLP, matrix factorisation, Elo, graph, BERT) pick the best model per query, with xRouteBench and a train/serve CLI.

Why switchBoth pick a model per prompt from learned routers; llmrouter is a UIUC research library with 16+ trainable routers, weave router is a deployable proxy with one frozen cluster scorer and an optional HMM policy.
Full comparison →
plano

AI-native Envoy-based proxy for agentic apps: agent orchestration via a 4B routing model, smart LLM routing, guardrail filter chains and zero-code OTEL traces. Rust, framework-agnostic.

Why switchBoth are AI-native proxies doing smart per-request model routing; plano is Envoy-based with a 4B routing model, weave uses a tiny ONNX embedder in-process for sub-50ms decisions.
Full comparison →
litellm

Open-source AI gateway: call 100+ LLM providers in OpenAI format via a Python SDK or self-hosted proxy — with cost tracking, virtual keys, guardrails, load balancing and logging.

Why switchlitellm is the general-purpose gateway with 100+ providers and simple routing strategies; weave router trades breadth for quality-aware per-action model selection.
Full comparison →
OmniRoute

Free MIT AI gateway for coding CLIs: one endpoint over 352 providers (150+ free tiers) and 1,200+ models with quota-aware auto-fallback, RTK+Caveman token compression, MCP/A2A and a desktop app.

Why switchBoth put a local endpoint in front of coding CLIs; omniroute maximises provider/free-tier coverage, weave router optimises which model handles each request.
Full comparison →
9router

Self-hosted gateway pointing any AI coding CLI (Claude Code, Codex, Cursor, Cline) at 40+ providers, with subscription→cheap→free auto-fallback and tool_result compression for 20-40% token savings.

Why switchSame drop-in-endpoint-for-coding-CLIs shape; 9router is about pointing at 40+ providers and subscriptions, weave router about semantic model selection.
Full comparison →