Skip to content
LiteLLM logo

LiteLLM

Open-source gateway for calling 100+ LLM APIs

LiteLLM provides an OpenAI-compatible gateway and Python SDK for calling more than 100 language model APIs through one interface. The proxy adds routing, retries, virtual keys, budgets, guardrails, usage tracking, and MCP access controls for production agent systems.

Best for agent capabilities

Useful in agent tasks

Overview

Authapi key
PricingFree tier available · Free self-hosted
SDKspython
OpenAPIYes
MCP SupportYes

When to use LiteLLM

LiteLLM is listed for Deployment, Monitoring workflows. LiteLLM provides an OpenAI-compatible gateway and Python SDK for calling more than 100 language model APIs through one interface. The proxy adds routing, retries, virtual keys, budgets, guardrails, usage tracking, and MCP access controls for production agent systems. Consider it when an agent needs this capability through a documented service boundary instead of custom infrastructure maintained inside the application.

In 4agent's task model, the product maps to deployment, workflow automation, observability and evaluation. That makes it a candidate for workflows that build and deploy software, operate production agents, communicate with users, automate business workflows.

Integration checklist

  • Access: confirm the api key authentication flow, credential scope, rotation process, and whether calls can be attributed to a user or service identity.
  • Client support: official or documented clients are listed for python.
  • Automation: OpenAPI is listed as available, MCP is listed as available, and CLI support is listed as available. Confirm each requirement in the provider's current documentation.
  • Operations: test rate limits, timeouts, retry safety, error payloads, logs, data retention, and the current free-tier and paid pricing model with production-like volume.

Sources and verification

Use these primary sources to verify current behavior before making an implementation or purchasing decision. Product capabilities, limits, and prices can change after a 4agent listing is reviewed.