Open Source Claude Alternatives
6 alternatives · Data checked
·
By Alston Antony, founder & editor · AI chat interfaces
Open-WebUI is the top pick: a self-hosted chat interface with 159,302 stars that works offline with local models or with cloud providers. It runs models you supply, not Claude. LibreChat fits teams that want agents, projects and a code interpreter across providers. Jan suits solo desktop use.
- As a desktop app
- AnythingLLM · runs on macOS
- Without running a server
- AnythingLLM · hosted plan from $50/month by the project
- Most actively maintained
- AnythingLLM · health 90/100, last commit Nov 2026
Best overall
Best for: Teams wanting a self-hosted, offline-capable chat UI for local and cloud models
Pick #2
Best for: Teams wanting a self-hosted multi-provider chat with agents, projects and code interpreter
Pick #3
Best for: Teams that want a self-hosted multi-user AI workspace with document chat and agents
Why people leave Claude
Claude is an AI chat assistant made by Anthropic, a US company founded in 2021. People use it for writing, coding, analysis and research through a web interface at claude.ai and companion apps. It is known for letting you choose between models, searching the web with cited sources, analyzing uploaded files, accepting image input and supporting voice conversation. It is offered as a hosted service, and your conversations are processed on Anthropic's infrastructure.
- Conversations are processed by a third party. Prompts and uploaded files go to Anthropic's servers. Self-hosted chat interfaces can keep data on your own infrastructure with local models.
- Tied to one vendor's models. The service centers on Anthropic's own models. Open source chat front ends let you connect to many providers or run local models.
- Usage costs and limits. Hosted access is sold as a service with usage caps. Self-hosting lets you pick models and control spend.
- Limited control over the interface. You can't change how the hosted app behaves or add your own integrations. Open source interfaces can be modified and extended.
Quick comparison
| # | Alternative | License | Stars | Health | Self-host RAM | Platforms | Fit | Parity | Migration | Imports from Claude |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Open-WebUI | Permissive | 159k | Thriving | – | Self-hosted | Self-hosted equivalent | 29% | Moderate | – |
| 2 | LibreChat | Permissive | 47k | Active | – | Self-hosted | Self-hosted equivalent | 54% | Moderate | – |
| 3 | AnythingLLM | Permissive | 69k | Thriving | – | macOS, Self-hosted | Direct replacement | 50% | Moderate | No |
| 4 | Jan | Permissive | 46k | Thriving | 8 GB | Linux, macOS | Direct replacement | 25% | Moderate | No |
| 5 | Cherry Studio | Copyleft | 54k | Thriving | – | Linux, macOS | Direct replacement | 50% | Moderate | No |
| 6 | OpenClaw | Permissive | 395k | Thriving | – | CLI, Linux, macOS | Partial replacement | 32% | Hard | No |
Fit = how much of Claude's job the tool replaces. Parity = share of Claude's core features the tool covers fully. Migration = effort to move your data and team over. Health and stars from November 24, 2026. How we rank.
The 6 best open source Claude alternatives
- 1
Open-WebUI
Self-hosted chat platform for teams running local or cloud LLMs, including offline
159k Thriving 83 Permissive Self-hosted equivalentOpen-WebUI is a self-hosted chat front end that works offline with local models or with cloud providers, and it has 159,146 stars. It matches 28.6% of Claude's confirmed features. It runs models you supply rather than Claude, and its deep research is less polished.
Strengths
- Runs entirely offline with local models through Ollama
- Works with any OpenAI-compatible API for cloud models
- Docker tags for CUDA, slim and Ollama-bundled setups
- Desktop app for macOS, Windows and Linux
Trade-offs
- No native iOS/Android apps
- Deep research less polished than Claude's
- Runs models you supply, not Claude itself
- Supplies no models; you provide your own
- Best for
- Teams wanting a self-hosted, offline-capable chat UI for local and cloud models
- Fit
- Self-hosted equivalent · 29% feature parity
- Health
- 83/100 (Thriving) · breakdown
- License
- Permissive (OSI) (BSD-3-Clause)
- Hosting
- Self-hosted
- Migration
- Moderate
- Last commit
- Nov 2026
- Self-hosted
Feature parity with Claude · 29%
- Yes Multiple model choice
- Yes Web search with citations
- Yes File upload and analysis
- Partly Voice conversation
- Partly Tool and app integrations
Quick start
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main - 2
LibreChat
Self-hosted ChatGPT-style interface that works with many AI providers, for teams
47k Active 56 Permissive Self-hosted equivalentLibreChat is a close self-hosted stand-in if your team wants one chat interface across several providers, with agents, projects and a code interpreter. It confirms 53.6% of Claude's features and has 47,366 stars, with commits as recent as 2026. The main gap is no native iOS or Android app.
Strengths
- Connects to Anthropic, OpenAI, Azure, Bedrock, Google and local endpoints
- Sandboxed code interpreter across eight languages
- No-code agents with MCP support and group sharing
- MIT license with Docker deployment
Trade-offs
- No native iOS/Android apps
- Deep research not confirmed
- Runs on your server, no hosted service
- No hosted models; you bring your own API keys
- Best for
- Teams wanting a self-hosted multi-provider chat with agents, projects and code interpreter
- Fit
- Self-hosted equivalent · 54% feature parity
- Health
- 56/100 (Active) · breakdown
- License
- Permissive (OSI) (MIT)
- Hosting
- Self-hosted
- Migration
- Moderate
- Last commit
- Nov 2026
- Self-hosted
Feature parity with Claude · 54%
- Yes Multiple model choice
- Yes File upload and analysis
- Yes Image input
- Partly Voice conversation
- Yes Code execution
- Yes Custom assistants
- Yes Tool and app integrations
- 3
AnythingLLM
Private multi-user AI workspace for chatting with your documents using any LLM
69k Thriving 90 Permissive Direct replacementAnythingLLM suits teams that want a multi-user workspace for chatting with their own documents and running agents on their own server. It covers 50% of Claude's features and has 68,464 stars. You give up deep research reports, voice conversations and sharing chats by link.
Strengths
- Supports dozens of LLM providers, local and cloud
- Built-in local engine for CPU and GPU (CUDA, Vulkan)
- Agents, no-code builder and MCP compatibility
- Desktop apps for Mac, Windows and Linux; MIT licensed
Trade-offs
- No built-in deep research report mode
- No voice conversation mode
- No chat sharing by link
- No built-in image generation
- Best for
- Teams that want a self-hosted multi-user AI workspace with document chat and agents
- Fit
- Direct replacement · 50% feature parity
- Health
- 90/100 (Thriving) · breakdown
- License
- Permissive (OSI) (MIT)
- Hosting
- Self-hosted · Cloud from $50/mo
- Migration
- Moderate
- Last commit
- Nov 2026
- Self-hosted
- macOS
Feature parity with Claude · 50%
- Yes Multiple model choice
- Partly Web search with citations
- Yes File upload and analysis
- Yes Image input
- Yes Persistent memory
- Yes Custom assistants
- Yes Tool and app integrations
- 4
Jan
Desktop app for running local LLMs or connecting to cloud AI models
46k Thriving 84 Permissive Direct replacementJan is a desktop chat app with 45,943 stars and a commit in November 2026. It covers about 25% of Claude's features. You can run local models or plug in your own Claude or GPT keys. It has no deep research mode, no native iOS app and no share-by-link, so it suits solo desktop use.
Strengths
- Runs local models and connects to several cloud providers
- Local OpenAI-compatible API at localhost:1337
- MCP integration for agent features
- Apache-2.0 license, 15 releases in the last year
Trade-offs
- No deep research mode
- No native iOS app
- No chat sharing by link
- No native mobile apps
- Best for
- Users who want a desktop chat app mixing local models and Claude or GPT through their own keys
- Fit
- Direct replacement · 25% feature parity
- Health
- 84/100 (Thriving) · breakdown
- License
- Permissive (OSI) (Apache-2.0)
- Hosting
- Desktop / local
- Migration
- Moderate
- Last commit
- Nov 2026
- macOS
- Linux
Feature parity with Claude · 25%
- Yes Multiple model choice
- Yes Custom assistants
- Yes Tool and app integrations
Quick start
git clone https://github.com/janhq/jan cd jan make dev - 5
Cherry Studio
Desktop AI workstation for comparing cloud and local models, with agents and knowledge
54k Thriving 82 Copyleft Direct replacementCherry Studio is a desktop app, not a server, so it fits individuals who want to compare many cloud and local models side by side with agents and knowledge bases. It has 53,692 stars and 50% feature parity. It has no deep research mode and no web service for sharing by link.
Strengths
- Works with cloud providers and local models via Ollama and LM Studio
- Agents with per-agent workspaces, models and tool permissions
- Local knowledge bases from files, folders and web pages
- Local and WebDAV backup of conversation history
Trade-offs
- No deep research report mode
- No hosted web service for sharing by link
- Voice conversation not documented
- Desktop app only, with no self-hosted web version
- Best for
- Users who want one desktop app to compare many cloud and local models with agents and knowledge bases
- Fit
- Direct replacement · 50% feature parity
- Health
- 82/100 (Thriving) · breakdown
- License
- Copyleft (OSI) (AGPL-3.0)
- Hosting
- Desktop / local
- Migration
- Moderate
- Last commit
- Nov 2026
- macOS
- Linux
Feature parity with Claude · 50%
- Yes Multiple model choice
- Partly Web search with citations
- Yes File upload and analysis
- Partly Image input
- Partly Code execution
- Yes Custom assistants
- Yes Tool and app integrations
- 6
OpenClaw
Self-hosted personal AI assistant you reach through WhatsApp, Telegram, Slack and more
395k Thriving 81 Permissive Partial replacementOpenClaw reaches about 32% of Claude's features and has 394,894 stars. It is a self-hosted assistant you reach from WhatsApp, Slack or Telegram. It ships no models, so you must connect outside providers, and it has no web chat interface. Expect a hard migration.
Strengths
- MIT license, TypeScript codebase
- Over 20 chat channels plus native apps on five operating systems
- Swappable model providers including local models
- No paid tier or hosted service; telemetry limited to a daily version check by default
Trade-offs
- No built-in models; needs external providers
- No hosted web chat interface
- No native deep research mode
- Needs setup and a model provider
- Best for
- Users who want a self-hosted assistant reachable from WhatsApp, Slack or Telegram
- Fit
- Partial replacement · 32% feature parity
- Health
- 81/100 (Thriving) · breakdown
- License
- Permissive (OSI) (MIT)
- Hosting
- Self-hosted
- Migration
- Hard
- Last commit
- Nov 2026
- macOS
- Linux
- CLI
Feature parity with Claude · 32%
- Yes Multiple model choice
- Partly Code execution
- Yes Persistent memory
- Yes Tool and app integrations
Quick start
curl -fsSL https://openclaw.ai/install.sh | bash
Feature parity: Claude vs the top 5
| Feature | Claude | Open-WebUI | LibreChat | AnythingLLM | Jan | Cherry Studio |
|---|---|---|---|---|---|---|
| Multiple model choice | Yes | Yes | Yes | Yes | Yes | Yes |
| Web search with citations | Yes | Yes | – | Partly | – | Partly |
| File upload and analysis | Yes | Yes | Yes | Yes | – | Yes |
| Image input | Yes | – | Yes | Yes | – | Partly |
| Voice conversation | Yes | Partly | Partly | – | – | – |
| Code execution | Yes | – | Yes | – | – | Partly |
| Persistent memory | Yes | – | – | Yes | – | – |
| Custom assistants | Yes | – | Yes | Yes | Yes | Yes |
| Deep research | Yes | – | – | – | – | – |
| Tool and app integrations | Yes | Partly | Yes | Yes | Yes | Yes |
yes · partly · no · – not checked.
Cost to switch
What Claude costs your team in a year, against running an open source alternative yourself.
Claude per year
$2,400
Open-WebUI per year
$72
~$6/month server (estimate)
You save
$2,328
Server prices are typical monthly VPS prices for the RAM the tool needs (2 GB when unknown). Your time to run and update it is not included.
How to choose
You want a self-hosted chat that keeps working offline with local models
It runs offline against local models or connects to cloud providers, and it has 159,302 stars.
Your team wants one interface across several providers, with agents, projects and a code interpreter
It confirms 53.6% of Claude's features, the highest parity in this list, though it has no native iOS or Android app.
You want to chat with your own documents in a shared multi-user workspace
It covers 50% of Claude's features and runs on your own server with document chat and agents.
You work alone on a desktop and want to mix local models with your own Claude or GPT keys
→ Jan
It runs on Linux and macOS and accepts local models or your own API keys.
You want to compare many cloud and local models side by side on one machine
It is a Linux and macOS desktop app with agents and knowledge bases, at 50% feature parity.
Moving off Claude
- None of the listed alternatives imports Claude conversations directly. AnythingLLM, Jan and Cherry Studio do not.
- Claude lets you export your account data from its settings. Keep that file as an archive of past chats, since you will not be able to load it into most of these tools.
- Projects, custom instructions and uploaded files have to be rebuilt by hand. In LibreChat, recreate projects and agents; in AnythingLLM, re-upload documents into a workspace.
- Jan and LibreChat can use your own Claude API key, so you can keep using Claude models while switching to an open source interface.
Frequently asked questions
What is the best open source alternative to Claude?
Open-WebUI ranks first. It is self-hosted, works offline with local models, and also connects to cloud providers. LibreChat has higher feature parity at 53.6% if you need agents, projects and a code interpreter.
Is there an open source alternative to Opus 4.6?
These tools are interfaces, not models, so they run models you connect rather than Opus 4.6 itself. Open-WebUI and Jan work with local models, and Jan also accepts your own Claude or GPT keys.
Which Claude alternative can I self-host?
Open-WebUI, LibreChat, AnythingLLM and OpenClaw can all be self-hosted. Jan and Cherry Studio are desktop apps, not servers.
Which alternatives work on Windows, Mac or Linux?
Jan and Cherry Studio run on Linux and macOS. AnythingLLM has a macOS app and also self-hosts. OpenClaw runs on Linux and macOS from the command line.
Is there a free open source alternative to Claude?
Yes. All six are open source: Open-WebUI, LibreChat, AnythingLLM, Jan, Cherry Studio and OpenClaw. You may still pay for cloud model API usage if you connect one.
Can I import my Claude chats into an alternative?
Not directly. None of the alternatives with import data imports from Claude, so treat your Claude export as an archive and rebuild projects and instructions by hand.
2026 edition. Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.