Favicon of LibreChat

LibreChat

A self-hosted AI chat platform connects local models and cloud APIs, with tool-using agents, conversation search and multi-user authentication.

Alternative to:

Screenshot of LibreChat website

LibreChat is a self-hosted ChatGPT alternative for people and teams who want to use different AI providers in one chat workspace. It lets you switch models while keeping conversations in the same interface.

  • Local and cloud models: Connect to Ollama, Apple MLX, AMD Lemonade or koboldcpp, alongside Claude, OpenAI, Gemini, AWS Bedrock and OpenAI-compatible APIs.
  • Agents and tools: Create specialized assistants that work with files, execute code and take API actions, with MCP connections and reusable Skills for recurring tasks.
  • Code and artifacts: Use isolated code execution to process uploaded files, and create previews of React, HTML and Mermaid content directly in chat.
  • Search and memory: Find messages, files and code snippets, retain context between conversations, and use web search to bring internet results into a model's responses.
  • Shared access: Share agents with users and groups, with authentication through OAuth, SAML, LDAP and two-factor authentication.

LibreChat is open source under the MIT license and runs on a server you control. Local model backends run on your hardware; requests to cloud models go to their providers. Hosted APIs and web search need an internet connection. Code Interpreter also has an open-source, self-hostable backend, so its deployment is a separate choice from the chat interface.

Similar to LibreChat