unclecode-litellm
Pre-compromise fork of litellm - Library to easily interface with LLM API providers
Decision gist · record as of 2026-08-14
Yes, with conditions. This is a pre-compromise fork, so verify that this fork's divergence from the main project meets your needs—check whether all providers and features you require are present and functional. Install friction is low, maintenance is active, and the MIT license is permissive. No known vulnerabilities. Suitable for teams building multi-provider LLM applications or operating a centralized LLM gateway.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- API keys for the LLM providers you intend to use must be set as environment variables.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal obligations—only attribution required.
last release 2026-03-24 (143 days) · last repo commit 2026-04-24 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 900,309 downloads/mo, #4,776 on PyPI
Alternatives
Verify before relying
pip install unclecode-litellm
from litellm import completion
import os
os.environ["OPENAI_API_KEY"] = "your-key"
response = completion(
model="openai/gpt-4o",
messages=[{"role": "user", "content": "Hello!"}]
)- How this fork diverges from the upstream project and whether all advertised providers are fully functional.
- Whether all endpoints listed (/chat/completions, /embeddings, /images, /audio, /batches, /rerank, /a2a, /messages) are production-ready or experimental.
- Actual performance characteristics under production load beyond claims in the description.
What it is and what it does
unclecode-litellm is a pre-compromise fork that abstracts away differences between LLM provider APIs, letting you call models from many providers through a single OpenAI-compatible interface. It ships as both a Python SDK for direct integration into your code and an AI Gateway (proxy server) for centralized LLM access with authentication, virtual keys, cost tracking, and request routing.
The Python SDK handles completion calls, embeddings, image generation, audio transcription, and more across providers. The AI Gateway layer adds multi-tenant support, per-project customization (logging, guardrails, caching), and admin dashboards for monitoring. It also supports agent-to-agent (A2A) protocols, MCP (Model Context Protocol) tool bridging, and router-based retry and fallback logic across multiple deployments. Runtime dependencies include httpx, openai, pydantic, aiohttp, and tokenizers.
Use it for
- Switch between LLM providers without rewriting completion calls by changing the model string.
- Build a centralized LLM gateway for your organization with virtual keys, cost tracking per user/project, and unified authentication.
- Implement retry and fallback logic across multiple LLM deployments using the Router for resilience.
- Connect MCP servers to any LLM via the experimental MCP bridge for tool-augmented completions.
- Track LLM spend and usage across teams using the proxy's multi-tenant cost tracking and observability callbacks.
- Invoke agent-to-agent (A2A) protocols from multiple agent platforms through a unified gateway.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
This is a pre-compromise fork, so verify that this fork's divergence from the main project meets your needs—check whether all providers and features you require are present and functional. Install friction is low, maintenance is active, and the MIT license is permissive. No known vulnerabilities. Suitable for teams building multi-provider LLM applications or operating a centralized LLM gateway.
Install
unclecode-litellm on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with recent commits. Twelve runtime dependencies (httpx, openai, pydantic, jinja2, aiohttp, click, tiktoken, tokenizers, jsonschema, importlib-metadata, python-dotenv, fastuuid) are all standard ecosystem libraries.
Requires Python 3.9 or later. API keys for the LLM providers you intend to use must be set as environment variables.
License in practice
MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal obligations—only attribution required.
Quickstart
pip install unclecode-litellm
from litellm import completion
import os
os.environ["OPENAI_API_KEY"] = "your-key"
response = completion(
model="openai/gpt-4o",
messages=[{"role": "user", "content": "Hello!"}]
)
Verify before relying
- How this fork diverges from the upstream project and whether all advertised providers are fully functional.
- Whether all endpoints listed (/chat/completions, /embeddings, /images, /audio, /batches, /rerank, /a2a, /messages) are production-ready or experimental.
- Actual performance characteristics under production load beyond claims in the description.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 12 packagesfastuuidhttpxopenaipython-dotenvtiktokenimportlib-metadatatokenizersclickjinja2aiohttppydanticjsonschema |
| Maintenance | Actively maintained 143 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 900,309 / month, #4,776 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: unclecode_litellm-1.81.13-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “unified llm api interface”
- unclecode-litellmUnified Python interface to call many LLM providers (OpenAI,…
- litellmLiteLLM provides a unified Python interface to call 100+ LLM…
- any-llm-sdkProvides a unified Python interface to communicate with multiple LLM…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also fhlmi · genai-prices · litellm-enterprise · any-llm-sdk · litellm-proxy-extras · models-dev · uipath-llm-client · pandasai-litellm · uipath-langchain-client