Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

LiteLLM on a VPS

LiteLLM is an open-source AI gateway: call OpenAI, Anthropic, Gemini, Ollama and 100+ more providers through one OpenAI-compatible API.

2 GBMinimum memory
Ubuntu 24.04 LTSBase image
4000/tcpPorts
MIT (enterprise features under a commercial license)License

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

  1. Once the server reads Running, open http://<server IP>:4000/ui and log in as admin with the LITELLM_MASTER_KEY value as password.
  2. Add provider credentials and models in config.yaml or the UI, restarting the proxy after file edits.
  3. Issue a virtual key per app or teammate instead of sharing the master key.
  4. 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.

LiteLLM on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back