Skip to main content
LibreChat Hero

Your Self-Hosted AI Command Center

LibreChat is a free, open-source AI chat platform that brings together all major AI providers in one elegant interface. Built for developers, enterprises, and AI enthusiasts who value privacy, flexibility, and complete control over their AI infrastructure.

Quick Start

Get LibreChat running in under 5 minutes with Docker

Installation Guide

Detailed setup instructions for Docker and local development

Configuration

Customize AI endpoints, authentication, and features

API Reference

Integrate LibreChat into your applications

Why LibreChat?

  • Self-hosted: Your data never leaves your infrastructure
  • No telemetry: Zero tracking or data collection by default
  • Open source: Audit the entire codebase on GitHub
  • Enterprise-ready: LDAP, OAuth2, SSO support
  • 10+ AI Providers: OpenAI, Anthropic, Google, Azure, AWS Bedrock, and more
  • Custom Endpoints: Connect any OpenAI-compatible API
  • Local Models: Run Ollama, LM Studio, and other local providers
  • Seamless Switching: Change models mid-conversation
  • AI Agents: No-code custom assistants with tools and file search
  • Code Interpreter: Execute Python, JavaScript, Go, and more in secure sandboxes
  • Web Search: Real-time internet search with smart reranking
  • Code Artifacts: Generate React components, HTML, and Mermaid diagrams
  • MCP Support: Model Context Protocol for extensible tools
  • Multimodal: Upload and analyze images with vision models
  • File Support: Chat with PDFs, documents, and files
  • Resumable Streams: Never lose a response, sync across devices
  • Multi-user: Role-based access control and permissions
  • Search: Full-text search across conversations with Meilisearch

Key Features at a Glance

AI Models

Access GPT-4, Claude, Gemini, and 100+ models

Agents

Build custom AI assistants with tools

Code Interpreter

Execute code securely in 8+ languages

Web Search

Search the internet from any chat

Image Generation

DALL-E, Stable Diffusion, Flux support

Multimodal

Chat with images and documents

Quick Comparison

LibreChat provides the same interface as ChatGPT Plus, but with additional features and complete control:
  • Self-hosted - No subscription fees, run on your hardware
  • Multi-provider - Switch between AI providers freely
  • Advanced features - Agents, MCP, code interpreter included
  • Customizable - Configure every aspect to your needs
  • Open source - Audit, modify, and contribute

Supported AI Providers

  • OpenAI - GPT-4, GPT-4o, o1, o3 series
  • Anthropic - Claude 3.5 Sonnet, Opus, Haiku
  • Google - Gemini 2.0, Gemini Pro
  • Azure OpenAI - Enterprise GPT deployment
  • AWS Bedrock - Claude, Llama, and more on AWS

Use Cases

Developers

  • Code generation and debugging
  • API integration and testing
  • Documentation writing
  • Local model development

Enterprises

  • Private AI infrastructure
  • LDAP/SSO integration
  • Compliance and data governance
  • Team collaboration

Researchers

  • Multi-model comparison
  • Custom fine-tuned models
  • Conversation analysis
  • Agent experimentation

Power Users

  • Cost optimization
  • Custom workflows
  • Plugin development
  • Advanced prompting

Getting Started

Choose your installation method:
1

Docker (Recommended)

The fastest way to get started. Docker handles all dependencies.
git clone https://github.com/danny-avila/LibreChat.git
cd LibreChat
cp .env.example .env
docker compose up -d
Visit http://localhost:3080 and create your account.

Full Docker Setup

Complete Docker installation guide
2

Local Development

For contributing or custom development work.Requires Node.js 20+, MongoDB, and Meilisearch.

Local Setup Guide

Development environment setup
3

Cloud Deployment

Deploy to Railway, Zeabur, or Kubernetes.

Deployment Options

Production deployment guides

Community & Support

GitHub

Star the repo and contribute

Discord

Join 50,000+ community members

YouTube

Video tutorials and demos

Documentation

Comprehensive guides
Before updating: Always check the changelog for breaking changes. LibreChat is actively developed with frequent updates.

Open Source & Actively Developed

LibreChat is built in public with a thriving open-source community:
  • 17,000+ GitHub stars and growing
  • 300+ contributors worldwide
  • Weekly releases with new features
  • Multilingual: 40+ languages supported
  • MIT License: Free for commercial use

View on GitHub

Explore the source code and contribute

Next Steps

Ready to get started?

5-Minute Quickstart

Launch LibreChat with Docker in minutes

Detailed Installation

Complete setup guide with all options

Build docs developers (and LLMs) love