ChatGPT alternatives: 8 open-source picks

ChatGPT costs $20/mo — $240 a year. These 8 alternatives replace it for $0, led by Dify, RAGFlow and Lobe Chat. All 8 are open source. License, stars and last commit checked by hand on 2026-08-29. No trials, no crippled tiers.

chatgpt $20/mo→these $0YEScan I open-source it? the honest breakdown →✨ ai assistants
D

Dify

open sourcewebself-hosteddocker to self-host

Production LLM app platform: visual workflows, RAG pipelines, agents and observability behind one self-hostable UI.

licenseApache-2.0 (with conditions)

runsyour server

setupnot verified by us yet — check the repo README

facts verified 2026-08-29

110kactive aug 2026repo ↗dify.ai ↗
R

RAGFlow

open sourcewebself-hosteddocker to self-host

Leading open-source RAG engine — build your own AI that answers from your documents. Trending on GitHub Aug 2026.

88kactive aug 2026repo ↗ragflow.io ↗
L

Lobe Chat

open sourcewebself-hostedone-click install

Polished multi-model AI chat UI with plugins, knowledge base, and one-click deploy.

licenseApache-2.0

runsyour server

setupnot verified by us yet — check the repo README

facts verified 2026-08-29

A

AnythingLLM

open sourcedesktopwebself-hostedone-click install

A private AI desk for documents and agents; install it, then choose local models or somebody else's meter.

licenseMIT

runsyour machine or their cloud

installNative desktop installer, or Docker for a shared/self-hosted server

enginesLocal llama.cpp and imported GGUF models, plus Ollama, LM Studio, LocalAI and numerous cloud providers including OpenAI, Anthropic, Google, Azure, AWS Bedrock, Groq, Mistral, Cohere, and OpenRouter.

dataDesktop data stays in the app's local data directory; the Docker edition persists its server storage volume, including an SQLite database and the default LanceDB vector store. Configured cloud providers receive the prompts and files sent to them.

the catch vs ChatGPTIt includes no frontier-model allowance or first-party voice, image generation, and managed web-research stack, so equivalent capability still needs hardware or paid APIs.

setupA non-expert must choose a model path: download a local model with enough RAM, connect Ollama or LM Studio correctly, or bring and pay for an API key.

facts verified 2026-08-10

C

Cherry Studio

open sourcedesktopone-click install

A desktop model switchboard with assistants, files, agents and MCP; bring keys or make your laptop sweat.

licenseAGPL-3.0

runson your machine

installNative macOS, Windows, or Linux desktop installer

enginesSupports hundreds of models through providers such as OpenAI, Anthropic, Google Gemini, OpenRouter, Azure, AWS Bedrock, Groq, DeepSeek, Mistral, Ollama, LM Studio, and other OpenAI-compatible services.

dataChats, API keys, assistants, settings, and local knowledge-base data are kept on the device; optional backup can use local files or WebDAV, while configured model providers receive prompts and attachments.

the catch vs ChatGPTCherry Studio provides no included model usage, so matching ChatGPT's best reasoning, image, voice, and research features requires separate providers and bills.

setupThe installer is easy, but useful output requires either a paid provider key or downloading and running a local model that fits the machine.

facts verified 2026-08-10

J

Jan

open sourcedesktopone-click install

A local-first desktop assistant with cloud connectors and tools; your RAM gets the invoice.

licenseApache-2.0

runson your machine

installNative macOS, Windows, or Linux desktop installer

enginesRuns local GGUF models through llama.cpp and Apple-silicon models through MLX, and connects to OpenAI, Anthropic, Google Gemini, Groq, Mistral, Azure, OpenRouter, Hugging Face, and custom OpenAI-compatible APIs.

dataModels, assistants, files, and settings stay in Jan's data folder; threads are stored as local JSON and JSONL files. Cloud providers receive only the conversations or files routed to them.

the catch vs ChatGPTLocal models generally trail ChatGPT's strongest hosted models and multimodal tools, while using comparable cloud models simply moves the cost to API billing.

setupThe first choice is consequential: local models need a sizable download and enough RAM, while cloud models require separately billed API keys.

facts verified 2026-08-10

L

LibreChat

open sourcewebself-hosteddocker to self-host

A self-hosted model switchboard with agents, files and tools; free software, paid model bills if you use paid models.

licenseMIT

runsyour server

installOfficial Docker Compose stack

enginesConnects to OpenAI, Anthropic, Google and Vertex AI, Azure OpenAI, AWS Bedrock, Mistral, Groq, custom OpenAI-compatible endpoints, and local backends exposed through compatible APIs.

dataThe default stack stores conversations and accounts in MongoDB, search indexes in Meilisearch, and uploaded or RAG files in local volumes or configured object/vector storage; every configured model provider receives the requests routed to it.

the catch vs ChatGPTLibreChat includes no inference allowance and replaces ChatGPT's managed reliability with Docker, databases, provider keys, security, updates, and backups.

setupIt needs Docker, environment secrets, provider keys, storage, backups, and an admin; the official guide also documents a MongoDB image override because the default image crashes on Apple-silicon Macs.

facts verified 2026-08-10

B

Big-AGI

open sourcewebself-hosteddocker to self-host

A local-first multi-model workspace with files, search, code and personas; the interface assumes you enjoy buttons.

licenseMIT

runsyour machine or their cloud

installUse the hosted web app, or deploy the Next.js app yourself

enginesConnects to more than twenty backends, including OpenAI, Anthropic, Google Gemini, OpenRouter, Azure OpenAI, AWS Bedrock, Groq, Mistral, DeepSeek, Ollama, LM Studio, LocalAI, and OpenAI-compatible endpoints.

dataIn the browser edition, provider keys and settings are stored in localStorage and chats, files, personas, and related workspace data in IndexedDB; configured model providers receive submitted content. There is no included cross-device cloud sync.

the catch vs ChatGPTBig-AGI supplies the interface but no model subscription, cross-device sync, or tightly integrated first-party voice and image experience.

setupThe first obstacle is bringing provider keys or a local endpoint; the app warns that browser-stored keys are plain text and protected only by the browser profile.

facts verified 2026-08-10

What each one is, in full: Dify · RAGFlow · Lobe Chat · AnythingLLM · Jan

last updated 2026-08-29 · no votes, no pay-to-list · just what's real

the usual suspects · recommended everywhere, rejected here

MstyThe desktop core is $0, but the terms limit it to private non-commercial use; paid work needs a license.

how to choose a ChatGPT alternative

Easiest to get running

Lobe Chat — a one-click install, no server to maintain.

Most proven

Dify, with 110,000 GitHub stars — the largest community of the 8, which usually means more answers when something breaks.

Runs on your own machine, no server

Cherry Studio — nothing to host, your data stays on your disk.

what you give up by leaving ChatGPT

None of the picks above covers all of it. The full verdict says which gaps matter.

ChatGPT alternatives at a glance

toollicenserunning itplatformsstarsactive
DifyApache-2.0 (with conditions)docker to self-hostself-hosted, web110,0002026-08
RAGFlowopen sourcedocker to self-hostself-hosted, web88,0002026-08
Lobe ChatApache-2.0one-click installself-hosted, web65,0002026-08
AnythingLLMMITone-click installweb, macos, windows, linux, self-hosted64,4002026-08
Cherry StudioAGPL-3.0one-click installmacos, windows, linux49,8672026-08
JanApache-2.0one-click installmacos, windows, linux43,9002026-08
LibreChatMITdocker to self-hostweb, self-hosted41,7002026-08
Big-AGIMITdocker to self-hostweb, self-hosted7,1002026-08
Want the honest verdict and what you give up by switching?read the verdict →

why people still pay for ChatGPT

They pay for access to a continuously improving platform, not a textarea and send button. If none of that applies to you, any pick above saves $240 a year.

questions about switching from ChatGPT

Is there an open-source alternative to ChatGPT?

Yes: Dify, RAGFlow, Lobe Chat and 5 more. Every tool on this page is open source: no trials, no crippled tiers.

Can open source really replace ChatGPT?

Our verdict is YES. Dify (110k stars), RAGFlow (88k stars), Lobe Chat (65k stars) are mature open-source replacements for ChatGPT — self-host with docker and stop paying $20/mo. The full verdict, and what you give up by switching, is at caniopensourceit.online/chatgpt.

What is the easiest open-source ChatGPT alternative to set up?

Lobe Chat — a one-click install, no server to maintain.

What is the most popular open-source ChatGPT alternative?

By GitHub stars, Dify (110,000). RAGFlow is next with 88,000.