litellm-production

Community

Optimize production-scale LiteLLM with connection pooling and caching.

Authorhung-phan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the common production issues of LiteLLM, such as TCP churn, file-descriptor exhaustion, high latency, and cost overruns, by implementing a shared aiohttp session for connection pooling, OTel tracing, and Redis/disk cache tiering.

Core Features & Use Cases

  • Connection Pooling: Reduces TCP churn and file-descriptor exhaustion.
  • Response Caching: Improves latency and reduces cost by caching LLM responses.
  • OTel Tracing: Enables detailed monitoring of LLM calls.
  • Use Case: Deploy a service that makes high-throughput LLM calls, integrate LiteLLM into a FastAPI app, or configure LLM response caching for production services.

Quick Start

Initialize litellm with the production configuration to enable connection pooling, caching, and OTel tracing.

Dependency Matrix

Required Modules

aiohttplitellmopentelemetry

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: litellm-production
Download link: https://github.com/hung-phan/ml-skills/archive/main.zip#litellm-production

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.