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

LLM Router Python Packages

Python packages with the GitHub topic llm-router. Sorted by monthly downloads, with stars and forks.
FiredMosquito831
my-claude-code

Local multi-provider LLM proxy, model router and control plane for Claude Code, Codex, OpenCode and Gemini CLI: 60 providers, fallback routing, credential health, web search and cost provenance.

40K 19 4
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
codai-ro
codai-sdk

Official Python SDK for codai - OpenAI-compatible client for the codai gateway. PyPI: codai-sdk

17K 0 0
ypollak2
llm-routing

Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.

6K 131 17
0xzr
freellmpool

Free LLM gateway: 22 LLM providers, 178 enabled chat routes, 431 cataloged chat models; keyless start when available.

6K 159 26
dshakes
firstpass

The verification layer for LLM serving — your check runs on every answer before it ships, with a signed, tamper-evident receipt for each decision and a distribution-free bound on wrong answers served. Proof over prediction.

6K 2 1
ypollak2
claude-code-llm-router

Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.

5K 131 17
HarperZ9
flywheel-verify

Accountable AI evaluation, verification, multimodal deconstruction (gather), cryptographic engine-receipt/1 trails, and local RTX 4090 / Colab model forge (JFC3P, NOH-3/NOH-4, Arm C).

4K 4 0
respanai
respan-gateway

Open-source LLM gateway in Rust. One endpoint for OpenAI, Anthropic, Gemini and every other vendor. Any SDK, any model, any tool.

4K 1K 178
hassancs91
simplerllm

Python library for building with LLMs. One interface across 11 providers (OpenAI, Anthropic, Gemini, DeepSeek, Ollama and more), automatic failover, Pydantic-validated structured output, embeddings with vector search, and an AI-powered router. pip install simplerllm

3K 235 120
doramirdor
nadirclaw

Source-available LLM router and AI cost optimizer. Routes simple prompts to cheap or local models and complex ones to premium models, automatically. Drop-in OpenAI-compatible proxy for Claude Code, Codex, Cursor and OpenClaw. Self-hosted, no middleman.

3K 667 79
Suryanshu-77
tierwise

Cost-aware, self-hosted LLM gateway with a learned router

3K 0 0
alexb-joat
trioditis

Security-first LLM router: one OpenAI-compatible endpoint picks a route and a model for each prompt; prompts in which it detects an email, card number, key or password stay away from cloud models.

2K 0 0
radlab-dev-group
radlab-llm-router-plugins

A companion repository for llm-router containing a collection of pipeline-ready plugins. Features a masking interface for anonymizing sensitive data and a guardrail system for validating input/output safety against defined policy rules.

2K 1 0
SentioGate
sentiogate-python

Official Zero-Dependency Python Client SDK for SentioGate AI Router

2K 0 0
shihabshahrier
freelm

Free LLM API for Python & Node.js: a free-only, lightweight LiteLLM/OpenRouter alternative. One OpenAI-compatible client and local /v1 endpoint over Gemini, Groq, OpenRouter, Cloudflare, Mistral, NIM, Z.ai, Cohere & Kilo, with LLM fallback that races slow providers and key rotation. Works with no API keys.

2K 29 3
opennodes-io
onp-node

Open protocol and registry for discovering, verifying and pricing AI inference endpoints. MCP server, OpenAI-compatible gateway, Ollama router, and a Node Kit for operators.

2K 0 0
Javihaus
zeropoint

Chooses the option that fits a text, or answers that none of them does. Runs on a CPU, model included.

2K 16 0
radlab-dev-group
radlab-llm-router

LLM Router is a service that can be deployed on‑premises or in the cloud. It adds a layer between any application and the LLM provider. In real time it controls traffic, distributes a load among providers of a specific LLM, and enables analysis of outgoing requests from a security perspective (masking, anonymization, prohibited content).

2K 16 4
gumblex
aitoolman

Controllable and Transparent LLM Middleware

2K 4 0
BlockRunAI
hermes-plugin-clawrouter

ClawRouter for Hermes — BlockRun's full LLM catalog incl. Claude, GPT and Grok; x402 USDC micropayments on Base & Solana. Python plugin wrapping the ClawRouter proxy for NousResearch/hermes-agent.

1K 23 9
mybrainrunslinux
mullm

muLLM: local-first LLM router, coding and game development studio

1K 0 0
szl-holdings
szl-router

FLAGSHIP: sovereign-first OpenAI-compatible LLM router with verifiable routing receipts; source of truth for SZLHOLDINGS/llm-router-live

1K 0 0
routelabsai
routelabs-router

Local-first OpenAI-compatible and Anthropic-compatible runtime for hybrid LLM routing, verification-aware escalation, and privacy-aware local execution.

1K 13 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology