litelm strips LiteLLM to its core: routing, translation, streaming and tool use for 19 providers in ~2,900 lines with two dependencies.
Yes, litelm is open source under the MIT license.
litelm is free to use.
Yes, litelm can be self-hosted (the source is available under the MIT license).
Open-source Python library (MIT, 182★) that extracts the core of LiteLLM — model routing, message translation, streaming, tool use and embeddings across 19 providers — into ~2,900 lines with two dependencies (openai, httpx), keeping API compatibility with LiteLLM for drop-in migration.
Model routing sits under every multi-model agent workflow (including the cheap-worker routing pattern this registry cataloged with Spotify's shunt). A minimal, readable router is the version of that layer a lean team can audit after a supply-chain scare, and this year supplied several.