AI & Machine Learning · AI Development Platforms
LibreChat
Self-hosted chat across cloud and local AI providers
LibreChat is an MIT-licensed, self-hosted AI chat platform for individuals, teams, and organizations connecting multiple cloud and local model providers. It includes agents, search, file handling, administration, and authentication. The application is free to self-host, while the project publishes enterprise and support packages rather than a clearly documented standard hosted-chat subscription.
Key facts
- License
- MIT
- Main language
- TypeScript and JavaScript
- Maintainer
- Danny Avila with community maintainers and contributors under the LibreChat-AI project
- First released
- 2023
- Latest release
- v0.8.8, September 30, 2026
- GitHub stars
- 46,014, October 2026
- Hosted option
- Enterprise and support packages are published; no standard hosted-chat monthly plan is documented
What LibreChat is
LibreChat is a self-hosted AI chat platform that connects cloud and local model providers through one interface. Danny Avila created the repository in February 2023, and version 0.0.1 was published on March 7, 2023. The repository lists the MIT License, 46,014 stars, and 9,457 forks. Danny Avila is the leading contributor, followed by berry-13 and other community developers. The initial release included Docker deployment, streaming, dark mode, model selection, persistent conversations, and custom prompts. LibreChat now adds agents, Model Context Protocol support, search, retrieval, administration, and authentication. It remains a front end and orchestration layer, so inference comes from configured cloud providers or local runtimes.
How it works
LibreChat begins when an administrator configures provider credentials and, optionally, custom endpoints. A user selects a model, starts a conversation, uploads files, or invokes an available tool. Users can save and share presets, edit and resubmit messages, branch conversations, search chats, export conversations, and work with multimodal models. The project includes agents, MCP servers, custom actions, web search, artifacts, code interpretation, memory, and file handling. OAuth, LDAP, email login, moderation, rate limiting, roles, groups, two-factor authentication, and an administration panel support shared deployments. Administrators therefore configure access and services, while users operate within those settings. Each provider still controls its model limits, billing, retention rules, and service behavior.
Architecture and recent releases
The main application uses TypeScript and JavaScript, while the repository also contains Python, Go, shell, HTML, CSS, Dockerfile, Handlebars, and Go Template files. The documented Docker stack uses MongoDB for application data, Meilisearch for conversation search, and a separate RAG API with PostgreSQL and pgvector. Redis supports caching, sessions, resumable streams, and multiple application instances. The documented v0.8.8 release added an Agent Management API, attached experimental workspaces, tool controls, unified attachments, trace viewing, OpenTelemetry export, and security changes. LibreChat can run locally or in cloud infrastructure, with S3 and CloudFront supported for media delivery and deployment operations. These components need separate operational attention during upgrades.
License and pricing
LibreChat uses the MIT License, permitting commercial use, modification, redistribution, and operation of modified versions when the required notice is retained. The application has no self-hosted software subscription charge, but operators pay for infrastructure, model APIs, storage, email, search, and related services. The project pricing page lists Starter at 1K, Professional at 1M, and Enterprise as contact sales. These entries do not describe a normal transparent per-user hosted-chat tariff. The public offering emphasizes self-hosting, administration, enterprise contact, and support packages. The Code Interpreter API documentation says subscriptions are currently unavailable, so operators must account separately for deployment and service costs.
Limitations and how it compares
The main limitation is operational responsibility. Administrators must protect credentials, configure authentication, maintain databases and uploads, manage reverse proxies, monitor provider use, and schedule backups. LibreChat does not provide model inference, so privacy depends on the selected remote provider or local endpoint. Open WebUI is often a simpler fit for Ollama-first deployments, while LibreChat covers more providers and administration features. AnythingLLM emphasizes workspaces and document retrieval, whereas LibreChat focuses on a general multi-provider gateway and agents. ChatGPT offers a managed single-vendor service; LibreChat offers deployment and provider control. Choose LibreChat when that control justifies maintaining the stack and its supporting services.
Main features
- Multi-provider models. Connects OpenAI, Anthropic, Google, Azure, AWS Bedrock, OpenRouter, Ollama, and custom OpenAI-compatible endpoints within configured application workflows.
- Agents and MCP. Builds agents with tools, skills, files, code execution, and Model Context Protocol servers within configured application workflows.
- Retrieval and files. Uploads files and connects retrieval workflows to a separate RAG API using PostgreSQL and pgvector.
- Code interpretation. Provides sandboxed execution for Python, JavaScript, TypeScript, Go, C, C++, Java, PHP, Rust, and Fortran.
- Conversation search. Uses Meilisearch to search messages and conversations across the application for users working within the deployed application interface.
- Multi-user administration. Supports OAuth, LDAP, email login, roles, groups, moderation, rate limits, and two-factor authentication within configured application workflows.
- Artifacts and search. Supports web search, React, HTML, and Mermaid artifacts, image generation integrations, and OpenAPI actions within configured application workflows.
- Resumable streams. Uses Redis for shared sessions, caching, resumable responses, and synchronization across multiple application instances within configured application workflows.
Self-hosting LibreChat
The documented quick start uses Git, Docker, and Docker Compose. Clone the repository, copy .env.example to .env, configure credentials, and run docker compose up -d. The containers require at least 1 GiB RAM and 1 vCPU, while about 2 GB available to Docker is recommended for the full setup. The default stack includes MongoDB, Meilisearch, the RAG API, PostgreSQL with pgvector, an API container, Nginx, and an admin panel. Redis supports multi-instance deployments. Persist databases, search data, uploads, images, configuration, and logs. Use Compose overrides, restart after configuration changes, review changelogs before upgrades, and schedule backups for databases, uploads, and secrets.
Strengths
- MIT licensing permits commercial deployment and modification.
- One interface supports many hosted and local model providers.
- Roles, groups, authentication integrations, and two-factor authentication support shared deployments.
- Docker Compose makes the documented default deployment reproducible.
Drawbacks
- Operators must maintain multiple services and protect provider credentials, uploads, and databases.
- The application does not provide model inference, so provider costs and retention policies remain separate.
- The published pricing page lacks a standard transparent hosted-chat subscription price.
What teams replace with it
Teams usually evaluate LibreChat when they want to move off ChatGPT, Claude, Google Gemini, Poe.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to LibreChat
Frequently asked questions
Is LibreChat free?
Yes. LibreChat is licensed under MIT and can be self-hosted without a software subscription. Operators still pay for servers, storage, email, monitoring, and model APIs. Using a local provider such as Ollama can avoid cloud request charges, but local inference shifts the cost to hardware, electricity, maintenance, and operations.
Can a company use LibreChat commercially?
Yes. The MIT License permits commercial use, modification, and redistribution when the required copyright and permission notice remains with relevant copies or substantial portions. The license does not cover third-party model services. Organizations must separately follow provider contracts, privacy requirements, retention rules, authentication obligations, and applicable regulations.
What are the minimum system requirements?
LibreChat documents 1 GiB RAM and 1 vCPU as minimum container requirements, with about 2 GB available to Docker recommended for the full stack. Docker Compose starts MongoDB, Meilisearch, the RAG services, and PostgreSQL with pgvector. Cloud APIs do not require a GPU, while local model runtimes may need more memory or a GPU.
How does LibreChat compare with Open WebUI?
Both provide self-hosted chat interfaces and support local models. LibreChat focuses on broad provider coverage, agents, MCP, authentication, and multi-user administration. Open WebUI is often selected for a more focused Ollama-centered setup. LibreChat fits deployments needing several providers and administrative controls, while Open WebUI may require less configuration for local-model use.
Does LibreChat keep prompts private?
Self-hosting gives the operator control over the application, databases, and logs, but remote model requests still follow the selected provider's terms and retention settings. Local endpoints can keep inference inside the operator's infrastructure. Privacy also depends on application logging, backups, access controls, uploaded files, reverse-proxy configuration, and the policies applied to administrators and users.
Similar projects to compare
- Open WebUIOpen WebUI License, modified BSD-3-Clause with branding restriction from v0.6.6; BSD-3-Clause through v0.6.5Open WebUI is a self-hosted AI platform for Ollama, OpenAI-compatible APIs, and other model providers. It targets individuals, teams, and organizations that want a browser interface under their control. Current releases use the Open WebUI License, while code through v0.6.5 uses BSD-3-Clause. There is no project-hosted SaaS plan, though enterprise licensing is available.
- AnythingLLMMITAnythingLLM is an MIT-licensed local-first AI application for document chat, agents, model routing, and multi-user workspaces. It serves individuals through desktop apps, teams through Docker, and organizations through hosted plans starting at $50 per month, while also supporting fully local models and self-managed deployments. Deployment remains operator-controlled.
- JanApache-2.0Jan is a free desktop AI assistant for running local models, holding private conversations, and connecting optional cloud providers. It is Apache-2.0 licensed, supports commercial use with required notices, and includes a local OpenAI compatible server. Jan has no first party hosted inference plan, so cloud usage is billed directly by the provider selected by the user.
- LobeChatLobeHub Community License (source-available, based on Apache-2.0)LobeChat, now developed as LobeHub, is a web and desktop workspace for building AI agents, connecting model providers, managing conversations, and scheduling work. It uses the source-available LobeHub Community License, based on Apache 2.0 with additional commercial conditions. LobeHub offers a hosted cloud service alongside Docker and platform deployment options.
- DifyDify Open Source License, modified Apache-2.0Dify is an open-source platform for building, deploying, and operating LLM applications, RAG systems, and agentic workflows. LangGenius maintains it, offering Dify Cloud and a self-hosted Community Edition. Its modified Apache 2.0 license permits commercial use, while unauthorized multi-tenant deployments require a commercial license. These options support different deployment preferences for teams evaluating hosted and self-managed use.
- ACI.devApache-2.0ACI.dev is an Apache-2.0 platform from Aipotheosis Labs for connecting AI agents to more than 600 SaaS integrations. It targets developers building agent products with SDKs, a unified MCP server, OAuth, secrets, permissions, and tool discovery. A managed service exists at aci.dev, but published product pages do not list hosted pricing.