Skip to content

liteLLM

An open-source AI gateway for routing, governing, and tracking LLM usage

Listed on AiTop3 Last updated litellm.ai

What is liteLLM?

LiteLLM provides a self-hosted gateway for connecting applications and teams to AI models through an OpenAI-compatible API. It supports more than 100 providers and lets teams switch models without changing application code. The gateway brings model access, agents, and MCP servers behind a shared interface, with tools for managing keys, users, and teams.

Platform teams can monitor spend, set budgets and rate limits, route requests to suitable models, and configure fallbacks. The open-source edition can be self-hosted for free and includes virtual keys, spend tracking, request logging, and Prometheus metrics. An Enterprise offering adds capabilities such as SSO, audit logs, secret management, administrative controls, multi-region support, and enterprise support. Enterprise pricing is quoted according to annual request capacity, deployment architecture, and support requirements. LiteLLM also offers a Python SDK for calling supported LLMs in the OpenAI format.

Key features

LiteLLM provides an OpenAI-compatible API for model access, with routing, spend tracking, budgets, rate limits, logging, and guardrails. It supports self-hosted and internal models, agents, and MCP servers. Enterprise adds governance, security, and support capabilities.

  • Unified model access

    Connect to 100+ providers through one OpenAI-compatible API and change models without changing application code.

  • Spend controls

    Track usage and set budgets and rate limits across keys, users, teams, and organizations.

  • Model routing

    Route requests to models and configure fallbacks for AI workloads.

  • Self-hosting

    Run the open-source gateway on your own infrastructure, including in air-gapped environments.

  • Governance options

    Enterprise adds features such as SSO, audit logs, secret management, and administrative controls.

Who it’s for

The three jobs it suits best, and the plan we would pick for each.

  • 01

    Centralize model access

    Give teams one API for models across providers, and switch models without changing application code.

    Open Source $0
  • 02

    Manage LLM spend

    Track spend by key, user, team, or organization, and set budgets and rate limits.

    Open Source $0
  • 03

    Add enterprise governance

    Add SSO, audit logs, organization and team administration, multi-region control, and support with SLAs.

    Enterprise Annual

Pricing

Open Source is $0 and free forever for self-hosting. Enterprise is priced annually based on gateway request capacity, deployment architecture, and support needs, never per token; contact sales for a quote. A 30-day Enterprise trial is available.

Open Source

$0 /Free forever

Free forever; self-hosted.

  • Self-hosted
  • 100+ providers through one OpenAI API
  • Virtual keys, users, and teams
  • Spend tracking, budgets, and rate limits

Enterprise

Annual pricing sized to usage, architecture, and support needs.

  • SSO, SCIM, and audit logs
  • Secret managers and key rotation
  • Multi-region control plane
  • Enterprise support and SLAs

Editor’s verdict

Our editor’s take on its features, pricing and fit for the job. Rating out of 10.

LiteLLM is a self-hosted AI gateway for teams that want to manage model access through one OpenAI-compatible API. The listing highlights provider routing, spend visibility and controls, logging, and guardrails, with support for agents and MCP servers alongside models. The open-source gateway is free to self-host; Enterprise adds governance, security, and support, with custom annual pricing.

Pros

  • Free, self-hosted open-source gateway
  • One OpenAI-compatible API for models across providers
  • Spend tracking, budgets, rate limits, and guardrails
  • Enterprise offers SSO, audit logs, and support with SLAs

Cons

  • Enterprise pricing requires a custom quote
  • Self-hosting means teams manage their own deployment

How we rate tools

Our editors rate listed tools on features, pricing and fit for the job, using each maker’s product and pricing pages, and update a rating when a tool changes or a better one launches. No tool pays for its rank.

How Top 3 lists are picked

Specs

liteLLM specifications
DeploymentSelf-hosted; air-gapped deployment availableAPI formatOpenAI-compatible
Provider access100+ providers

FAQ

Short answers to what people ask about liteLLM.

Is the open-source version free for production?

Yes. The self-hosted LiteLLM OSS gateway has no license fee.

How is Enterprise priced?

Pricing is based on annual gateway request capacity, deployment architecture, and support needs, not per token. Contact sales for a quote.

Can LiteLLM run air-gapped?

Yes. Air-gapped deployment is available for Enterprise Standard and SCALE.

Alternatives to liteLLM

Other listed business tools, ranked by editor rating. See all alternatives

Groq

#3 in AI model APIs for
Best for
Fast open-model inference
Price
From Usage-based API
8.6 Compare

tawk.to

#3 in AI chatbots for
Best for
Small sites on a budget
Price
From $29/mo
8.2 Compare

Ashby

Not rated yet
Best for
Business
Price
From $400/mo
Not rated yet Compare