Self-host LibreChat on your own VPS
A multi-provider AI chat interface for OpenAI, Claude and local models.
Multi-provider AI chat UI, OpenAI/Claude/local models (+ MongoDB).
- Category
- AI
- What gets deployed
- 2 containers, including MongoDB
- HTTPS
- Automatic, as soon as your domain points at the server
- Plan
- Any paid plan (Solo, Pro or Agency)
How to deploy LibreChat with DeployOS
- 1
Connect your server
Paste your VPS's IP address and SSH key. DeployOS installs Docker, a firewall and HTTPS routing in one pass.
- 2
Choose LibreChat
Open Templates and pick LibreChat. Give it a name and, if you have one, a domain. MongoDB is set up for you.
- 3
Press Deploy
DeployOS starts it, checks it answers, and gives you its address. Passwords it generates are kept in your computer's keychain.
LibreChat on a VPS: common questions
How do I install LibreChat on a VPS?
Connect your server in DeployOS by pasting its IP address, open Templates, choose LibreChat, give it a name and a domain, and press Deploy. DeployOS also starts MongoDB for it and connects the two, so there is no database to set up. When it finishes you get its address over HTTPS.
What does it cost to self-host LibreChat?
LibreChat is included with every paid DeployOS plan, from $79 once for Solo. You also pay your VPS provider, typically about $5 a month for a small server, and the same server can run your other apps too.
Do I need to know Docker to run LibreChat?
No. DeployOS writes the configuration, starts the 2 containers, routes your domain to it and gets the HTTPS certificate. You manage it from the app: restart, logs, backups and updates.
More ai apps you can self-host
- Agent ZeroGeneral-purpose autonomous AI agent - persistent memory, shell, browser & code execution
- AnythingLLMAll-in-one private RAG workspace & chat
- ChromaVector database for embeddings
- LiteLLMOne OpenAI-compatible API in front of 100+ model providers, with keys and budgets
- Lobe ChatPolished ChatGPT-style AI chat UI
- LocalAIOpenAI API drop-in replacement