Open-source alternatives to Claude

4 free, open-source alternatives with 325.4K total GitHub stars. The best open-source alternative to Claude is Open WebUI, with 139.6K GitHub stars.

Updated August 2026Stats synced from GitHub
#1
Open WebUI

Open WebUI

Self-hosted AI interface — Ollama, OpenAI-compatible, RAG built-in.

BSD-3-Clause alternative to ChatGPT with multi-model support, code execution, file upload, and RBAC. Single Docker command to deploy.

aichatui
139.6K20KBSD-3-Clause
vs ChatGPT
Read more
#2
LobeChat

LobeChat

Open-source AI chat — plugin ecosystem, multi-model, voice chat.

Apache-2.0 alternative to ChatGPT with GPT-4, Claude, Gemini, and Ollama support. Material Design UI, DALL-E/Flux image generation, and TTS/STT.

aichatagents
78.1K15.4KApache-2.0
vs ChatGPT
Read more
#3
AnythingLLM

AnythingLLM

All-in-one AI app — chat with documents using any LLM, fully private.

MIT-licensed platform for multi-LLM document chat, AI agents, and multi-user workspaces. Desktop apps for Mac, Windows, Linux with LanceDB, Chroma, or Qdrant backends.

airagchat
60.9K6.6KMIT
vs ChatGPT
Read more
#4
Cherry Studio

Cherry Studio

Multi-model AI desktop client — local-first privacy, native apps.

AGPL-3.0 desktop client for GPT-4, Claude, Gemini, DeepSeek, and Ollama. Beautiful native UI with conversation management and model comparison.

aidesktopchat
46.7K4.4KAGPL-3.0
vs ChatGPT
Read more

Compare Claude alternatives

ToolStarsForksLicenseSelf-hosted
Open WebUI139.6K20KBSD-3-ClauseYes
LobeChat78.1K15.4KApache-2.0Yes
AnythingLLM60.9K6.6KMITYes
Cherry Studio46.7K4.4KAGPL-3.0Yes

Claude is Anthropic's proprietary AI assistant, accessed through Anthropic's own apps and API. It's a closed-source model — you can't self-host it or see how it's built, and usage is billed through Anthropic directly.

Claude itself isn't open source, but you can run open-source chat interfaces that connect to Claude's API (or to local, open-weight models instead) if you want more control over your data and interface. Open WebUI and LobeChat are full-featured self-hosted chat front ends with multi-model support. AnythingLLM is the better pick if your priority is chatting with your own documents privately, and Cherry Studio is a good option if you want a native desktop app instead of a self-hosted web service.

FAQ

Is there a free, open-source alternative to Claude?

The Claude model itself is proprietary, but open-source chat interfaces like Open WebUI, LobeChat, and AnythingLLM let you self-host a similar chat experience, either connecting to Claude's API or to fully open, locally-run models.

What's the best open-source alternative to Claude?

Open WebUI is the most full-featured self-hosted chat interface. AnythingLLM is the better pick if you mainly want to chat with your own documents privately.

Can I run an AI assistant fully locally instead of using Claude's cloud service?

Yes. Open WebUI, AnythingLLM, and Cherry Studio can all run entirely on your own hardware with local, open-weight models, keeping your data off any vendor's servers.

What are the top open-source alternatives to Claude?

Browse all open-source alternatives to Claude above, or explore the full AI & LLM category for more options.

Explore more alternatives