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

LLM API Python Packages

Python packages with the GitHub topic llm-api. Sorted by monthly downloads, with stars and forks.
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
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
Nayjest
lm-proxy

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
Nayjest
openai-http-proxy

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
Nayjest
inference-proxy

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

1K 161 17
Nayjest
oai-proxy

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

1K 161 17
Nayjest
lm-proxy-server

LM Proxy Server is an OpenAI-compatible http proxy server for inferencing various LLMs capable of working with Google, Anthropic, OpenAI APIs, local PyTorch inference, etc.

1K 161 17
thatAverageGuy
llmgate

Lightweight, provider-agnostic Python LLM library — one API for OpenAI, Gemini, Anthropic, Groq, Mistral, Cohere, Azure, Bedrock & Ollama. Vision, streaming, tools, batch.

748 2 0
spicyapi-ai
spicyapi

Official Python client for SpicyAPI — image, video, audio and text generation behind one API.

710 0 0
OutrunAIAPI
langchain-outrun

LangChain integration for Outrun: ChatOutrun, an OpenAI-compatible chat model for GPT, Claude, Gemini, DeepSeek and more

668 0 0
yfedoseev
llmkit-python

Production-grade LLM client - Rust, Python, TypeScript. 100+ providers, 11,000+ models.

622 14 0
OutrunAIAPI
outrun-ai

Python and Node clients for the Outrun API (OpenAI-compatible): pip/npm install outrun-ai

500 0 0
mihir0209
ai-synapse

Free AI inference router for developers - 21 providers, OpenAI-compatible

500 4 0
yazirofi
pyllmlib

pyllmlib is a lightweight, provider-agnostic Python package that gives you one simple interface to work with multiple Large Language Model (LLM) APIs.

436 0 0
danielcorin
llm-api-server

LLM plugin to expose a FastAPI server with compatible APIs for popular LLM clients

429 1 0
MervinPraison
fastapi-praisonai

FastAPI integration for PraisonAI multi-agent framework

102 1 0
MervinPraison
flask-praisonai

Flask integration for PraisonAI multi-agent framework

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