[{"data":1,"prerenderedAt":157},["ShallowReactive",2],{"seo-verification":3,"blog-heberger-librechat-vps-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"id":7,"slug":8,"title":9,"excerpt":10,"readTime":11,"views":12,"isPinned":13,"publishedAt":14,"category":15,"categories":21,"featuredImage":23,"bgImage":24,"posterImage":25,"relatedSolution":26,"intro":28,"sections":29,"ctaTitle":112,"ctaBody":113,"ctaButton":114,"ctaUrl":115,"relatedPosts":116},13,"heberger-librechat-vps","How to Host LibreChat on a VPS","Host LibreChat on your VPS: a private, multi-model ChatGPT interface. Docker, MongoDB, RAG, reverse proxy and SSL step by step.",9,681,false,"2026-06-07T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},1,"Artificial Intelligence","intelligence-artificielle","bg-purple-500\u002F10 text-purple-400","ia",[22],{"id":16,"name":17,"slug":18,"color":19,"icon":20},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fheberger-librechat-vps-poster.svg",{"categorySlug":20,"appSlug":27},"librechat","LibreChat reproduces the ChatGPT experience in open source, but multi-provider: OpenAI, Anthropic, Google, or your local models, in the same interface. Self-hosted on a VPS, it offers your team a private, multi-user conversational assistant, with access management and history under your control. Here is how to deploy it.",[30,34,44,47,69,109],{"type":31,"title":32,"body":33},"h2","Why self-host LibreChat on a VPS","LibreChat is a chat interface, not an inference engine: its value is to centralize several LLM providers behind a polished UI, with authentication, user management, presets, and a RAG module to chat with your documents. For a company, distributing individual ChatGPT accounts is expensive and scatters the data. With LibreChat on a VPS, you pool access: a single API key per provider, internal accounts that you manage, and all conversation history in your own MongoDB. You decide which models are available, you can plug in a local Ollama for zero-cloud, and you keep full control of the data exchanged.",{"type":35,"title":36,"items":37},"ul","The concrete benefits of a self-hosted LibreChat",[38,39,40,41,42,43],"A single interface for OpenAI, Anthropic, Google and your local models.","Internal accounts and roles managed by you, without individual subscriptions per employee.","Conversation history stored in your MongoDB, never with a third party.","Pooled API keys: a single provider access shared by the whole team.","Built-in RAG module to query your own documents.","Fine control over the exposed models and the default parameters.",{"type":31,"title":45,"body":46},"Hardware and software requirements","LibreChat relies on several services (the app, MongoDB, Meilisearch for search, and the RAG API). Count on 2 vCPU and 4 GB of RAM for a modest team using cloud APIs; move to 4 vCPU \u002F 8 GB if you enable RAG with local embeddings or an Ollama on the same machine. Plan for 15 to 20 GB of disk for MongoDB and the indexes. Docker and Docker Compose are indispensable because LibreChat deploys as a multi-container stack. Add a subdomain (e.g. chat.your-domain.com), port 443 open, and the API keys of the providers you plan to offer.",{"type":48,"title":49,"steps":50},"steps","Deploy LibreChat with Docker, MongoDB and HTTPS",[51,54,57,60,63,66],{"title":52,"body":53},"Clone the repository and prepare the config","Over SSH: `git clone https:\u002F\u002Fgithub.com\u002Fdanny-avila\u002FLibreChat && cd LibreChat`. Copy the environment example: `cp .env.example .env`. The project already provides a `docker-compose.yml` orchestrating the app, MongoDB and Meilisearch.",{"title":55,"body":56},"Configure the .env","Fill in your keys (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, etc.), generate the `JWT_SECRET` and `CREDS_KEY` secrets, and set `ALLOW_REGISTRATION=false` if you want to create accounts manually rather than opening registration.",{"title":58,"body":59},"Launch the stack","Start with `docker compose up -d`. Check that all containers are healthy via `docker compose ps`. The app listens internally on port `3080`.",{"title":61,"body":62},"Configure librechat.yaml (models and RAG)","To add custom endpoints (local Ollama, groq, etc.) or enable RAG, create a `librechat.yaml` file. For example, point a custom endpoint to `http:\u002F\u002Fhost.docker.internal:11434\u002Fv1` to connect your Ollama.",{"title":64,"body":65},"Set up the reverse proxy","Route `chat.your-domain.com` to `localhost:3080` via Caddy or Nginx, with Let's Encrypt. Enable WebSocket support and increase the timeouts so as not to cut off long streaming responses.",{"title":67,"body":68},"Create the accounts and test","Create the first user, log in, select a model and send a message. If RAG is enabled, upload a document in a conversation and check that the answers rely on it.",{"type":70,"title":71,"headers":72,"rows":76},"comparison","LibreChat or AnythingLLM: which to choose?",[73,74,75],"Criterion","LibreChat","AnythingLLM",[77,81,85,89,93,97,101,105],[78,79,80],"Main purpose","Multi-provider chat interface","RAG engine over documents",[82,83,84],"Multi-models in one UI","Excellent (OpenAI, Anthropic, Google, local)","Good, but centered on one provider per workspace",[86,87,88],"RAG over documents","Additional module to configure","Core of the product, ready to use",[90,91,92],"Multi-user management","Native accounts and roles","Multi-user mode and partitioned workspaces",[94,95,96],"Deployment architecture","Multi-container stack (Mongo, Meili, RAG)","Single container + vector database",[98,99,100],"Data storage","Self-hosted MongoDB","storage volume + LanceDB\u002FQdrant",[102,103,104],"Ideal use case","Team conversational assistant","Queryable knowledge base",[106,107,108],"Resource footprint","Heavier (several services)","Lighter at startup",{"type":110,"body":111},"tip","For a zero-cloud deployment, combine LibreChat with an Ollama hosted on the same VPS: declare a custom endpoint in `librechat.yaml` pointing to Ollama's OpenAI-compatible API. You thus get LibreChat's ergonomics with 100% local models, without any external key or data leaving the server. Remember to set the proxy timeouts accordingly, as CPU inference is slower.","Give your team a private ChatGPT on a ServOrbit Cloud VPS","The ServOrbit Cloud VPS provides the Docker environment and the resources to deploy the full LibreChat stack, MongoDB included. Scale on demand as your team grows.","Set up my Cloud VPS","\u002Fvps-cloud",[117,130,144],{"id":16,"slug":118,"title":119,"excerpt":120,"readTime":121,"views":122,"isPinned":13,"publishedAt":123,"category":124,"categories":125,"featuredImage":23,"bgImage":24,"posterImage":127,"relatedSolution":128},"heberger-open-webui","How to Host Open WebUI on a VPS","A complete guide to deploying Open WebUI on your own VPS. Keep control of your data, avoid cloud API costs, and access your LLMs from a clean web interface.",6,3200,"2026-06-01T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[126],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fheberger-open-webui-poster.svg",{"categorySlug":20,"appSlug":129},"open-webui",{"id":131,"slug":132,"title":133,"excerpt":134,"readTime":135,"views":136,"isPinned":13,"publishedAt":137,"category":138,"categories":139,"featuredImage":23,"bgImage":24,"posterImage":141,"relatedSolution":142},2,"deployer-dify-vps","Deploying Dify on a VPS: AI Workflows Under Control","Install Dify on a ServOrbit VPS to build agents, chatflows and AI apps without losing control of your data.",7,2480,"2026-02-11T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[140],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fdeployer-dify-vps-poster.svg",{"categorySlug":20,"appSlug":143},"dify",{"id":121,"slug":145,"title":146,"excerpt":147,"readTime":148,"views":149,"isPinned":13,"publishedAt":150,"category":151,"categories":152,"featuredImage":23,"bgImage":24,"posterImage":154,"relatedSolution":155},"openclaw-vps","Deploying OpenClaw on a VPS","A guide to deploying OpenClaw on your own VPS. Keep control of your AI agents and your data within your own infrastructure.",5,422,"2026-06-11T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[153],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fopenclaw-vps-poster.svg",{"categorySlug":20,"appSlug":156},"openclaw",1785628439779]