LiteLLM

Hybrid (offline or cloud)

Drop-in OpenAI-compatible proxy across 100+ providers. Route to local Ollama or cloud, same code.

Editorial verdict: “Best universal LLM proxy. Foundational layer for multi-provider deployments.”

SDK / proxy
Free tier
MIT
★ 4.5 / 5
GitHub ★ 15,000

Compatibility at a glance

Which runtime + OS combos this app works against. Source of truth for "will it run on my setup?"

§ Runtimes supported
ollamallama-cppopenai-compatanthropicgeminiopenai
§ OS / platform
linuxmacoswindows

What it is

LiteLLM is a proxy that exposes OpenAI's API shape but routes to 100+ backends: Anthropic, Gemini, Ollama, Together, Groq, local llama.cpp, etc. Drop it between your app and your LLMs, and your app code stays OpenAI-shaped while you swap providers freely. Excellent for migration and A/B testing.

✓ Strengths

  • +Genuinely universal — 100+ providers
  • +OpenAI-shaped API stays put
  • +Built-in fallback / retry / cost tracking

△ Caveats

  • −Some advanced features paid (LiteLLM Cloud)
  • −Extra moving part in your stack