litellm-docs

Configure LiteLLM proxy server, virtual keys, and spend tracking.

7|2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/wenerme/ai --skill litellm-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: litellm-docs
Source: https://github.com/wenerme/ai/tree/main/skills/litellm-docs
Command: npx skills add https://github.com/wenerme/ai --skill litellm-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

LiteLLM documentation helps you configure and troubleshoot a unified, OpenAI-compatible interface for 100+ LLM providers, including proxy routing, fallbacks, caching, observability, secrets, and guardrails.

Core Features & Use Cases

  • Proxy server setup: Learn how to deploy LiteLLM Proxy for load balancing, virtual keys, spend tracking, rate limiting, SSO/RBAC, and model routing.
  • Provider configuration & model routing: Find provider-specific instructions to call different vendors via the same OpenAI-style API.
  • Production concerns: Use guidance for caching (Redis/S3/in-memory), observability (Langfuse/Datadog/Prometheus/OTEL), and secret managers.

Quick Start

Ask about how to configure LiteLLM Proxy for multi-provider routing with spend tracking and caching for a chat completion workload.

Frequently Asked Questions about litellm-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up the LiteLLM proxy server for multi-provider routing?

To set up the LiteLLM proxy server, deploy the proxy to enable load balancing, virtual keys, spend tracking, rate limiting, and model routing across 100+ LLM providers. The proxy exposes a unified OpenAI-compatible API for chat completions.

What is the best way to track token spend and set budgets with LiteLLM?

The best way to track token spend and set budgets with LiteLLM is by configuring virtual keys through the proxy server. This enables precise spend tracking and budget enforcement across multiple providers and routing configurations.

Does LiteLLM support caching with Redis and S3 for chat completion workloads?

Yes, LiteLLM supports caching using Redis, S3, and in-memory storage. Configuring caching through the proxy server reduces latency and costs for repeated chat completion workloads across your configured LLM providers.

How do I configure fallback routing behavior in LiteLLM when a provider fails?

To configure fallback routing behavior in LiteLLM, use the proxy server settings to define fallback models. This ensures requests automatically reroute to backup providers if the primary LLM provider fails or returns errors.

Can I integrate LiteLLM with secret managers and observability tools like Datadog?

Yes, you can integrate LiteLLM with secret managers for secure credential handling and observability tools like Datadog, Langfuse, Prometheus, and OTEL. This integration provides comprehensive production monitoring and secure provider configuration.

Why use an OpenAI-compatible Python SDK for calling different LLM providers?

You use an OpenAI-compatible Python SDK to normalize API calls across 100+ LLM providers. This approach simplifies provider configuration, routing, and fallback strategies by maintaining a consistent interface for all vendor interactions.