LibreChat on Railway

Private ChatGPT-style chat for many model providers with agents and file chat, on Railway.

Official site · License: MIT · 19 Railway templates

Deploy LibreChat on RailwayCompare templates

LibreChat is an open-source AI chat platform. One interface connects to OpenAI, Anthropic, Google, OpenRouter and other providers, with multi-user accounts, conversation search, agents with tools and MCP servers, and chat with uploaded documents through a RAG API.

Teams use it as a private alternative to hosted chat products, keeping conversations in their own database and managing who has an account. It is often compared with Open WebUI.

LibreChat is released under the MIT license.

What LibreChat can do

  • Multiple providers in one interface
  • Agents with tools and MCP servers
  • File chat through a RAG API
  • Full-text conversation search
  • Multi-user accounts with an administrator
  • Per-user or shared model API keys

What people use it for

  • A private ChatGPT-style workspace for a team
  • One interface for several providers with per-user keys
  • Shared agents inside a team
  • Chatting with PDFs and other documents
  • A controlled AI entry point for a company

Videos

LibreChat: All-In-One AI Platform - Integrate LLMs, Plugins, and AI Models For FREE! · WorldofAI
LibreChat Explained Can This Open Source Chat Replace ChatGPT? · SaasTuto SaaS & WP vids
Build the Ultimate Local AI Workspace (LibreChat) · RM Logic

Running LibreChat on Railway

The LibreChat template deploys the app (v0.8.8) with MongoDB, Meilisearch for search and the RAG API backed by Postgres with pgvector, with images pinned and secrets generated. Uploads and avatars live on a volume and an administrator account is created on first start. Idle RAM is measured at about 0.35 GB for LibreChat and 0.5 GB for MongoDB, with the other services smaller, so MongoDB and the app drive cost.

LibreChat templates on Railway

LibreChat Private AI Chat (MongoDB + Meilisearch)Maintained by Tracklayer
LibreChat v0.8.8 is an open-source AI chat platform with one interface for OpenAI, Anthropic, Google, OpenRouter and other providers, plus agents, file chat and multi-user accounts
8 deployments
Deploy
LibreChat by LibreChat
Open-source ChatGPT clone: multi-model, agents, search, multi-user auth
6,761 deployments
Deploy
LibreChat by an independent creator
LibreChat is a free, open source AI chat platform.
202 deployments
Deploy
LibreChat | Self-Hosted AI Chat with Multi-Provider Support by Heimdall
1-Click LibreChat deploy (OpenAI, Anthropic, Google, Ollama, RAG API)
184 deployments
Deploy
Librechat with RAG by an independent creator
Librechat.ai with RAG enabled
101 deployments
Deploy
LibreChat - Lite by an independent creator
lite version LibreChat without RAG
42 deployments
Deploy
LibreChat by an independent creator
Private multi-provider AI chat: agents, code interpreter, document RAG
7 deployments
Deploy
LibreChat on Bifrost: Self Hosted Multi Model AI Chat by an independent creator
Give your team a private ChatGPT across every model you connect.
6 deployments
Deploy
LibreChat by an independent creator
LibreChat on a pinned release: admin set at deploy, file search, Mongo
5 deployments
Deploy
LibreChat by an independent creator
Self-hosted LibreChat: GPT, Claude, Gemini in one app. ChatGPT alternative.
2 deployments
Deploy
LibreChat | Open Source ChatGPT Alternative by an independent creator
5-service LibreChat with search and RAG. 1.5 GB RAM, about $25/month
2 deployments
Deploy
LibreChat + Meilisearch + RAG by an independent creator
LibreChat with Meilisearch search and a keyless RAG API for file chat
1 deployments
Deploy
LibreChat | ChatGPT Alternative, Files + Search That Persist by an independent creator
Self-hosted ChatGPT alternative: file RAG with no API key, uploads persist
1 deployments
Deploy
LibreChat | Stable Release, Working Schedules, Uploads in a Bucket by an independent creator
Self-host LibreChat on Railway — stable release, uploads in a Bucket.
1 deployments
Deploy
LibreChat by an independent creator
Private AI chat for every model, with agents, search and file RAG.
0 deployments
Deploy
LibreChat by an independent creator
Multi-provider AI chat with agents, files, search, and RAG.
0 deployments
Deploy
LibreChat — Multi-Provider AI Chat with RAG by an independent creator
Self-hosted ChatGPT UI — GPT, Claude, Gemini, RAG, multi-user
0 deployments
Deploy
LibreChat [Updated Nov '26] by an independent creator
LibreChat [Nov '26] (Self-Hosted ChatGPT UI, Multi-Provider + RAG)
0 deployments
Deploy
LibreChat 0.8.9 by an independent creator
LibreChat 0.8.9: multi-provider AI chat, file search, admin set at deploy
0 deployments
Deploy

Tracklayer templates are listed first. Other LibreChat templates follow, ordered by total deployments on Railway. How this works.

Deployment numbers as of 2026-11-20.

Questions about LibreChat

Do I need model API keys to deploy?

No. By default each user adds their own key in the chat interface, and you can switch to shared keys later.

How do I log in the first time?

Sign in with LIBRECHAT_ADMIN_EMAIL (default admin@example.com) and the generated LIBRECHAT_ADMIN_PASSWORD from the LibreChat service's Variables. The account has the ADMIN role.

Can strangers register?

The administrator is created on first start so the instance cannot be claimed by an outsider. Registration settings can be adjusted through LibreChat's configuration.

What drives the cost?

The services running together: the app, MongoDB, Meilisearch, the RAG API and Postgres. MongoDB uses the most idle memory.

Where are files stored?

Uploads and avatars are on a Railway volume; document embeddings are in Postgres with pgvector.

Guides

Similar apps

Tracklayer maintains the templates marked as such; LibreChat is a trademark of its owners and this site is not affiliated with them.