OpenSourcePicks

Open source alternatives to popular software, with live GitHub data

GitHub stats refreshed every day

Open source alternatives to ChatGPT

ChatGPT is OpenAI's hosted AI assistant. These open source apps give you a similar chat interface with history, files and tools that you run yourself, connected to local models or to the API provider of your choice.

10 alternatives, sorted by GitHub stars as of 14 November 2026. Reviewed .

  1. NextChat

    Lightweight chat client for many model APIs, deployed on Vercel or Docker or installed as a desktop app

    89k starsMITLast commit Self-hosted

  2. AnythingLLM

    Chat with your documents and run agents on local or hosted models, as a desktop app or Docker server

    68.3k starsMITLast commit Self-hosted

  3. TextGen

    Offline app for chatting with local models, with many backends, web search, training and image generation

    47.7k starsAGPL-3.0Last commit Self-hosted

  4. LibreChat

    Self-hosted, multi-user AI chat with agents, MCP, web search and SSO across most model providers

    47.1k starsMITLast commit Self-hosted

  5. Jan

    Desktop AI assistant that runs local models or connects to cloud providers, with projects and web search

    45.7k starsApache-2.0Last commit Self-hosted

  6. Chatbox Community Edition

    Desktop chat client for 30+ model providers and local Ollama or LM Studio models

    42.3k starsGPL-3.0Last commit Self-hosted

  7. Khoj

    Self-hosted personal AI that searches and answers from your notes, documents and the web

    38.1k starsAGPL-3.0-or-laterLast commit Self-hosted

  8. Chat UI

    Hugging Face's chat app behind HuggingChat, for any OpenAI-compatible model endpoint

    11k starsApache-2.0Last commit Self-hosted

  9. PocketPal AI

    iOS and Android app that downloads language models and runs them offline on the phone

    9.3k starsMITLast commit Self-hosted

  10. Big-AGI

    Browser-first AI workspace that compares and merges answers from several models at once

    7.2k starsMITLast commit Self-hosted

What ChatGPT does

ChatGPT is OpenAI’s AI assistant for the web, desktop and mobile. It can search the web, read files and images, analyze data, create images, talk by voice, run deep research, and keep memories and projects. Personal plans are Free, Go, Plus and Pro; organizations use Business, Enterprise and Edu. On the free tier, text chats are unlimited subject to abuse safeguards, while uploads, image creation, voice and data analysis have their own limits.

Why people look for an alternative

  • Training on personal plans by default. On Free, Plus and Pro personal workspaces, the “Improve the model for everyone” setting is on by default. Turning it off under Settings > Data controls keeps new conversations out of training, but rating an answer with thumbs up or down can still let the whole conversation be used.
  • Different rules for business and API use. By default OpenAI does not train on data from ChatGPT Business, Enterprise, Edu or its API, and workspace admins set retention.
  • Where conversations are kept. Chats stay on OpenAI’s systems until you delete them, and deleted chats are erased within 30 days unless kept for security or legal reasons. Temporary chats skip history and training but may be kept up to 30 days.
  • Data residency only for some customers. Storage in a chosen region (Europe, the UK, the US, Japan and others) is offered to eligible API and new Enterprise and Edu customers, not personal plans.
  • Changing models and limits. OpenAI states that the free tier’s default model and limits can change over time.
  • No self-hosted version. ChatGPT runs only on OpenAI’s infrastructure. OpenAI’s open-weight gpt-oss models (Apache 2.0) are separate from it.

An open source chat app keeps the interface and chat history under your control, but answers are only as private as the model behind it: with a hosted API, prompts still go to that provider. Open-weight models run locally keep prompts on your hardware, but need a capable GPU or plenty of memory and are generally less capable than the top hosted models.

What to compare in an alternative

  1. Models. Which local runtimes (Ollama, llama.cpp, a built-in engine) and hosted providers it supports.
  2. Where history lives. Browser, desktop or a server database you back up yourself.
  3. Tools. The ones you rely on: web search, document chat, code execution, image generation, voice, memory, agents, MCP.
  4. Single user or team. A personal desktop app, or a web app with accounts, SSO and roles.
  5. Telemetry and license. What the app reports by default, and whether everything is under an OSI-approved license.

Which one to choose

For a shared, self-hosted ChatGPT-style service, LibreChat is the closest match: a multi-user web app for OpenAI, Anthropic, Google and local models, with agents, MCP, web search and SSO. AnythingLLM focuses on chatting with your documents and running agents; its MIT-licensed Docker server is the open source edition, while the desktop download comes under separate terms. For a personal desktop client, look at Jan, which can also run models locally, and Chatbox. NextChat is a lightweight client you can deploy on Vercel or Docker, Big-AGI can send one prompt to several models with its Beam feature, and Hugging Face’s Chat UI runs HuggingChat. Khoj is a personal assistant built around your own notes and documents. For fully local use, TextGen is a chat app that runs models on your own machine, and PocketPal AI does the same on a phone. The other clients can use local models served by Ollama or llama.cpp.

ChatGPT is a product of OpenAI. OpenSourcePicks is not affiliated with OpenAI or with the projects listed. More tools in AI Chat & Local LLMs.