Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

LiteLLM

$ litellm Official Med Risk
BerriAI · AI & Media · MIT · macos / linux / windows

LiteLLM (litellm) launches an OpenAI-compatible AI gateway and proxy server across 100+ LLM providers (OpenAI, Anthropic, Bedrock, Vertex, Ollama). From the CLI you can bind a single model (litellm --model ...), load multi-model fallback routing (--config config.yaml), or inspect proxy flags (--help).

FCRS-1.0 Score
75 /100
Good
Medium Confidence
Zero-Friction Install
pip install litellm
CLI vs MCP Decision CLI Only

litellm acts as a local HTTP proxy daemon unifying 100+ provider SDKs behind a single OpenAI endpoint.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 15 / 25

Headless YAML/flag proxy launcher (--config, --port, --detailed_debug), though running litellm blocks as a server daemon.

  • Non-interactive --config and --port flags; runs as a blocking Uvicorn daemon
Trust & Safety 18 / 25

Proxies live paid API keys and supports LITELLM_MASTER_KEY auth, though misconfigured --host 0.0.0.0 without master keys exposes upstream billing.

  • Handles multiple upstream API keys; supports LITELLM_MASTER_KEY
Setup & Portability 12 / 15

Cross-platform Python package (pip install 'litellm[proxy]' / litellm) on macOS, Linux, and Windows.

  • Cross-platform PyPI distribution (pip install litellm)
Utility & Efficiency 13 / 15

Rapidly exposes 100+ cloud and local models behind one OpenAI-compatible proxy with fallbacks and spend tracking.

  • Unified OpenAI-compatible routing across 100+ LLM providers
Maintenance & Lineage 9 / 10

Actively maintained by BerriAI (BerriAI/litellm) under MIT license for core proxy.

  • Official BerriAI/litellm repository (MIT core)
Docs & Verifiability 8 / 10

Extensive proxy documentation at docs.litellm.ai and clear --help flags.

  • Detailed CLI proxy docs at docs.litellm.ai/docs/simple_proxy

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Reads upstream provider keys (OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.) and optional proxy LITELLM_MASTER_KEY from env vars or config.yaml.

Side Effects
Read-Only Remote Write Billing Impact
Cost & Quotas

MIT open-source core proxy (optional LITELLM_LICENSE for enterprise modules); upstream provider API calls incur billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# LiteLLM CLI Agent Rules
- Never run `litellm` synchronously in a blocking shell call—it starts a long-lived Uvicorn proxy server.
- Bind `--host 127.0.0.1` and configure `LITELLM_MASTER_KEY` when proxying paid upstream API keys.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect LiteLLM proxy CLI flags
litellm --help

Prints supported --model, --config, --port, --num_workers, and debug flags without starting the server.

Controlled Writes & Previews

Launch a local LiteLLM proxy from YAML config
litellm --config config.yaml --host 127.0.0.1 --port 4000

Starts a localhost-bound OpenAI-compatible routing proxy using routes defined in config.yaml.

Strengths for Agents

  • + One-command OpenAI-compatible gateway across 100+ cloud and local LLM backends.
  • + Declarative config.yaml supports fallbacks, rate limits, and spend budgets.

Caveats & Pitfalls

  • ! litellm blocks indefinitely as an HTTP proxy server.
  • ! Advanced enterprise RBAC/audit modules require a commercial LITELLM_LICENSE key.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI