PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Model Routing Python Packages

Python packages with the GitHub topic model-routing. Sorted by relevance, with stars and monthly downloads.
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.

5K 28 1
doncazper
hermes-router

Local AI control center and routing/control plane for OpenAI-compatible agents, local runtimes, receipts, telemetry, and safety policy.

5K 0 1
kalibr-ai
kalibr

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

4K 31 3
aivinay
switchboard-local

Privacy-aware, local-first router for your CLI coding agents (Codex, Claude Code) and local LLMs (Ollama) — keeps sensitive prompts on-device and cuts premium-model usage.

3K 3 0
doramirdor
nadirclaw

Open-source LLM router & AI cost optimizer. Routes simple prompts to cheap/local models, complex ones to premium — automatically. Drop-in OpenAI-compatible proxy for Claude Code, Codex, Cursor, OpenClaw. Saves 40-70% on AI API costs. Self-hosted, no middleman.

3K 555 69
khan-sha
neuralbrok

Local-first LLM routing gateway — use model='neuralbroker' and it routes intelligently between local Ollama, discovered subscriptions (Claude Pro, Codex), and paid API fallbacks.

2K 0 0
CommonstackAI
uncommon-route

Local LLM router that cuts premium-model spend with adaptive 3-tier routing, OpenAI + Anthropic compatible

2K 676 27
686f6c61
crupier

Python orchestration SDK for routing, combining, and auditing AI model calls.

1K 1 0
johanity
langchain-router

Cost-aware model routing for LangChain agents based on task phase

744 6 0
correctover
local-gateway

Desktop LLM gateway with multi-provider failover and model name mapping

691 1 0
syrin-labs
syrin

The AI Harness for Python Developers — wrap any LLM with budget control, persistent memory, sandboxed execution, multi-agent orchestration, and production observability.

610 61 13
sidrat2612
routesmith

Auto-route coding agent tasks to the best model in your IDE. Python library + MCP server for Claude Code, Codex, Gemini CLI, Copilot, Cursor, and Aider.

510 4 0
RagavRida
mmcp-core

Multi-Model Collaboration Pipeline — orchestrate AI models as a DAG. RL routing, multi-verifier voting, agent mesh, self-improving. Works with OpenAI, Anthropic, Gemini, DeepSeek. npm install mmcp-core | pip install mmcp-core

397 33 0
foaadfarooghian
signalforgeai

Opinionated platform for agentic workflows, tooling, and evaluation.

252 1 0
roli-lpci
claude-router

Embedding-based scaffold router for Claude API. Routes tasks to the right scaffold using centroid matching. By Hermes Labs.

246 0 0
kalibr-ai
llm-cost-optimizer

Automatically reduce LLM API costs. Routes to cheapest model that succeeds. Use kalibr instead.

240 31 3
kalibr-ai
llm-cost-reduction

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

237 31 3
kalibr-ai
langchain-kalibr

LangChain integration for Kalibr. Route every LangChain LLM call to lower-cost model paths without degrading performance.

181 0 0
ai-deeptech
stratarouter

High-performance semantic routing backed by a Rust core

164 9 4
vantxlab
livekit-ai-switchboard

Drop-in LLM router for LiveKit voice agents — route between N models using topics, heuristic signals, and custom rules

145 0 0
hyperion-hq
hyperion-ai

The official Python SDK for the Hyperion AI Gateway

134 15 3
    • Data from PyPI, GitHub, ClickHouse, and BigQuery