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

YOU MAY ALSO LIKE
puremac macos cleaner

PureMac: A Simple macOS Cleaner for Removing Apps, Junk Files, and Leftovers

0
macOS doesn’t really delete apps. It removes the app bundle, sure, but everything else stays behind. Preferences, caches, random support files buried in Library folders. PureMac goes after that leftover mess. Pick an app and it pulls up everything linked to it. It digs through metadata, bundle IDs, and other hints to figure out what belongs where. You get a list, you decide what goes. It also checks for leftovers from apps you already removed. That one surprised me a bit. Old files from things I don’t even remember installing. There’s a cleaning section too. Caches, logs, Xcode data, Homebrew downloads, large files sitting around doing nothing. It’s all there, grouped in a way that doesn’t feel random.
File Converter Pro offline file converter for images audio video and documents

File Converter Pro offline file converter for images audio video and documents

0
Most file converters still push you to upload your files somewhere. Even for basic stuff like changing a PDF or converting an image. It works, but it’s not something you feel great about, especially with random files. File Converter Pro works like a simple offline converter. You drop files in, pick what you want, and it converts everything locally. No uploads or any server. The UI isn’t just functional, it actually looks like someone cared. Smooth startup, proper dark mode, small touches that make it feel like a real app instead of a side project. There’s also some extra stuff like stats and achievements. Sounds gimmicky, but it kind of works. You start noticing how often you use it. It’s not lightweight though. And if you want audio or video conversions, you’ll need FFmpeg. But once that’s sorted, you’re done setting things up.
DockDoor macOS app for window previews and Alt Tab switching

DockDoor macOS app for window previews and Alt Tab switching

0
macOS looks clean until you have five Safari windows open and no clue which one actually has the tab you need. DockDoor fixes that in the simplest way possible. Hover over an app in the dock, and it shows you every open window right there. You just click the one you want. That’s it. It also adds a proper Alt+Tab experience. Not the macOS version that switches apps, but actual window switching with previews, the way Windows users are used to. Once you try it, going back feels weird.

Don’t miss any Tech Story

Subscribe To Firethering NewsLetter

You Can Unsubscribe Anytime! Read more in our privacy policy