Configure, operate, and troubleshoot LiteLLM Proxy/SDK using official LiteLLM documentation.
Use this skill for LiteLLM setup, configuration, operations, and troubleshooting tasks.
config.yaml (model_list, general_settings, routing).docs.litellm.ai and github.com/BerriAI/litellm.os.environ/...) in examples.GET /health/liveliness: process/container alive.GET /health/readiness: ready for traffic (includes DB readiness).GET /health: performs real model API checks.sdk: Python client usage and provider-specific model calls.proxy: gateway deployment, routing, auth, budgets, and observability.model_list:
- model_name: gpt-4o
litellm_params:
model: azure/my_azure_deployment
api_base: os.environ/AZURE_API_BASE
api_key: os.environ/AZURE_API_KEY
api_version: "2025-01-01-preview"
general_settings:
master_key: sk-1234
litellm --config /path/to/config.yaml --detailed_debug
curl -sS http://127.0.0.1:4000/health/liveliness
curl -sS http://127.0.0.1:4000/health/readiness
curl -sS -H "Authorization: Bearer sk-1234" http://127.0.0.1:4000/health
curl -sS -X POST http://127.0.0.1:4000/chat/completions \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sk-1234' \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"ping"}]}'
When applying this skill, return:
health, readiness/liveliness, one real model request).references/official-docs.md