Run This Ai
EN DE

LiteLLM

Open-source AI gateway to call 100+ LLM providers in OpenAI format — self-hosted, enterprise-ready

★ 12,000 GitHub MIT gatewayproxyllmopenai-compatibleapi LLM & Chat

Overview

LiteLLM is an open source AI Gateway that gives you a single, unified interface to call 100+ LLM providers — OpenAI, Anthropic, Gemini, Bedrock, Azure, and more — using the OpenAI format. Use it as a Python SDK for direct library integration, or deploy the AI Gateway (Proxy Server) as a centralized service with cost tracking, guardrails, load balancing, and logging.

Requirements

Min vCPU
1
Min RAM
4096 MB
Min Disk
10 GB
Rec vCPU
2
Rec RAM
4096 MB
Rec Disk
20 GB

Recommended VPS

Hostinger · KVM 2

2 vCPU · 8192 MB · 100 GB

$6.99
View plan

Hostinger · KVM 2

2 vCPU · 8192 MB · 100 GB

$6.99
View plan

Hostinger · KVM 4

4 vCPU · 16384 MB · 200 GB

$11.99
View plan

Affiliate disclosure

Docker Compose

# Generated by Run This Ai — docker-compose.yml
services:
  litellm:
    image: ghcr.io/berriai/litellm:main-stable
    restart: unless-stopped
    ports:
      - 8080:8080
    volumes:
      - ./data/litellm:/data

Best VPS for LiteLLM →

LiteLLM — Faq

LiteLLM

LiteLLM

LiteLLM is an open source AI Gateway that gives you a single, unified interface to call 100+ LLM providers — OpenAI, Anthropic, Gemini, Bedrock, Azure, and more — using the OpenAI format. Use it as a Python SDK for direct library integration, or deploy the AI Gateway (Proxy Server) as a centralized service with cost tracking, guardrails, load balancing, and logging.

Is LiteLLM free to self-host?

Yes — it is open source and runs on your own hardware.

Does LiteLLM need a lot of resources?

A server with 1–2GB RAM is enough for most workloads.

How do I deploy LiteLLM?

Easiest via Docker — see the installation guide for commands.

Where does my data go?

Nowhere — everything is processed locally on your server.

LiteLLM — Alt

LiteLLM

LiteLLM

LiteLLM is an open source AI Gateway that gives you a single, unified interface to call 100+ LLM providers — OpenAI, Anthropic, Gemini, Bedrock, Azure, and more — using the OpenAI format. Use it as a Python SDK for direct library integration, or deploy the AI Gateway (Proxy Server) as a centralized service with cost tracking, guardrails, load balancing, and logging.

Alternatives to LiteLLM

If LiteLLM isn't quite right, these are common self-hosted alternatives in the same category:

Tool Strengths
Browse the directory for more options

LiteLLM — Review

LiteLLM

LiteLLM

LiteLLM is an open source AI Gateway that gives you a single, unified interface to call 100+ LLM providers — OpenAI, Anthropic, Gemini, Bedrock, Azure, and more — using the OpenAI format. Use it as a Python SDK for direct library integration, or deploy the AI Gateway (Proxy Server) as a centralized service with cost tracking, guardrails, load balancing, and logging.

Strengths

  • Full self-hosted control over your data
  • Straightforward Docker-based deployment
  • Open-source license

Weaknesses

  • Initial setup requires Docker familiarity
  • You are responsible for maintenance and updates
  • Resource needs can grow under heavy load

Verdict

LiteLLM is a solid self-hosted choice — its strengths outweigh the usual maintenance overhead.

LiteLLM — Install

LiteLLM

LiteLLM

LiteLLM is an open source AI Gateway that gives you a single, unified interface to call 100+ LLM providers — OpenAI, Anthropic, Gemini, Bedrock, Azure, and more — using the OpenAI format. Use it as a Python SDK for direct library integration, or deploy the AI Gateway (Proxy Server) as a centralized service with cost tracking, guardrails, load balancing, and logging.

Prerequisites

  • Docker installed (version 24.0+)
  • Docker Compose (version 2.20+)
  • At least 1GB RAM (2GB recommended)

Quick start with Docker

# Pull the image
docker pull ghcr.io/berriai/litellm:main-stable

# Run the container
docker run -d --name litellm -p 8080:8080 ghcr.io/berriai/litellm:main-stable

Key features

LiteLLM — Overview

LiteLLM

LiteLLM

LiteLLM is an open source AI Gateway that gives you a single, unified interface to call 100+ LLM providers — OpenAI, Anthropic, Gemini, Bedrock, Azure, and more — using the OpenAI format. Use it as a Python SDK for direct library integration, or deploy the AI Gateway (Proxy Server) as a centralized service with cost tracking, guardrails, load balancing, and logging.

Key features

What it's good for

LiteLLM runs entirely on your own infrastructure — your data never leaves your server.

Related tools