About LiteLLM
LiteLLM translates a single OpenAI-format API into calls to more than 100 LLM providers, from hosted APIs to local Ollama or vLLM servers. As a proxy it adds virtual API keys, spend tracking per team, budgets, load balancing and logging callbacks such as Langfuse. The core is MIT, with enterprise features under a commercial license.
With a central gateway, applications hold one LiteLLM key instead of a pile of provider secrets, and you see spend per project. A CloudSat VPS keeps it on infrastructure you control, in front of hosted APIs or GPU servers running your own models.
After deploy the proxy listens on port 4000 with PostgreSQL for keys and spend, and the admin UI lives at /ui.
What you get with LiteLLM
- OpenAI-compatible endpoints for 100+ providers
- Virtual keys with per-user and per-team budgets
- Load balancing and fallbacks across deployments
- Spend tracking and logging integrations
- Admin UI for models, keys and usage
LiteLLM use cases
- One API key per app instead of raw provider secrets
- Cost control for teams using several model vendors
- Routing between a hosted API and a self-hosted model
After you deploy LiteLLM
- Once the server reads Running, open
http://<server IP>:4000/uiand log in asadminwith theLITELLM_MASTER_KEYvalue as password. - Add provider credentials and models in
config.yamlor the UI, restarting the proxy after file edits. - Issue a virtual key per app or teammate instead of sharing the master key.
- Put the gateway behind HTTPS and guard the master key, since it authorizes every management call.
LiteLLM ports
Open these in your firewall if you use one: 4000/tcp HTTP (proxy API and admin UI).
LiteLLM FAQ
Does LiteLLM need a database?
Plain routing works from a config file alone, but virtual keys and budget enforcement need one, and the gateway uses PostgreSQL for them.
Can it serve models running on my own GPU?
Yes. Point a model entry at an OpenAI-compatible server such as vLLM or Ollama, for example on a CloudSat GPU server.
Disclaimer. The LiteLLM project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.