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

LLM Proxy Python Packages

Python packages with the GitHub topic llm-proxy. Sorted by monthly downloads, with stars and forks.
liaohch3
claude-tap

Intercept and inspect Coding Agent API traffic from Claude Code, Codex CLI, Gemini CLI, Cursor CLI, OpenCode, Kimi/Kimi Code, Pi, and Hermes in a local trace viewer.

42K 3K 296
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
bilibiliUID1480494301
hubrelay

Self-hosted LLM gateway — from LAN to the public internet (tunnel-friendly): multi-upstream key pool, downstream tokens, quota accounting, MCP & A2A routing, E2E envelope encryption. 自托管大模型中转站,局域网与公网两用,兼容 OpenAI/Anthropic。

37K 1 0
ohp1x
privyx

AI data privacy gateway: privacy engine + proxy for LLM providers

15K 2 0
VibOpsai
vibops-mcp

117 MCP tools for GPU infrastructure + Agent FinOps — deploy LLMs, manage VMs (Proxmox/XO/vSphere), track cost per agent, enforce budgets and model policies. Works with Claude, Cursor, n8n, LangChain

13K 20 0
sanjay920
llmshim

llmshim: a pure Rust LLM API translation layer

12K 0 0
lastreload
mnemonic-proxy

Context management proxy for AI coding agents: verbatim archive, on-demand recall, and saved engine state on supported backends.

10K 82 7
rmpmrepo1278
swapback

Local proxy that keeps personal data out of LLM prompts: swaps names, emails, phones and keys for placeholders, restores them byte-exact in replies, streams and tool calls. Fails closed.

8K 4 0
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
2796gaurav
shad0wllm

System 0 for your LLM: learns the fixed-choice answers your LLM gives (intents, routing, moderation) and serves the repeats in microseconds from a small CPU table, at most 5% disagreement, certified. Zero-code proxy for the OpenAI Decisions API, System One and chat models.

6K 2 1
ai-forever
gpt2giga

FastAPI proxy for OpenAI, Anthropic and Gemini compatible clients backed by the GigaChat API

5K 152 52
ferro-labs
ferrogw

Unified AI Gateway for 30+ LLMs (OpenAI, Anthropic, Bedrock, Azure etc) with Caching, Guardrails, A/B test & cost controls. Go-native Fastest & Scalable AI Gateway LiteLLM & Kong AI Gateway alternative.

5K 302 39
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
hotchpotch
openai-api-server-via-codex

Get an OpenAI-compatible API from your ChatGPT subscription. Unofficial, lightweight Go server for OpenAI SDKs and existing tools, with no per-token charges within your Codex limits.

3K 98 19
lpalbou
airelays

Independent OpenAI-compatible local relay for your own ChatGPT and Claude subscriptions: one standard /v1 API (chat completions, responses), multi-account balancing with automatic failover and retry, and a cross-platform desktop app. Single-user personal use; not affiliated with any provider.

3K 4 2
crp4222
privaite

Self-hosted PII redaction proxy for LLM APIs and agent CLIs. Scrubs names, emails and secrets from Claude Code, Codex and any OpenAI-compatible app before requests leave your machine, tool-call arguments included, then restores them in the reply. Local detection, zero telemetry.

3K 72 4
nsozturk
venice-bridge

venice-bridge is a free, open-source local bridge for macOS that lets OpenCode, Claude Code, Codex CLI and other coding agents use a venice.ai web subscription, with working tool calls.

3K 0 1
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
BlockRunAI
blockrun-litellm

LiteLLM adapter for BlockRun — call x402-paid AI models through LiteLLM (custom provider or local OpenAI-compatible proxy)

3K 0 1
Nayjest
llm-proxy-server

OpenAI-compatible HTTP LLM proxy / gateway for multi-provider inference (Google, Anthropic, OpenAI, PyTorch). Lightweight, extensible Python/FastAPI—use as library or standalone service.

3K 161 17
eggstack
eggpool

for routing to multiple provider backends

3K 3 1
domondi1
inferrail

Self-hosted OpenAI/Anthropic-compatible gateway: give each AI agent run a dollar budget, enforced before the provider, with a payload-free per-run cost record.

3K 1 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
Nayjest
ai-proxy-server

OpenAI-compatible HTTP LLM proxy / gateway for multi-provider inference (Google, Anthropic, OpenAI, PyTorch). Lightweight, extensible Python/FastAPI—use as library or standalone service.

2K 161 17
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology