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

AI Gateway Python Packages

Python packages with the GitHub topic ai-gateway. Sorted by monthly downloads, with stars and forks.
BerriAI
litellm

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

105.7M 64K 14K
BerriAI
litellm-proxy-extras

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

6.1M 64K 14K
BerriAI
litellm-enterprise

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

6M 64K 14K
Portkey-AI
portkey-ai

Build reliable, secure, and production-ready AI apps easily.

4.7M 119 43
BerriAI
litellm-core

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

101K 64K 14K
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
anvai-labs
sandhi-gateway

Sandhi — the metering layer for AI agents. An open-source AI usage gateway: meter, attribute, and budget every model call across shared keys.

30K 1 0
codai-ro
codai-sdk

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

17K 0 0
BerriAI
litellm-dev

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

8K 64K 14K
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
gridaco
grida

A workflow engine for generative asset pipelines. Plan, price, cache, and run workflows with Rust, Python, and TypeScript.

6K 106 11
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
AcruxCore
acruxcore

Open-source LLMOps platform with prompt management, an OpenAI-compatible AI gateway, OpenTelemetry tracing, a versioned tool catalog, and LLM evaluation. Use hosted or self-host with TypeScript and Python SDKs.

5K 15 1
theagentrouter
theagentrouter-local-gateway

Agent Router Python SDK

5K 1 0
Shaivpidadi
freeride-gateway

One free AI endpoint, every free tier behind it. Local OpenAI-compatible gateway routing across OpenRouter, Groq, NVIDIA NIM, Cloudflare Workers AI, and HuggingFace with automatic failover.

4K 57 9
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
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
preloop
preloop

The open-source AI agent control plane and software factory: govern every tool and model call.

3K 97 24
theagentrouter
theagentrouter-core

Agent Router Python SDK

3K 1 0
theagentrouter
theagentrouter

Agent Router Python SDK

3K 1 0
BlockRunAI
blockrun-litellm

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

3K 0 1
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
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
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology