stackpicks.dev
BerriAI

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]

48k stars8.3k forks208 watchers1387 open issuesPythonNOASSERTION

TL;DR · 30-second scan

What it is

litellm (Python)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]

What it does for you

You're calling multiple LLM providers and want a unified interface plus cost tracking.

Best for

AI & ML

48k GitHub starsLicense: NOASSERTIONLast updated 1 hour ago
EDITOR'S DEEP TAKE

Universal proxy/SDK for any LLM API — OpenAI, Anthropic, Gemini, Mistral, Cohere, Bedrock, local Ollama, 100+ providers. Same interface for all. Built-in spend tracking, rate limiting, caching. The right pick if you want to abstract LLM provider lock-in.

Use this if

You're calling multiple LLM providers and want a unified interface plus cost tracking.

Skip if

You're only using one provider — direct SDK is simpler.

Categories
Topics
anthropiclangchainllmllmopsopenaiai-gatewayazure-openaibedrockgatewayopenai-proxyvertex-aillm-gatewaylitellmmcp-gateway
Maintainer? Embed our badge

Add this badge to your README to show your project is curated on StackPicks. Free, lightweight (180×28 SVG), and gives your visitors a one-click way to see honest take + alternatives.

Preview
Featured on StackPicks
Markdown (for GitHub README)
[![Featured on StackPicks](https://stackpicks.dev/api/badge/berriai-litellm)](https://stackpicks.dev/repo/berriai-litellm)
HTML (for blogs / docs)
<a href="https://stackpicks.dev/repo/berriai-litellm"><img src="https://stackpicks.dev/api/badge/berriai-litellm" alt="Featured on StackPicks" width="180" height="28" /></a>

Are you the maintainer of BerriAI/litellm? Add the badge and we'll feature your project in the next weekly newsletter (~2,000 builders).

Created 27 Jul 2023
Last push 1 hour ago
Stats refreshed 1 hour ago