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

Llm Routing Python Packages

Python packages with the GitHub topic llm-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
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
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.

4K 3 1
ratel-ai
ratel-ai

Context engineering for AI agents. ~80% fewer tokens. Fix tool overload. Skills and memory with in-process BM25 retrieval. No vector DB. No embeddings.

3K 168 9
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
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 1 0
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.

1K 13 3
SpekoAI
spekoai

Official Speko Python SDK (spekoai) - one API for every voice AI provider: STT, TTS, and LLM routing + failover, sync + async

685 1 0
edwardjbaumel
split-stack

Route each agent step to the right local Ollama model. Zero-dep Python routing primitives for agent loops and gateways.

616 1 0
edwardjbaumel
local-llm-router

Python routing library for local LLM agent loops: score prompts, map tiers to model names, embed in your runner.

522 1 0
ainfera-ai
ainfera

The Inference of AI Agents. Drain-proof wallets, signed AgentCards (JWS), hash-chained AuditChains — out of the box.

498 0 0
adwantg
kvfleet

Production-grade, KV-cache-aware intelligent routing for self-hosted and hybrid LLM fleets.

475 0 0
ricovigil1
warmwinter

Python SDK for the Warm Winter trust gate — is this AI/agent action trustworthy enough to act on, or escalate?

460 0 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
hyperion-hq
hyperion-ai

The official Python SDK for the Hyperion AI Gateway

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