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

My Claude Code (MCC) is a local multi-provider LLM proxy, model router and control plane for Claude Code, Codex, OpenCode, Gemini CLI and other AI coding agents — 57 providers, fallback routing, credential health, a native web-search tool proxy, and exhaustive analytics with cost provenance in one local dashboard.

34K 10 2
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.

16K 40 2
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%.

8K 97 12
aalok101singh
modelhop

Intelligent LLM router that saves 60-90% on API costs by hopping to the cheapest capable model

4K 1 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).

4K 15 4
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%.

3K 97 12
codai-ro
codai-sdk

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

3K 0 0
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 225 123
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.

2K 1 1
0xzr
freellmpool

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

2K 121 19
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 8 1
kdandu001-arch
leanroute

A fast decision layer in front of any LLM: blocks attacks, sends easy requests to cheap models, hard ones to strong models, and shows the money saved. OpenAI-compatible, self-hostable, powered by Laya.

1K 1 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.

1K 1 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 22 8
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.

1K 657 79
Jason-Vaughan
tanglebrain

A local-first, config-driven LLM router across OpenAI-compatible backends you own.

1K 1 6
singhpratech
pankhllm-server

The LLM gateway that learns to skip the LLM. Trains its own tiny model on your agent's decisions and makes them in 0.2 ms on a CPU, with no LLM call. OpenAI-compatible, one Rust binary. Teach it with your skills and logs in one command.

966 0 0
singhpratech
pankhllm

The LLM gateway that learns to skip the LLM. Trains its own tiny model on your agent's decisions and makes them in 0.2 ms on a CPU, with no LLM call. OpenAI-compatible, one Rust binary. Teach it with your skills and logs in one command.

885 0 0
rohitgarg19
opencode-llmstack

Cursor-Auto / Claude-tier-style serving for local GGUF models on Mac (M4 Max, 64 GB). FastAPI router fronts llama-swap + llama.cpp, classifying each request into a coder, planner, or uncensored-planner tier. OpenAI-compatible API, opencode integration, per-project subshell, one `llmstack` console-script.

827 0 0
bmw8080
laya-decision-api

把本地 System-1 决策模型(Laya)包成 HTTP 服务:意图分类 / 工单分派 / LLM 路由 / 内容审核,离线零 token、不生成文字;Apple Silicon(MLX) 与 Linux(torch) 双后端;可导出 OpenAPI 3.0/3.1;Java/TS/Python 零依赖 SDK。

788 1 0
harunercul
argrouter

LLM router: picks the model and reasoning effort per query from accuracy and real billed cost.

666 1 0
routelabsai
routelabs-router

Local-first hybrid LLM router for policy-aware local/cloud inference

622 10 3
sblattj
llm-ferry

Self-hosted AI gateway for your Mac — one OpenAI-compatible endpoint for your LAN. Serve local MLX models on Apple silicon + front your own cloud keys with automatic fallback. Reuses Claude/ChatGPT subscriptions via OAuth. Keys never leave the host.

614 2 0
probeo-io
anymodel-py

OpenRouter-compatible LLM router for Python. Route requests across OpenAI, Anthropic, and Google with a single API.

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