LibreChat

Multi-provider ChatGPT-style interface with agents, file search and user management.

Quick answer

LibreChat is a multi-provider ChatGPT-style interface with agents, file search and user management, listed under Private ChatGPT-style chat. A typical small-business use: one chat portal where staff can switch between several model providers. Official hardware: minimum 1 vCPU · 1 GB RAM (recommended 2 GB RAM). That fits a Hetzner Cloud CPX02 server at about €5.49/month (server only, excl. VAT; €9.99/month for the recommended spec). License: MIT, which allows internal business use.

Last updated · facts verified against official docs on · sources

GitHub stars47.9k
Forks9.9k
Latest release—
Last commitDec 4, 2026
Est. server costfrom €5.49/mo

Activity data comes from GitHub and was last refreshed Dec 6, 2026.

What is LibreChat?

LibreChat is a team chat interface that connects to many AI providers at once (OpenAI, Anthropic, Google, Azure, local models and more). It adds agents, conversation search and file search through a RAG API. It does not run models itself.

Where it fits in a 10–200 person business

  • One chat portal where staff can switch between several model providers
  • Central API-key management and usage control instead of personal subscriptions
  • Agents with file search over team documents

These use cases are our editorial suggestions, not claims made by the project.

Can a business use LibreChat? (license)

LicenseMIT
TypePermissive: MIT / Apache-2.0: use, modify and sell with few obligations.
Internal business useAllowed under the license text
What to watchPermissive. Internal and commercial use allowed; keep the copyright notice.

This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.

Data & compliance: does LibreChat phone home?

Telemetry (usage data sent to the vendor) Not documented
Other calls home by default (updates, marketplaces, default cloud services) Not documented
Single sign-on (OIDC / SAML / LDAP) Free

By protocol: OIDC free · SAML free · LDAP free.

OpenID Connect, SAML (mutually exclusive with OIDC), LDAP/AD and social logins are configured in the open-source app.

Source: www.librechat.ai/docs/configuration/authentication · www.librechat.ai/docs/configuration/authentication/ldap

Audit log Not documented
Role-based access control (RBAC) Not documented
Data residency / GDPR notes from the project Not documented

Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.

What hardware does LibreChat need?

Minimum1 vCPU · 1 GB RAM
Recommended2 GB RAM

The default Compose file also starts MongoDB, Meilisearch and a PostgreSQL/pgvector RAG API. With everything running, give Docker at least 2 GB of memory. No GPU needed.

Source: www.librechat.ai/docs/local/docker

Tested by SelfHostMap

Measured, not official

We deployed LibreChat 0.8.8 ourselves on using the official Docker instructions, and measured what it actually used. Your numbers will vary with your data, users and hardware. How we test.

Version / imageregistry.librechat.ai/librechat-ai/librechat-dev:latest → LibreChat 0.8.8
Test machineIntel Xeon (Sapphire Rapids class, AVX-512 + AMX), 8 vCPU, 16 GB RAM (shared), GPU: none (CPU only). Debian 13 (trixie), Linux 6.12, Docker Engine 29.9.2. Container capped at 1.0 GiB.
RAM at idle measured750 MiB · Whole stack, 2 minutes after start, no users yet: LibreChat 295, RAG API 181, MongoDB 166, pgvector 56, Meilisearch 52 MiB. The admin panel was in a restart loop and used nothing (see snags).
RAM while working measured941 MiB · Highest whole-stack reading while registering a user, logging in, switching to the local model and sending one chat message in a browser: LibreChat 485, RAG API 180, MongoDB 169, pgvector 56, Meilisearch 52 MiB. The model ran in the separate llama.cpp container (about 500 MiB), not counted here. The memory_limit above is per container.
Image size2.44 GB download, 10.62 GB on disk once unpacked
Data on disk after test255 MB · MongoDB data folder 206 MB and PostgreSQL volume 48 MB after one user and one chat; most of it is the databases' own preallocation.
Time to first start4.3 s with the image already downloaded · From docker compose up -d (images already pulled) until /health answered 200 on first boot; the log said "Server listening on all interfaces at port 3080" after 4.7 s.
Including the image download: 31.7 s (download took 27.4 s on our datacenter connection; yours depends on your network).

What we ran into

  • The quick start uses development images

    The docker-compose.yml in the repository pulls librechat-dev:latest and librechat-rag-api-dev-lite:latest, built from the main branch (the LibreChat image was 4 hours old when we pulled it).

    Fix: For a business deployment use deploy-compose.yml or pin a release image tag, and upgrade on purpose.

  • The new admin panel container refuses to start with the example .env
    [admin-panel] SESSION_SECRET must be set to at least 32 characters (got 0). Refusing to start.

    Fix: Set ADMIN_PANEL_SESSION_SECRET in .env (for example openssl rand -hex 32), or remove the admin-panel service if you do not need it. Chat works either way.

  • Encryption keys are generated on the fly
    [credentials] No configured value was found for CREDS_KEY, CREDS_IV, JWT_SECRET, JWT_REFRESH_SECRET. Temporary credentials from /app/data/.env.temp are being used.

    Fix: Generate permanent values (LibreChat links a credentials generator in its docs) and put them in .env before real use, so saved API keys and logins survive a rebuild.

  • Scheduled tasks are disabled in the single-server setup
    [schedules] scheduler NOT started: this process cannot see other replicas' generations. The job store is process-local (Redis is off)

    Fix: Ignore it if you do not use scheduled agent tasks; otherwise add Redis as described in LibreChat's scaling docs.

  • Registration is open and email verification is not enforced without SMTP

    With the example .env anyone who can reach port 3080 can register. The register endpoint answered "Please check your email to verify your email address.", but with no mail server configured we could log in straight away.

    Fix: After creating your own accounts set ALLOW_REGISTRATION=false, or configure email and social or SSO login.

  • The default model in the UI is a cloud model you have not configured

    After login the model picker showed an OpenAI model, and pressing Enter did nothing until we switched to our llama.cpp endpoint.

    Fix: Remove unused providers from ENDPOINTS in .env and set your own endpoint in librechat.yaml so users land on a model that works.

  • Containers on the Compose network could not reach each other on our test machine (caused by our test network)

    On the first start LibreChat could not reach MongoDB and the RAG API could not reach PostgreSQL ("Connection timed out"). The cause was a firewall rule left on our test VM that dropped traffic on new Docker bridge networks.

    Failed to start server: Server selection timed out after 30000 ms

    Fix: Not a LibreChat problem. We allowed the Compose bridge in the firewall for the duration of the test and removed the rule afterwards.

Exact command we ran
git clone https://github.com/danny-avila/LibreChat.git
cd LibreChat
cp .env.example .env
# our additions: docker-compose.override.yml (memory caps + librechat.yaml mount), librechat.yaml (local endpoint)
docker compose up -d

The official Docker Compose quick start (repository at commit 53ae22a, 22 Oct 2026) with an override file that only adds memory caps (1 GB per service, 512 MB for the admin panel) and mounts a librechat.yaml defining one custom OpenAI-compatible endpoint: the llama.cpp server from our llama.cpp test running Qwen2.5 0.5B. The stack has six containers: LibreChat (API + web UI), MongoDB 8.0.20, Meilisearch 1.35.1, pgvector 0.8.0 (PostgreSQL 15), the RAG API and a new admin panel. Download and disk sizes are for all six images together (download: LibreChat 1,030 MB, RAG API 589 MB, MongoDB 316 MB, admin panel 245 MB, pgvector 159 MB, Meilisearch 106 MB).

LibreChat 0.8.8 answering a test question through a local llama.cpp endpoint with Qwen2.5 0.5B
LibreChat 0.8.8 answering a test question through a local llama.cpp endpoint with Qwen2.5 0.5B. Screenshot from our test, Oct 22, 2026.

How much does it cost to host LibreChat per month?

Minimum spec1 vCPU · 1 GB RAM → CPX02 (1 vCPU, 1 GB, 20 GB disk) €5.49/mo
Recommended spec2 GB RAM → CPX12 (1 vCPU, 2 GB, 40 GB disk) €9.99/mo

How we got this: we took the cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan with at least the RAM and vCPU the project lists, using prices read from www.hetzner.com/cloud/regular-performance on 2026-11-30. "From" monthly price cap shown by Hetzner, excluding VAT. Prices vary by location. Covers the server only; it excludes LLM API usage, backups, extra storage, GPUs and your time. Disk is not matched; add a volume if you need more than the plan includes.

How to deploy LibreChat

Method: Docker Compose

git clone https://github.com/LibreChat-AI/LibreChat.git
cd LibreChat
cp .env.example .env
docker compose up -d

From the official instructions: www.librechat.ai/docs/local/docker. Always check the source for the current version before you run it.

Known gotchas when self-hosting LibreChat

  • The default MongoDB image needs AVX instructions. On Apple Silicon Macs MongoDB crashes on startup. source
  • The admin panel only starts once ADMIN_PANEL_SESSION_SECRET is set in .env. source

Alternatives in Private ChatGPT-style chat

Plan your deployment

Use these guides to check the model, hardware and operating decisions alongside the app comparison.

LibreChat FAQ

How much RAM does LibreChat need?

The official minimum is 1 vCPU · 1 GB RAM. The recommended spec is 2 GB RAM. The default Compose file also starts MongoDB, Meilisearch and a PostgreSQL/pgvector RAG API. With everything running, give Docker at least 2 GB of memory. No GPU needed.

Does LibreChat need a GPU?

No. The project notes that no GPU is needed.

How much does it cost to self-host LibreChat?

The software is free to download. Based on the official minimum 1 vCPU · 1 GB RAM (recommended 2 GB RAM): That fits a Hetzner Cloud CPX02 server at about €5.49/month (server only, excl. VAT; €9.99/month for the recommended spec). That covers the server only, not LLM API usage, backups, extra storage or your time.

Is LibreChat free for commercial use?

LibreChat is licensed under MIT (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep the copyright notice. This is a summary, not legal advice.

What are common problems when self-hosting LibreChat?

The default MongoDB image needs AVX instructions. On Apple Silicon Macs MongoDB crashes on startup. The admin panel only starts once ADMIN_PANEL_SESSION_SECRET is set in .env.

What went wrong when SelfHostMap deployed LibreChat?

In our test of LibreChat 0.8.8 on Oct 22, 2026: The quick start uses development images. For a business deployment use deploy-compose.yml or pin a release image tag, and upgrade on purpose. The new admin panel container refuses to start with the example .env. Set ADMIN_PANEL_SESSION_SECRET in .env (for example openssl rand -hex 32), or remove the admin-panel service if you do not need it. Chat works either way. Encryption keys are generated on the fly. Generate permanent values (LibreChat links a credentials generator in its docs) and put them in .env before real use, so saved API keys and logins survive a rebuild. Scheduled tasks are disabled in the single-server setup. Ignore it if you do not use scheduled agent tasks; otherwise add Redis as described in LibreChat's scaling docs. Registration is open and email verification is not enforced without SMTP. After creating your own accounts set ALLOW_REGISTRATION=false, or configure email and social or SSO login. The default model in the UI is a cloud model you have not configured. Remove unused providers from ENDPOINTS in .env and set your own endpoint in librechat.yaml so users land on a model that works.

Is LibreChat still maintained?

Yes, it is actively developed. Last commit: Dec 4, 2026. Checked Dec 6, 2026.

How do I install LibreChat?

The official method is Docker Compose. The exact commands are in the "How to deploy" section above and in the official instructions: https://www.librechat.ai/docs/local/docker

What are self-hosted alternatives to LibreChat?

Other apps in Private ChatGPT-style chat: Open WebUI, NextChat, LobeHub (LobeChat), Cherry Studio, Jan, Chatbox, Chat UI, big-AGI, DeepChat, Bionic.

Sources

Facts on this page were checked against the project's own repository and docs on 2026-10-22. Spotted something out of date? Tell us.