litellm

Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, VLLM, NVIDIA NIM]

23 articles 40.8k View on GitHub ↗
23 articles
How to Migrate from OpenAI/Anthropic SDKs to LiteLLM: A Complete Guide

Effortlessly migrate from OpenAI or Anthropic SDKs to LiteLLM. Achieve zero code changes with the LiteLLM proxy or easily swap SDK calls for LiteLLM's completion function, saving time and resources.

migration-guide
Mar 26, 2026
LiteLLM Proxy Health Check and Monitoring Endpoints: A Complete Implementation Guide

Implement LiteLLM proxy health check and monitoring endpoints. Validate proxy availability, LLM deployments, and integrations like Datadog and Slack. Get the complete guide.

how-to-guide
Mar 26, 2026
LiteLLM Model-Specific Parameters and Provider Transformations: A Complete Guide

Master LiteLLM model-specific parameters & provider transformations. This guide explains how LiteLLM unifies LLM providers with a two-layer architecture for seamless API integration.

deep-dive
Mar 26, 2026
LiteLLM Embedding, Image Generation, and Audio Endpoints: Architecture and Usage Differences

Explore LiteLLM embedding, image generation, and audio endpoint differences. Understand how LiteLLM unifies these distinct call types within its architecture for seamless API integration.

architecture
Mar 26, 2026
High Availability and Load Balancing LiteLLM Proxy: A Production Deployment Guide

Achieve high availability and load balancing for your LiteLLM proxy. Learn how to deploy stateless, horizontally scaled, and automatically load-balanced model endpoints for production readiness.

how-to-guide
Mar 26, 2026
Production Security Best Practices for LiteLLM Proxy: 10 Critical Measures

Implement production security best practices for your LiteLLM proxy. Learn 10 critical measures to secure your API with env vars, encryption, and read-only filesystems.

best-practices
Mar 26, 2026
LiteLLM Model Context Protocol (MCP) Servers and Tools: A Complete Technical Guide

Master LiteLLM Model Context Protocol (MCP) servers and tools. This guide explains how MCP enables OpenAI compatible clients to discover and execute external tools via a unified gateway.

deep-dive
Mar 26, 2026
LiteLLM Proxy Custom Prompt Management: A Complete Guide to Dynamic Prompt Templates

Master LiteLLM proxy custom prompt management. Inject, version, and retrieve dynamic prompt templates at runtime via API. Enhance your LLM applications effortlessly.

how-to-guide
Mar 26, 2026
How to Configure Budget Limits and Spend Alerts in LiteLLM

Configure budget limits and spend alerts in LiteLLM with its three-layer system. Set caps, get Slack/email alerts, and enforce limits per model, team, or user. Optimize your LLM spending effectively.

how-to-guide
Mar 26, 2026
LiteLLM Token Usage and Cost Tracking Across Providers: A Complete Technical Guide

Master LiteLLM token usage and cost tracking across providers. Our guide shows how LiteLLM normalizes counts and calculates costs for seamless LLM management.

deep-dive
Mar 26, 2026
How to Invoke A2A Agents with LiteLLM: A2A Protocol Implementation Guide

Learn to invoke A2A agents using LiteLLM's A2A protocol support. This guide details direct agent communication and LLM-as-agent patterns through a unified proxy.

how-to-guide
Mar 26, 2026
How LiteLLM Virtual Keys Work for API Key Management: A Complete Technical Guide

Learn how LiteLLM virtual keys manage API keys, authenticate requests, enforce limits, and track usage for LLM providers. A complete technical guide.

how-to-guide
Mar 26, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →