AI

LiteLLM - One API shape for many model providers

aiself-hostedproxyllm

Applications that call one model provider tend to get stuck there. LiteLLM sits in front of several providers and exposes an OpenAI-style endpoint, so switching the model behind a request is mostly a configuration change. It also handles keys, usage tracking, retries, and fallback routing when a provider has a bad day. You can run it as a local service or a small central proxy for a whole team. The compatibility is practical rather than perfect; edge-case parameters still need checking. For anyone who wants to avoid rewriting client code when prices or capabilities change, it saves a lot of churn.

Links

Alternatives

  • OpenRouter: hosted router with a huge provider list, but requests go through their service.
  • Portkey: gateway with observability features, closed source with paid plans.
  • One API: open proxy with a similar goal and a different admin UI.
  • Helicone: request logging first, routing second, with a hosted control plane.