back to top
HomeSoftwareAI ToolsLibreChat: Top Open-Source ChatGPT Alternative for Self-Hosting AI Models Like GPT-OSS, LLaMA,...

LibreChat: Top Open-Source ChatGPT Alternative for Self-Hosting AI Models Like GPT-OSS, LLaMA, Mistral & More

- Advertisement -

File Information

FileDetails
NameLibreChat
VersionLatest (Stable)
Format.zip
LicenseMIT
PlatformWindows, macOS, Linux
UI TypeWeb UI (accessible via browser)
Size300MB (may vary by build)

Description

LibreChat is a game-changer in the world of AI chat interfaces. Designed with inspiration from OpenAI’s ChatGPT and supercharged with cutting-edge enhancements, LibreChat offers a modern, clean & highly customizable interface to run your own LLMs. Whether you’re a developer, researcher, or just someone who wants full control over their AI assistant experience. LibreChat gives you everything you need, without the need for third-party subscriptions or cloud lock-in.

Unlike other platforms, LibreChat is completely open source and community-powered. It supports a wide range of models — from cloud-based APIs like OpenAI, Claude, or Gemini, to fully local options like Ollama, LM Studio & even your own private GPT OSS instances.

The beauty of LibreChat lies in its flexibility. You can run it locally or deploy it on a private server, rebrand it entirely, build your own agents, integrate advanced tools, or simply use it as a personal assistant. With support for voice chat, multimodal inputs, image generation, markdown, conversation forking, file uploads, web search and much more, it’s truly one of the most powerful chat interfaces available today. It comes with the benefits of following:

  • Fully rebrandable: Customize logo, UI, name & links
  • Own your data: Nothing is sent to external servers
  • All-in-one hub: Use multiple models in one UI
  • Model flexibility: From OpenAI to local GGUF files
  • Multi-user support: Secure logins for teams or personal use

LibreChat is perfect for individuals or teams who want the power of AI, without the privacy compromises or vendor limitations.

Features of LibreChat

  • UI & UX Inspired by ChatGPT: Clean, modern, intuitive
  • AI Model Selection: Choose from OpenAI, Claude, Google, Vertex AI, Anthropic, LM Studio, Ollama & more
  • Custom Endpoints: Use your own OpenAI compatible API
  • File Upload & Analysis: Chat with PDFs, images, and more
  • Multilingual UI: 20+ languages supported
  • Speech Recognition & Audio Response: Hands-free interaction
  • Secure Auth: OAuth2, LDAP, email login, multi-user access
  • Agents & Tools: Custom assistants, tool integration
  • Image Generation: DALL-E, Stable Diffusion, GPT-Image
  • Reasoning UI: Built for advanced CoT models like DeepSeek
  • Import/Export Chats: Markdown, screenshots, JSON
  • Presets: Save and reuse prompts with custom models
  • Web Search Integration: Live internet access for your models
  • Full Open Source: Fork, extend, or contribute freely

Screenshots

System Requirements

PlatformRequirements
WindowsNode.js (v18+),MongoDB, npm , Git
macOSNode.js (v18+), MongoDB, npm, Git
LinuxNode.js (v18+), MongoDB, npm, Git

How to Install LibreChat

Before you start: Scroll to the bottom of this page & download the latest .zip file of LibreChat.

Step-by-Step Installation Guide

1. Extract the .zip File

After downloading, unzip the file to any location you prefer:
Example: Documents/LibreChat


2. Open Terminal / CMD

Navigate into the LibreChat folder:

cd LibreChat

3. Create Your .env File

Copy the sample environment file:

On Linux/macOS:

cp .env.example .env

On Windows:

copy .env.example .env

4. Configure MongoDB

Open the .env file and set the MONGO_URI to your own MongoDB connection string.

If you don’t have MongoDB installed, you can use MongoDB Atlas or install MongoDB locally.


5. Install All Dependencies

Install all required packages with:

npm ci

6. Build the Frontend

Compile the frontend UI:

npm run frontend

7. Start the Backend Server

Launch the backend server:

npm run backend

8. Open LibreChat in Browser

Go to:

http://localhost:3080/

LibreChat will now be accessible with GPT-OSS and other models if configured properly!


9. Updating LibreChat in the Future

To pull the latest changes and rebuild:

git pull
npm ci
npm run frontend
npm run backend

How to Add GPT-OSS or Other Local AI Models to LibreChat

LibreChat supports a variety of local models like:

  • GPT-OSS
  • LLaMA / LLaMA 3
  • Gemma
  • Mistral
  • OpenHermes
  • WizardCoder, and more…

Here’s how to integrate them:

librechat.yaml : Tell LibreChat how to connect to Ollama

- name: "Ollama"
apiKey: "ollama" # just a label; no actual key needed for local models
baseURL: http://localhost:11434/v1/ # "http://host.docker.internal:11434/v1/" if using Docker
models:
default: [
"llama3", # change to any model you want (like gpt-oss, mistral, gemma, etc.)
"mistral",
"gemma",
"phi3"
]
fetch: false # true = fetch available models dynamically from Ollama (optional)
titleConvo: true
titleModel: "llama3"
summarize: false
summaryModel: "llama3"
forcePrompt: false
modelDisplayLabel: "Ollama"

Key things:

  • baseURL: host.docker.internal is needed only if LibreChat is in Docker.
  • models.default: You can manually list the models you want, like "gpt-oss", "mistral", "gemma", etc.
  • fetch: true: If set, LibreChat will automatically fetch all models available in Ollama (if the name starts with ollama).

2. docker-compose.override.yaml : Mount your config and run Ollama

services:
api:
volumes:
- type: bind
source: ./librechat.yaml
target: /app/librechat.yaml

ollama:
image: ollama/ollama:latest
ports:
- "11434:11434"
volumes:
- ./ollama:/root/.ollama # where your models and data live
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [compute, utility] # for GPU acceleration (optional)

Tip: If you’re not using Docker, you don’t need to worry about the docker-compose.override.yaml. Just make sure Ollama is running locally on localhost:11434.

  1. Restart LibreChat:
npm run backend
  1. Now go to Settings > Models and you’ll see your custom model ready to chat!

For More Information about model addition and configurations, Read Official Documentation of LibreChat


LibreChat: The Ultimate Self-Hosted Open Source AI Chat Platform

Want more stories worth your time?

Add us to your Google favorites. We cover the tech stories, AI developments, and open-source projects that are easy to miss in the noise.

Add as a preferred source on Google

Don’t miss any Tech Story

Subscribe To Firethering NewsLetter

You Can Unsubscribe Anytime! Read more in our privacy policy

YOU MAY ALSO LIKE
hister search engine

Hister: Your Own Private Search Engine for Web Pages and Files

0
You know that page you read three months ago and somehow can’t find again? Hister is built for exactly that problem. It turns the web pages you visit and the files you keep into your own searchable index, so you can search the actual content instead of trying to remember a title, URL, or where you saved it.
Atomic Chat App

Atomic Chat: Run Open-Weight LLMs Locally on Windows, macOS & Linux

0
Want to run an AI model locally, but still use it with the tools you already have? Atomic Chat makes that possible. It lets you run open-weight LLMs from Hugging Face on your own computer, then exposes them through an OpenAI-compatible API so coding agents, CLIs, IDE plugins and other apps can use your local models too. You can run models such as Llama, Gemma, Qwen, Mistral and Phi, use Atomic Chat as a regular AI chat app, or connect it to tools such as OpenCode, Goose and Kilo Code. Your local conversations and API keys can stay on your machine, while cloud providers such as OpenAI, Anthropic, Mistral and Groq are available when you need them. Under the hood, it also supports multiple inference engines and performance features such as speculative decoding, Flash Attention and TurboQuant on supported models and hardware. So you're getting more than a local chatbot. Atomic Chat can act as the local AI layer behind the rest of your setup.
OpenNOW Open-Source GeForce NOW Gaming Client for Windows Mac and Linux

OpenNOW: Open-Source GeForce NOW Gaming Client for Windows, Mac & Linux

0
OpenNOW is an open-source desktop client for GeForce NOW that gives cloud gaming users a community-built alternative to accessing NVIDIA's game-streaming service. It provides a dedicated interface for browsing the GeForce NOW catalog, configuring streaming options, and launching gaming sessions from one place. Built as an Electron application, OpenNOW is actively developed with support extending beyond desktop platforms, including Android, iOS beta, and Nintendo Switch. It also includes experimental native streaming infrastructure for users who want to go beyond the standard web-streaming path.