litellm
by
BerriAI

Description: Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock,...

View on GitHub ↗

Summary Information

Updated 9 minutes ago
Added to GitGenius on April 29th, 2026
Created on July 27th, 2023
Open Issues & Pull Requests: 3,676 (-33)
Number of forks: 9,521
Total Stargazers: 52,787 (+6)
Total Subscribers: 213 (-1)

Issue Activity (beta)

Open issues: 1,115
New in 7 days: 170
Closed in 7 days: 99
Avg open age: 34 days
Stale 30+ days: 489
Stale 90+ days: 0

Recent activity

Opened in 7 days: 148
Closed in 7 days: 88
Comments in 7 days: 263
Events in 7 days: 776

Top labels

  • bug (4,310)
  • stale (2,857)
  • llm translation (1,809)
  • enhancement (1,664)
  • proxy (896)
  • mlops user request (649)
  • SDK (277)
  • ui-dashboard (154)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 30.5 hours
90th percentile: 2.7 hours
Tracked items: 7,224

Most active contributors

Detailed Description

LiteLLM is an open source AI Gateway written in Python that provides a unified interface for calling over 100 different large language model providers through a single standardized API format compatible with OpenAI. The project is maintained by BerriAI, a Y Combinator W23 company, and serves as both a Python SDK for direct library integration and a deployable proxy server for centralized LLM access across organizations.

The core problem LiteLLM solves is the fragmentation in the LLM ecosystem. Different providers like OpenAI, Anthropic, Bedrock, Azure, Vertex AI, Cohere, and others each have their own SDKs, authentication patterns, request formats, and error handling mechanisms. LiteLLM abstracts away these differences by presenting a unified OpenAI-compatible interface, allowing developers to swap between providers without rewriting application code. The gateway supports multiple deployment options including direct deployment to Render, Railway, AWS, and GCP through one-click deployment buttons.

As a proxy server and AI gateway, LiteLLM includes production-ready features for enterprise use. These encompass virtual key management, cost tracking and spend monitoring, guardrails for safety and compliance, load balancing across multiple models and providers, comprehensive logging, and an admin dashboard. The gateway achieves 8 milliseconds P95 latency at 1000 requests per second according to published benchmarks, making it suitable for high-throughput production environments.

Beyond basic LLM calls, LiteLLM supports multiple endpoint types including chat completions, embeddings, image generation, audio processing, batch operations, reranking, and agent-to-agent communication. The platform integrates with agent frameworks including LangGraph, Vertex AI Agent Engine, Azure AI Foundry, Bedrock AgentCore, and Pydantic AI through an A2A protocol. Additionally, LiteLLM functions as an MCP gateway, allowing Model Context Protocol servers to be connected to any LLM through the gateway's chat completions endpoint, with specific integration support for Cursor IDE.

The repository shows active development and community engagement. GitGenius tracking data indicates the project has grown to 52,606 stars as of July 2026, with a median issue and pull request response latency of zero hours and a mean response time of 30.4 hours across over 7,000 tracked items. The most active contributor, ishaan-jaff, has logged 3,574 events, while Sameerlite has contributed 1,024 events. The project maintains a substantial issue backlog with 3,643 open issues, with bug reports being the most common label at 4,268 occurrences, followed by enhancement requests at 1,655 and stale issues at 2,620.

The project has achieved notable adoption among major technology companies including Stripe, Google, Netflix, and OpenAI, indicating its viability as an enterprise-grade solution. LiteLLM is available on PyPI as a Python package and maintains comprehensive documentation at docs.litellm.ai, with additional resources including Discord and Slack communities for user support. The codebase overlaps with contributors from major projects including Microsoft's VSCode and TypeScript repositories, as well as the Rust language project, suggesting cross-pollination with the broader developer ecosystem.

litellm
by
BerriAIBerriAI/litellm

Repository Details

Fetching additional details & charts...