Créer, héberger et exploiter des solutions IA.
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 optimisé pour les VPS Cloud ServOrbit.
Order a ServOrbit VPS with at least 1 GB RAM running Ubuntu 22.04. LiteLLM itself needs around 256 MB; PostgreSQL takes most of the remaining budget. Port 4000 must be reachable, or plan a reverse proxy on 80/443.
SSH into the VPS and run openssl rand -hex 32 to generate LITELLM_MASTER_KEY — this is your admin API key that unlocks the dashboard and all administrative endpoints. Also set strong DB credentials. Keep the master key safe.
Create /opt/litellm/.env with DB_NAME, DB_USER, DB_PASSWORD, LITELLM_MASTER_KEY, UI_USERNAME and UI_PASSWORD. Then create /opt/litellm/docker-compose.yml with two services: LiteLLM (ghcr.io/berriai/litellm:main-latest, port 4000) and PostgreSQL 16. Run docker compose up -d. Allow 30 seconds for first boot.
Navigate to http:// and log in with your UI_USERNAME and UI_PASSWORD. Go to Models, click Add — enter a model name like ollama/llama3.1 with base URL http://host.docker.internal:11434 to route to a local Ollama, or paste an Anthropic API key for anthropic/claude-3-5-haiku-20241022. Test with curl -H "Authorization: Bearer .
In the dashboard under API Keys, create per-team virtual keys with optional max_budget (in USD), tpm_limit and rpm_limit. Share these keys with your developers — they point their OpenAI SDK at your LiteLLM gateway and the spend is tracked per key.
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.
Intelligence ArtificielleInterface web pour interagir avec vos LLMs locaux ou distants. Vos données restent sur votre infrastructure — aucun tiers impliqué.
Automatisation & WorkflowsAutomatisez vos workflows entre applications sans code. Plus de 400 intégrations, 100 % auto-hébergé sur votre VPS.
Parcourez notre centre d'aide et notre FAQ, ou écrivez à notre équipe — support en anglais, français et arabe.