LiteLLM: one OpenAI-shaped gateway in front of many providers

Put keys in env, map model aliases, and log spend. The gateway is not a second copy of your secrets store.

code · Published 2026-12-03 · Website · Translation: VI

Bottom line

Put keys in env, map model aliases, and log spend. The gateway is not a second copy of your secrets store.

LiteLLM exposes an OpenAI-compatible API in front of many vendors and local servers. Teams use it to standardize clients on one base URL while routing model names differently.

When it fits

LiteLLM when several apps must share routing and budgets. A single Ollama URL when there is only one local model server.

When to open this tool versus the nearby alternative.

Setup traps

Read the project’s install page on the day you install. Defaults move. Bind addresses, API keys, and model paths are the usual silent failures.

Default trap versus the safer bind or key setting.

First check

After install, run one boring prompt or health request you can verify without trusting the UI badge alone.

Install → one verified check → only then real data.

Share

X Facebook LinkedIn