qmetrics.net

LiteLLM

Open-source AI gateway and Python SDK for 100+ LLM providers

LiteLLM screenshot

LiteLLM is an open-source AI gateway for calling 100+ LLM providers in the OpenAI format. It runs as a Python SDK or self-hosted proxy with virtual keys, spend tracking, guardrails and load balancing

Overview

LiteLLM gives developers and platform teams a single interface for calling more than 100 LLM providers, including OpenAI, Anthropic, Gemini, Bedrock, Azure, Vertex AI, vLLM and Nvidia NIM. Requests use the OpenAI format, so switching providers does not require rewriting application code. It covers endpoints such as chat completions, responses, embeddings, images, audio, batches and rerank.

It can be used in two ways. The Python SDK is imported directly into application code, and a separate litellm-core distribution offers the same API without the proxy, CLI or dashboard. The AI Gateway (proxy server) is a central service for a team or organization. It adds virtual keys, SSO, per-team and per-key budgets and rate limits, spend tracking, guardrails, load balancing, fallbacks, logging and an admin dashboard.

Beyond LLM calls, the gateway can front MCP servers and A2A agents, so tools and agents are reached through the same keys and access controls. An auto-router can choose a model for each prompt. The SDK can also route Claude Code, Codex, OpenCode and other agent harnesses through the gateway, and it has helpers for evaluating agents.

LiteLLM is open source and self-hosted, including in air-gapped setups, and also offers a hosted proxy and an enterprise tier. P95 latency is 8ms at 1k requests per second, and its core includes Rust components.

Key features

  • Unified OpenAI-format API for 100+ providers
  • Python SDK and proxy server
  • Virtual keys with budgets and rate limits
  • Spend tracking per team, key and tag
  • Guardrails such as PII masking and prompt-injection checks
  • Load balancing and fallbacks
  • MCP gateway and A2A agent gateway
  • Admin dashboard with SSO, audit logs and request logs

Use cases

  • Central LLM gateway for an organization
  • Swapping model providers without code changes
  • Tracking and capping LLM spend per team
  • Exposing MCP servers and agents through one endpoint
  • Routing coding agents through a managed gateway

Does the same job as

LiteLLM doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare LiteLLM

Similar software

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

  • Visual drag-and-drop flow builder
  • Python source access for customizing components
  • Interactive playground for testing flows
PythonmacOS, Windows, DockerDetails →
★ 157.1k⟳ todayMIT
Open Source Alternative to:Google AI StudioRelevance AI+1

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

  • Interoperable LLM and tool components
  • Model and provider swap support
  • Vector store and retriever integrations
PythonDetails →
★ 150.4k⟳ todayMIT

Paperclip

Open-source orchestration platform for teams of AI agents

Node.js server and React UI for managing a team of AI agents like a company. Assign goals, build an org chart, set budgets, and track tasks and costs from one dashboard.

  • Org chart of human and AI agent roles
  • Bring-your-own agent adapters
  • Goal-linked task management
TypeScriptWebDetails →
★ 119.4k⟳ todayMIT
Open Source Alternative to:Dust

Agent Reach

CLI toolkit for AI agents to search and read many web platforms

Agent Reach installs platform connectors so AI agents can search and read sites such as GitHub, YouTube, Reddit, Bilibili, and Xiaohongshu from one command line, without relying on paid APIs for default channels.

  • One CLI install for many web channels
  • Default channels without paid APIs
  • Ordered fallback tools per platform action
PythonCLIDetails →
★ 117.1k⟳ 10 days agoMIT

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

  • Multi-format document ingestion
  • Template-based explainable chunking
  • Knowledge compilation artifacts
GoWeb, Linux, DockerDetails →
★ 95.2k⟳ todayApache-2.0

MiroFish

Multi-agent swarm intelligence prediction engine

MiroFish builds parallel digital worlds from real-world seed material so multi-agent simulations can explore future outcomes. Users upload seeds and state prediction needs in natural language.

  • Seed-to-graph world construction
  • Multi-agent social simulation
  • GraphRAG and persona setup
PythonDockerDetails →
★ 87.6k⟳ 2 months agoAGPL-3.0