Must have
Installation requirements
- The default MongoDB image needs a CPU with AVX instructions; it crashes at startup on CPUs without AVX.
Application hosting
LibreChat is an open-source chat interface that connects to many AI providers and to local models. It sends prompts to those providers rather than running models itself, so a small server without a GPU runs it.
Requirements last checked against the project's documentation.
A sensible first server for LibreChat is 1 vCPU, 2 GB RAM and 20 GB of storage. The cheapest listed plan that fits is OVHcloud VPS-1 (US) at $4.54/month.
Find the software and services needed to run the application.
See requirementsPlan memory, storage and CPU for the way you will use it.
Open resource plannerCompare plans for the starting size, then review the provider and billing terms.
See plansMust have
Recommended
The default stack runs LibreChat with MongoDB, Meilisearch and a RAG API backed by PostgreSQL with pgvector. Model inference runs at the providers you connect.
Where to start
LibreChat's Docker guide asks for at least 1 vCPU and 1 GiB of RAM for its containers and 2 GB for smooth operation with every service running. Disk is our estimate; uploaded files and the search index grow with use.
Our shortlist
One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.
Deploy with
The host must provide
Storage
Persist the MongoDB data, the Meilisearch index, the pgvector database and uploaded files. Conversations and attachments grow with every user, so plan backups for all three data stores.
Step by step
Copy .env.example to .env and replace every sample secret, including CREDS_KEY, CREDS_IV and the JWT secrets, with unique generated values that stay fixed across restarts.
Official instructionsRun the default Docker Compose file, which starts LibreChat with MongoDB, Meilisearch and the RAG API. LibreChat listens on port 3080 unless PORT is set.
Official instructionsAdd provider API keys, and mount librechat.yaml through docker-compose.override.yml for custom endpoints and settings.
Official instructionsSecurity
Cost
Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.