Provider-agnostic LLM apps
write code once, switch backends via config

// screenshot of litellm.ai ↗
LiteLLM is an OpenAI-compatible proxy that fronts 100+ LLM providers — OpenAI, Anthropic, Google, Mistral, Cohere, Hugging Face, Ollama, AWS Bedrock, Azure, and dozens more. Your code calls litellm.completion() (or the proxy's OpenAI-compatible REST endpoint) and LiteLLM routes to the actual provider with retries, fallbacks, cost tracking, and load balancing.
LiteLLM is an OpenAI-compatible proxy that fronts 100+ LLM providers — OpenAI, Anthropic, Google, Mistral, Cohere, Hugging Face, Ollama, AWS Bedrock, Azure, and dozens more. Your code calls litellm.completion() (or the proxy's OpenAI-compatible REST endpoint) and LiteLLM routes to the actual provider with retries, fallbacks, cost tracking, and load balancing.
It's the "LLM router" pattern — the one piece of infrastructure that makes provider-switching painless.
Concrete scenarios where teams pick LiteLLM over the SaaS alternative.
write code once, switch backends via config
route cheap queries to cheaper models automatically
fallback chains across providers when one is down
per-user / per-team spend limits with alerts
gradual swap from OpenAI to Anthropic without code changes
If your team profile matches one of these, LiteLLM is a strong fit out of the box.
standardizing LLM access across the org
needing audit trail + budget enforcement on LLM usage
wanting to A/B test providers without code refactor
routing dev traffic to cheap providers, prod to premium
offering "OpenAI-compatible API" while proxying to multiple backends
When evaluating self-hosted options for this category, here are the dimensions on which LiteLLM consistently lands above the alternatives.
The stack you'll plug LiteLLM into — services, protocols, and adjacent apps in the BluixApps catalog.
ghcr.io/berriai/litellm:latest (locked to release tag)Operational guidance from running this in production — what to do before you scale, what to lock down, what surprises people.
4000:4000 · ghcr.io/berriai/litellm:main-stable