BerriAI/litellm

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

This repository also configures its own agents. See what litellm tells them →

64kStars on the repository
10Mods indexed here, across every type
todayLast push, which is what freshness is scored on
customA LICENSE file GitHub cannot name, so bodies are not copied
▶ Run Claude Code with Local LLMs: Ollama + LiteLLM + OpenTelemetry Nerding I/O with Jd Fiscus · about BerriAI/litellm · on YouTube →

rust-tracing

01

BerriAI/litellm

Skill Claude CodeCodex

Add or change Rust diagnostic tracing in litellm-rust, including route spans, subscriber layers, and Python logger delivery.

not rated 64k +358 changed 8d ago A 28 tokens

rust-string-enums

02

BerriAI/litellm

Skill Claude CodeCodex

Define or refactor Rust string-valued enums and their Serde adapters in litellm-rust, using Strum and serdewith while preserving parsing, wire values, and schemas.

not rated 64k +358 changed 14d ago A 41 tokens

url-state

03

BerriAI/litellm

Skill Claude CodeCodex

Read or write dashboard URL query state (tabs, filters, pagination, deep links, demo flags) with nuqs instead of raw history or URLSearchParams.

not rated 64k +358 changed 1mo ago A 34 tokens

rust-error

04

BerriAI/litellm

Skill Claude CodeCodex

Define, wrap, convert, classify, report or test Rust error types in litellm-rust with thiserror. Use when adding an error type or variant, mapping one crate's error into another, turning an error into a gateway response or Python exception, deciding retry or fault from an error, or replacing call sites that build…

not rated 64k +358 today A 72 tokens

rust-gateway

05

BerriAI/litellm

Skill Claude CodeCodex

Add or change an HTTP route, extractor, response envelope, stream or router mount in the litellm-rust gateway crates (crates/gateway and crates/gateway-). Use when adding an endpoint, parsing a request body, choosing an error envelope for an API surface, relaying SSE, or writing a router-level test.

not rated 64k +358 changed 14d ago A 70 tokens

rust-redaction

06

BerriAI/litellm

Skill Claude CodeCodex

Keep secrets out of Debug output in litellm-rust with SecretValue and veil. Use when a struct or enum holds a password, token, key, credential URL or credential provider, when writing or reviewing a Debug impl, or when a type with secrets gets logged or traced.

not rated 64k +358 changed 8d ago A 60 tokens

BerriAI/litellm

Skill Claude CodeCodex

Decide where Python-shaped input becomes typed Rust in litellm-rust. Use when reading config.yaml values, os.environ/ references, REDIS or other environment layering, getsecret fallbacks, or kwargs and objects handed over from Python, when coercing text to a bool, int or float the way Python does, or when adding a…

not rated 64k +358 changed 12d ago A 83 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: