Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

LLM Routing Python Packages

Python packages with the GitHub topic llm-routing. Sorted by monthly downloads, with stars and forks.
xorbitsai
xrouter-llm

A prompt-aware LLM router that predicts which models can complete each request, then selects the cheapest capable one: 53.2% lower cost and +1.9 pts completion on our tested dataset.

27K 42 2
mozilla-ai
pydantic-ai-otari

Open-source AI gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking.

6K 988 157
orvi2014
baar-core

Budget-Aware Agentic Routing (BAAR) — Intelligent LLM model selection with a zero-call financial kill-switch. Save 90% on costs without losing accuracy.

4K 20 3
kalibr-ai
kalibr

Stop overpaying to run your agents. Kalibr routes every request to lower-cost model and tool paths without degrading performance.

3K 34 3
lawrence3699
jev-style

JevStyle: local decision models for AI agents. Classify, route and score with a probability per option. systemone-compatible local server, MCP tools, Claude Code guard. Open weights, Apache-2.0.

3K 141 4
cafitac
cafitac-hermit-agent

Quiet MCP executor for Claude Code and Codex. Offload edits, tests, refactors, and commits to cheaper local or flat-rate models.

2K 4 1
crAK1644
orchestrator-mcp-server

Use Codex from Claude Code, or Claude Code from Codex, through the subscriptions you already have. Multi-turn consultations between agent CLIs with no provider API key, a validated response envelope, and a local dashboard of every consultation.

2K 11 2
glitchwerks
claude-wayfinder

Deterministic, auditable agent/skill dispatch for Claude Code. A typed seven-decision scoring kernel runs after the router has read the conversation — post-cognitive routing instead of prose-scanning. Auto-generates its catalog from skill sidecars and agent frontmatter.

2K 5 1
inboxpraveen
thinkless

Stop using an LLM for every decision. ThinkLess learns your AI agent's routine LLM decisions and answers them locally once proven, with one line under the OpenAI or Anthropic client. Or run typed decisions through rules and small models first. Lower LLM cost and latency, every decision traced.

2K 3 1
Abhiindigloo
model-finder-mcp

Model Finder: find the cheapest AI model that passes your own tests. MCP server + Agent Skills for model audits, evals, cheapest-first routing and local model sizing.

2K 7 2
JarJarBeatyourattitude
evalt

Budget-bounded LLM routing that finds the cheapest model and prompt meeting your accuracy target.

2K 0 0
ai-solution-architect-roadmap
claude-code-router

Routes each Claude Code task to the cheapest model and effort that should be enough. Rule-based and local, using the code graph, risk, past outcomes and weekly usage.

2K 0 0
thequantumfalcon
kry-attest

Tamper-evident receipts for reported LLM efficiency events, with offline integrity and benchmark-arithmetic verification

1K 1 0
emirhuseynrmx
calybris

Deterministic proof-carrying decision core with replay verification, WAL, and fixed-point budget proofs

993 14 0
Das-rebel
a3m-router

⚡ Adaptive multi-model LLM router — 80+ providers, pheromone-trail failover, parallel ensemble, semantic cache. Cuts AI costs 90%. Drop-in OpenAI proxy. Self-hosted.

947 18 5
hermes-labs-ai
claude-router

claude-router is a local prompt router that picks the right Claude model tier and prepends the right scaffold using local embeddings before you call the API. A deterministic routing layer for eval, research, content, and review prompts that helps teams stop overspending on Sonnet and Opus when Haiku plus structure is enough.

914 3 0
ymoslem
cre-router

Cascaded Framework for Cost-Aware LLM Serving

768 4 0
huynguyenkhac17
copro-mcp

Copro: an MCP coprocessor for Claude Code. Delegates side tasks (reading files, summaries, first-pass reviews, extraction) to cheap cloud or local LLMs with budget routing, fallback chains, quota awareness and guardrails.

722 1 0
Eliot5566
s1kit

Test, calibrate and route System One decision models (Jev, Laya, kev, llama.cpp, Ollama) on your own data.

687 1 0
Amazed-Labs
llm-pqr

Provider-neutral LLM model selection using measured quality, latency, cost, capabilities, and hard privacy constraints.

654 1 0
dgiunchi
agora-loop

Where free agents argue until the code is right. N coding agents, one bounded loop, zero API bills: FreeLLMAPI-style quota allocation meets Claudex-style cross-provider review.

620 3 0
sathyalog
levrouter

Per-request LLM model routing for LangChain and Anthropic/OpenAI SDKs. Sends easy prompts to cheaper models and hard ones to stronger models, within your provider. Powered by lev from Interfaze.

595 1 0
Das-rebel
a3m-mcp-server

⚡ Adaptive multi-model LLM router — 80+ providers, pheromone-trail failover, parallel ensemble, semantic cache. Cuts AI costs 90%. Drop-in OpenAI proxy. Self-hosted.

571 18 5
danielpolok
langchain-model-router

In-process model routing for LangChain: a chat model that picks one of several candidate chat models per request.

496 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology