Skip to content
ToolOpen-source agent

LibreChat

Self-hosted chat platform unifying many AI model providers in one interface

LibreChat is an open-source AI tool for ai models and llm tooling. It is available on Web, Self-hosted and API.

Pricing
Open source
Platforms
Web, Self-hosted, API
GitHub stars
47.8K
Last commit
Language
TypeScript
License
MIT

Similar tools

About LibreChat

Rather than juggling separate subscriptions and browser tabs, LibreChat gives you a single chat workspace that can route conversations to OpenAI, Anthropic, Google, AWS Bedrock, Mistral, Ollama and dozens of other providers, including local models you run yourself. Custom endpoints accept any OpenAI-compatible API, so you can point it at your own gateway without an extra proxy.

Beyond plain chat, it includes configurable agents that can use files, MCP servers, a sandboxed code interpreter and delegated subagents with their own context. Artifacts turn responses into interactive apps, diagrams and documents, while web search, persistent memory and conversation search help keep long-running work organized.

LibreChat suits teams and individuals who want control over where their data and model access live. Multi-user accounts support OAuth, LDAP, SAML and two-factor login, and an admin panel manages users, roles and permissions. Deployment ranges from a single Docker host to horizontally scaled setups.

What it does

Multi-provider model access
Switch between cloud and local AI models from one chat window, including any OpenAI-compatible endpoint.
Configurable agents
Build agents with their own files, tools, reusable skills and delegated subagents.
Sandboxed code execution
Run code in several languages in an isolated environment and exchange files with the chat.
MCP tool connections
Connect agents and chats to external tools and services through Model Context Protocol.
Artifacts and diagrams
Render React, HTML and Mermaid output as interactive previews that can be exported.
Enterprise-style authentication
Sign-in through OAuth, SAML, LDAP and two-factor auth for multi-user deployments.
Admin panel
Manage users, groups, roles and configuration overrides from a browser interface.

Good for

  • Give a team one shared chat workspace across several AI providers
  • Run chat against local models so prompts stay on your own hardware
  • Build internal agents that work with company files and tools
  • Prototype small interactive apps or diagrams from a conversation
  • Search and reuse past conversations across a team's history

Pricing

Open source

Free and open source under the MIT license; self-hosted

Prices change. Check librechat.ai before you buy.

LibreChat FAQ

Can I run LibreChat on my own servers?

Yes. It is described as a self-hosted platform and offers Docker Compose stacks for setup.

Which AI providers does LibreChat support?

The listing names OpenAI, Anthropic, Google, AWS Bedrock, Azure OpenAI, Mistral AI, Ollama, Groq, Cohere, OpenRouter and many others, plus any OpenAI-compatible custom endpoint.

Does LibreChat support single sign-on?

Yes, it supports OAuth, SAML, LDAP and two-factor authentication for multi-user access.

Can LibreChat execute code?

It includes a code interpreter that runs Python, JavaScript/TypeScript, Go, C/C++, Java, PHP, Rust and Fortran in an isolated sandbox.

Is LibreChat free?

Yes. LibreChat is open source, so you can use and self-host it for free.

What are the best alternatives to LibreChat?

The closest alternatives to LibreChat are locally-uncensored, chat-ollama, ruby_llm, llm-gateway and claude-code-local.

Where this comes from

  • Description: written from the project's README and the project's website.