LibreChatLibreChat

Enhanced ChatGPT Clone.

AILLM

LibreChat Self Host Guide

What is LibreChat

LibreChat: Enhanced ChatGPT Clone: Features OpenAI, GPT-4 Vision, Mistral, Bing, Anthropic, OpenRouter, Google Gemini, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. More features in development.

Features of LibreChat

🤖 AI model selection:

OpenAI, Azure OpenAI, BingAI, ChatGPT, Google Vertex AI, Anthropic (Claude), Plugins, Assistants API (including Azure Assistants)

✅ Compatible across both Remote & Local AI services:

groq, Ollama, Cohere, Mistral AI, Apple MLX, koboldcpp, OpenRouter, together.ai, Perplexity, ShuttleAI, and more

💬 Multimodal Chat:

Upload and analyze images with Claude 3, GPT-4 (including gpt-4o and gpt-4o-mini), and Gemini Vision 📸 Chat with Files using Custom Endpoints, OpenAI, Azure, Anthropic, & Google. 🗃️ Advanced Agents with Files, Code Interpreter, Tools, and API Actions 🔦 Available through the OpenAI Assistants API 🌤️ Non-OpenAI Agents in Active Development 🚧

How to Self Host LibreChat

There are several ways to self host LibreChat, including using Docker-Compose, Zeabur, Railway, Sealos or other platforms.

LibreChat requires 5 services: LibreChat, Rag-API, MongoDB, MeiliSearch and PostgreSQL, which makes it hard to self host with docker on your own machine. Zeabur provides a one-click deployment for it, so this article will take Zeabur as the example.

Step 1

Before you start, you've to make sure you have an account on Zeabur. If you don't have an account, you can create one here.

Step 2

After you've successfully created an account, you can follow the steps below to deploy LibreChat on Zeabur:

  • Press on the deploy button below to deploy LibreChat on Zeabur.

Deploy

  • You will be redirected to the Zeabur dashboard, where you can see the LibreChat deployment. Within one minute, you will see 5 services starts running.

  • Now you can access the LibreChat using the domain you've bound to it.

Here is a more detailed guide for deploying LibreChat on Zeabur.

Frequently Asked Questions

LibreChat vs LobeChat

LibreChat provides a more powerful configs and rag support.

Cost to Host LibreChat on Zeabur

You just need to pay $5 Developer Plan fee for Zeabur.

Explore More