For a self hosted alternative to ChatGPT, the strongest matches are josstorer/rwkv-runner (This RWKV model runner provides a local chat interface), arthur-ficial/apfel (Apfel is a local on-device AI assistant for macOS) and nomic-ai/gpt4all (GPT4All is a cross-platform runtime that lets you run). danny-avila/librechat and danswer-ai/danswer round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Self-hosted conversational AI models and chatbot interfaces that provide private alternatives to proprietary language services.
This RWKV model runner provides a local chat interface and OpenAI-compatible API, enabling self-hosted conversational AI and text generation, which directly fits the search for open-source ChatGPT alternatives.
The free AI already on your Mac. CLI tool, OpenAI-compatible server, and interactive chat — all on-device via Apple Intelligence. No API keys, no cloud, no downloads.
Apfel is a local on-device AI assistant for macOS that provides a CLI-based interactive chat and an OpenAI-compatible API via Apple Intelligence—making it a valid ChatGPT alternative for Apple Silicon users, though its reliance on Apple’s proprietary models and lack of a web UI or fine-tuning support narrow its scope relative to more flexible options.
GPT4All is a cross-platform runtime environment designed to execute large language models directly on local consumer hardware. By leveraging an optimized C++ inference backend, it enables private, offline AI interactions without requiring an internet connection or external cloud services. The project provides a comprehensive ecosystem for managing the entire model lifecycle, including discovery, downloading, and configuration of local weights. What distinguishes the platform is its integrated retrieval-augmented generation engine, which allows users to index local documents into semantic vect
GPT4All is a cross-platform runtime that lets you run large language models locally with an integrated chat UI, local document indexing, and an OpenAI-compatible API, making it a comprehensive open-source alternative to ChatGPT for private, offline conversation and task assistance.
LibreChat is an artificial intelligence orchestration platform that provides a unified interface for interacting with multiple language models. It functions as a centralized workspace where users can switch between different intelligence engines, manage complex conversational workflows, and maintain persistent memory across sessions through a vector-database-backed storage system. The platform distinguishes itself through an extensible agent framework that supports autonomous task execution and the integration of external tools. It features a secure, containerized environment for executing co
LibreChat is an open-source, self-hostable AI orchestration platform with a unified chat interface for multiple LLMs, multi-turn conversation, vector-database-backed memory, and an extensible agent framework — exactly the kind of comprehensive ChatGPT alternative this search is after.
Danswer is an LLM application framework and RAG engine that provides a self-hosted interface for connecting large language models to private data. It serves as an enterprise AI chat interface and agent orchestrator, enabling the creation of specialized assistants with custom instructions and knowledge bases. The platform differentiates itself through an observability dashboard for tracking query history and token consumption, as well as a white-labeled interface for customized branding. It includes a multi-step research workflow for producing long-form reports and a sandboxed environment for
Danswer is a self-hostable LLM application framework with a built-in chat UI, RAG engine, and API access, making it a direct replacement for ChatGPT for conversational AI, text generation, and task assistance with enterprise features.
This project is a self-hosted large language model chat interface and AI model aggregator. It provides a unified web environment for interacting with multiple AI providers and local models, acting as a provider-agnostic API gateway to standardize requests across different endpoints. The platform functions as an agentic AI framework and generative UI workspace, enabling the construction of specialized assistants with custom instructions and subagents. It features a sandboxed code interpreter for secure execution of multiple programming languages and a generative UI system that renders interact
This is a self-hosted LLM chat interface and AI model aggregator that provides a unified web UI for interacting with multiple providers or local models, supports custom assistants and multi-turn conversation, and offers API access — making it a comprehensive open-source alternative to ChatGPT, though it lacks built-in model fine-tuning.
Jan is a desktop application that functions as a local artificial intelligence model runtime and an open-standard API server. It enables the execution of large language models directly on local hardware, ensuring that data remains private and accessible offline while providing a unified interface for managing model weights and inference runtimes. The platform distinguishes itself by offering a modular inference backend that allows users to swap execution engines based on hardware compatibility and performance needs. It acts as a cross-platform orchestrator, providing the ability to switch bet
Jan is a desktop application that serves as a local AI model runtime and API server, enabling private, offline chat with large language models — directly matching the need for a self-hostable conversational assistant, though it focuses on local deployment rather than a web interface and does not prominently feature fine-tuning.
Langchain-Chatchat is a system for building retrieval-augmented generation applications and autonomous AI agents. It integrates a knowledge base management system and an agent framework to enable language models to interact with private documents and execute multi-step tasks through external tools. The platform supports local deployment of language models on private infrastructure to operate without an internet connection. It includes a multimodal AI platform that combines vision models for image analysis with text-to-image generation capabilities. The system provides a web-based conversatio
Langchain-Chatchat is a platform for deploying local LLMs with a web chat interface that supports multi-turn conversation and API access, making it a functional conversational AI assistant for general-purpose chat, though it is primarily designed for retrieval-augmented generation and agent workflows.
NextChat is a self-hosted web application that provides a unified interface for interacting with multiple large language models. It functions as a conversational platform where users can manage and switch between diverse AI providers through configurable API backends, maintaining full control over their data and infrastructure. The platform features a persistent session layer designed to handle long-running dialogues by managing message history and context. It distinguishes itself through a structured prompt engineering environment that allows for the development and application of templates
NextChat is a self-hosted web chat UI that works with multiple LLMs (local or remote) and provides persistent conversations, API access, and prompt customization, making it a strong ChatGPT alternative for general chat and task assistance, though it doesn't handle model fine-tuning itself.
Cherry Studio is a cross-platform desktop application that serves as a centralized workspace for managing and interacting with multiple artificial intelligence models. It functions as a local-first orchestrator, prioritizing user privacy by storing all conversation history and knowledge bases directly on your device. By providing a unified interface for both cloud-based and local AI services, the platform simplifies API key management and allows for consistent model interaction across different operating systems. The application distinguishes itself through a robust retrieval-augmented genera
Cherry Studio is a cross-platform desktop client that provides a unified interface for chatting with multiple local and cloud-based LLMs, storing conversation history locally for privacy — making it a solid open-source alternative to ChatGPT for general-purpose chat and task assistance.
Serge is a self-hosted web chat interface for running large language models locally using the llama.cpp inference engine. It loads GGUF-format model files directly on your own machine, removing the need for internet connectivity or external API keys, and streams responses to the browser in real time via WebSocket connections. The project is packaged for containerized deployment using Docker and Docker Compose, with a Traefik reverse proxy that handles HTTP and WebSocket routing along with automatic TLS certificate management. Ready-made Kubernetes manifests are also provided, enabling deploym
Serge is a self-hosted web chat interface for running large language models locally using llama.cpp, providing a conversational AI assistant with a chat UI and offline capability—directly matching your need for a ChatGPT alternative, though it doesn't emphasize an explicit REST API or fine-tuning tools.
DeepReasoning is a self-hosted AI gateway and chat interface that provides an LLM inference API. It functions as a bridge that merges reasoning traces from DeepSeek R1 with the generative capabilities of Claude models to facilitate complex problem solving. The system is delivered as a dockerized application, allowing for deployment on private infrastructure. This architecture enables private LLM inference and secure local management of API keys and authentication tokens on user-controlled hardware. The project covers multi-model orchestration by combining chain-of-thought reasoning and gener
DeepReasoning is a self-hosted AI gateway and chat interface with LLM inference API and multi-turn conversation, but it is specialised for combining DeepSeek reasoning with Claude generation rather than offering broad general-purpose chat across many models or fine-tuning capabilities.
Obsidian Copilot is an AI assistant plugin for Obsidian that brings conversational AI directly into your note-taking vault. It allows you to chat with multiple large language models, create and execute custom prompts, and edit notes through natural conversation, all without leaving your workspace. The plugin distinguishes itself by offering complete model flexibility, supporting OpenAI, Anthropic, Google, local, and self-hosted models with no vendor lock-in. It stores all chat history, system prompts, and custom commands as plain Markdown files in your vault, ensuring full data ownership and
Obsidian Copilot is a conversational AI assistant plugin that runs inside Obsidian, supporting multiple LLMs including local and self-hosted models, custom prompts, multi-turn chat, and note editing via conversation — it's a capable ChatGPT alternative, but it requires the Obsidian app to function.
Khoj is a self-hosted artificial intelligence platform designed for personal knowledge management and semantic information retrieval. It functions as a private assistant that indexes your local documents, notes, and external workspaces, allowing you to interact with your data through natural language queries and conversational chat. By maintaining a local-first architecture, the system ensures that your information remains under your control while providing context-aware responses grounded in your personal knowledge base. The platform distinguishes itself through a modular, cross-platform int
Khoj is a self-hosted AI platform that indexes your personal documents and supports conversational chat via local LLMs, making it a capable alternative to ChatGPT for private, knowledge-aware interactions — though it focuses on personal knowledge management rather than being a general-purpose chat assistant out of the box.
Chatbot-ui is a self-hosted AI dashboard and LLM chat interface that serves as a centralized hub for interacting with multiple artificial intelligence providers. It functions as a multi-provider AI client and model orchestrator, allowing users to send prompts and receive responses from various large language models through a unified conversational interface. The project enables multi-model AI chat within a single workspace, allowing for the comparison of outputs and capabilities across different backends. It provides a private frontend for AI workspace management, where users can organize cha
Chatbot-ui is a self-hostable multi-provider LLM chat interface that provides the conversational UI and model orchestration needed as a ChatGPT alternative, though it relies on external APIs for the language model itself and lacks built-in fine-tuning.
This is a browser-based chat application that runs large language models locally via WebGPU, providing a private, multi-turn conversational AI experience — a genuine ChatGPT alternative, though it lacks a REST API for external integration and fine-tuning features.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| josstorer/rwkv-runner | 6.2K | TypeScript | mit | |
| arthur-ficial/apfel | 5.9K | Swift | MIT | |
| nomic-ai/gpt4all | 77.4K | C++ | MIT | |
| danny-avila/librechat | 39.3K | TypeScript | MIT | |
| danswer-ai/danswer | 30.6K | Python | NOASSERTION | |
| danny-avila/chatgpt-clone | 39.3K | TypeScript | MIT | |
| janhq/jan | 43K | TypeScript | NOASSERTION | |
| chatchat-space/langchain-chatchat | 38.2K | Python | Apache-2.0 | |
| chatgptnextweb/nextchat | 88.3K | TypeScript | MIT | |
| cherryhq/cherry-studio | 47.4K | TypeScript | AGPL-3.0 |