Build, host and run AI solutions.
Self-hosted LLM API gateway — route between Ollama, Anthropic and 100+ providers from a single OpenAI-compatible endpoint.
LiteLLM is an open-source LLM proxy that presents a unified OpenAI-compatible API for over 100 LLM providers. Your applications keep a single endpoint — and LiteLLM routes each request to Ollama on the same VPS, to Anthropic Claude, to Azure OpenAI, or to any other backend you configure — without a single line of application code changing.
Deployed on a ServOrbit VPS, LiteLLM gives your development team a private AI gateway with a built-in dashboard for usage analytics, per-key spend limits and rate limiting. It runs alongside Ollama for fully air-gapped inference, or in front of commercial APIs to centralize cost tracking across all your projects.
Route cost-sensitive tasks to a local Ollama instance and complex reasoning requests to Anthropic Claude — all from the same OpenAI SDK call in your application. Change the routing in the LiteLLM config, never in app code.
Issue virtual API keys to each team or project with a monthly spend cap. When a key hits its budget, LiteLLM returns a 429 — no surprise cloud bill at the end of the month.
Switch your entire application from one provider to another by updating a config file. OpenAI-compatible surface means zero application changes — migrate from GPT-4 to Llama 3 on Ollama without touching a single import.
Guide optimized for ServOrbit Cloud VPS.
A ServOrbit VPS with 1 GB of RAM is enough for individual use: LiteLLM itself uses around 256 MB, and PostgreSQL takes most of the rest. Allow 2 GB for a team sending requests in parallel. Plan for the domain through which the gateway will be reached as well: there is no other way to it.
You have nothing to craft by hand: the deployment generates the LITELLM_MASTER_KEY master key, the PostgreSQL database credentials and the admin interface password. The master key opens the dashboard and every administrative endpoint — treat it as a password and keep it off the server.
Open the admin interface at https://<your-domain>/ui: LiteLLM shows a username and password form. Enter admin and the password generated at install time, shown on the app's card in your client area, then create your virtual keys from the dashboard.
Two containers start together: the ghcr.io/berriai/litellm:main-latest gateway, published on 127.0.0.1:4000, and a postgres:16-alpine database. Data persists in two volumes, litellm_db for the database and litellm_config for the gateway configuration. Allow around thirty seconds for the first start.
In the dashboard, open Models then Add. To route to an Ollama installed on the same machine, enter a model name such as ollama/llama3.1 with the base URL http://host.docker.internal:11434; for a remote provider, paste the matching API key, for anthropic/claude-3-5-haiku-20241022 for example. Check with curl -H "Authorization: Bearer <LITELLM_MASTER_KEY>" https://<your-domain>/v1/models: that same address, https://<your-domain>/v1, is the base URL to give your SDKs.
In the API Keys section of the dashboard, create one virtual key per team, with a max_budget where relevant — the cumulative budget, expressed in dollars —, a tpm_limit in tokens per minute and an rpm_limit in requests per minute. Your developers point their OpenAI SDK at the gateway, and spend is accounted for key by key.
Maintaining a project that uses LiteLLM? This button lets your readers deploy it on a VPS in one click, without reading Docker documentation.
[](https://servorbit.com/vps-cloud?template=litellm&utm_source=deploy-badge&utm_medium=referral&utm_campaign=litellm)<a href="https://servorbit.com/vps-cloud?template=litellm&utm_source=deploy-badge&utm_medium=referral&utm_campaign=litellm"><img src="https://servorbit.com/brand/deploy/button.svg" alt="Deploy LiteLLM on ServOrbit" height="40"></a>The button points to a VPS order with the template preselected. The image is served from servorbit.com — nothing to host on your side.
Run open-source LLMs locally via a dead-simple API. Pull Llama 3, Mistral, Qwen or DeepSeek in one command — OpenAI-compatible, zero per-token cost.
Artificial IntelligenceWeb interface to interact with your local or remote LLMs. Your data stays on your infrastructure — no third party involved.
Automation & WorkflowsAutomate your workflows across applications without code. Over 400 integrations, 100% self-hosted on your VPS.
Browse our help center and FAQ, or reach our team — callback, WhatsApp or email. Support in French, English and Arabic.