Skip to content
appsgit

8 self-hosted options

Self-hosted alternatives to ChatGPT

The best open-source alternative to ChatGPT is Ollama (MIT, 184,802 GitHub stars, Docker image). AnythingLLM stands out for a permissive MIT license, and LocalAI stands out for the most commits in the last 12 months (3,910).

Dify.ai, Open-WebUI and LobeHub are also listed but are source-available, so they come after the open-source picks.

About ChatGPT: OpenAI's conversational AI assistant.

Updated · data from GitHub, refreshed daily

At a glance

ChatGPT alternatives compared

Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.

ChatGPT alternatives compared, data as of 2026-10-26
AppStands out forLicenseGitHub starsCommits (12 mo)Last commitDocker image
Ollamathe most GitHub starsMIT184,8021,259Oct 26, 2026Yes
AnythingLLMa permissive MIT licenseMIT67,570986Oct 25, 2026Yes
LocalAIthe most commits in the last 12 months (3,910)MIT49,9643,910Oct 26, 2026Yes
LibreChatAI features named in its own descriptionMIT46,3303,206Oct 26, 2026Yes
Khojits Python codebaseAGPL-3.037,831120Aug 2, 2026Yes
Dify.ai–source-available, Dify Open Source License (modified Apache 2.0)159,5726,809Oct 26, 2026Yes
Open-WebUI–source-available, Open WebUI License (BSD-3-Clause plus branding clause)156,7756,068Oct 26, 2026Yes
LobeHub–source-available, LobeHub Community License83,4958,542Oct 26, 2026Yes

Full list

All 8 ChatGPT alternatives

Open any app for live stats, license details and a deploy option.

  1. 1

    Ollama

    Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models.

    AI-nativeStands out for the most GitHub stars. Ollama has 184,802 GitHub stars, uses the MIT license, ships a Docker image and had 1,259 commits in the last year.

  2. 2

    AnythingLLM

    All-in-one desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

    AI-nativeStands out for a permissive MIT license. AnythingLLM has 67,570 GitHub stars, uses the MIT license, ships a Docker image and had 986 commits in the last year.

  3. 3

    LocalAI

    Run your AI models locally and generate images and audio (alternative to OpenAI and Claude).

    AI-nativeStands out for the most commits in the last 12 months (3,910). LocalAI has 49,964 GitHub stars, uses the MIT license, ships a Docker image and had 3,910 commits in the last year.

  4. 4

    LibreChat

    Enhanced ChatGPT-compatible AI chat interface supporting multiple AI providers, with multi-user auth, message search, and plugin support.

    AI-nativeStands out for AI features named in its own description. LibreChat has 46,330 GitHub stars, uses the MIT license, ships a Docker image and had 3,206 commits in the last year.

  5. 5

    Khoj

    Your AI second brain. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI.

    AI-nativeStands out for its Python codebase. Khoj has 37,831 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 120 commits in the last year.

  6. 6

    Dify.ai

    Build, test and deploy LLM applications.

    AI-nativeDify.ai has 159,572 GitHub stars, is source-available under the Dify Open Source License (modified Apache 2.0) (not an open-source license), ships a Docker image and had 6,809 commits in the last year.

  7. 7

    Open-WebUI

    User-friendly AI Interface, supports Ollama, OpenAI API.

    AI-nativeOpen-WebUI has 156,775 GitHub stars, is source-available under the Open WebUI License (BSD-3-Clause plus branding clause) (not an open-source license), ships a Docker image and had 6,068 commits in the last year.

  8. 8

    LobeHub

    Modern design AI chat framework supporting multiple AI providers, one click install MCP Marketplace and Artifacts / Thinking.

    AI-nativeLobeHub has 83,495 GitHub stars, is source-available under the LobeHub Community License (not an open-source license), ships a Docker image and had 8,542 commits in the last year.

FAQ

ChatGPT alternatives: FAQ

Still curious? Email info@appsgit.com.

Is there a free alternative to ChatGPT?

Yes. 5 of the 8 apps on this page are open source; 3 are source-available. The open-source ones are free to self-host without per-user fees; source-available licenses add conditions such as user caps or limits on hosted use, so read them before you commit.

Can I self-host an alternative to ChatGPT with Docker?

Yes. All 8 apps here publish a Docker image, including Ollama, AnythingLLM and LocalAI, so you can run them on a home server or VPS with Docker Compose.

Which ChatGPT alternative is the most actively developed?

LobeHub (source-available) (source-available, LobeHub Community License), with 8,542 commits in the last 12 months. Activity is a good sign that bugs and security issues get fixed.

How is this list ranked?

Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.