Skip to content

DirectoryOpen alternatives

Open source alternatives to ChatGPT

ChatGPT homepage
ChatGPTFree
AnythingLLM homepage
AnythingLLM68.4k stars · MITGitHub

Ranked by GitHub stars

FAQs

What is the best open source alternative to ChatGPT?

By GitHub stars it is AnythingLLM, with 68,489 stars and a commit on 21 Nov. Choose AnythingLLM when you want to chat with your own documents in a private workspace on your machine, with local or API models. Next come Cherry Studio (53,725 stars) and LibreChat (47,394 stars).

Is there a free alternative to ChatGPT?

Yes. The code of all 5 is public under MIT, AGPL 3.0 or Apache 2.0, so you can use them with no licence fee. Running one yourself costs the server and your time to look after it, and some makers also sell a hosted plan.

How do I choose between them?

Start from the job you use ChatGPT for. Choose Jan when you want a ChatGPT-style assistant that runs open models on your own computer, so chats never leave the machine. Choose LibreChat when your team wants a ChatGPT-style chat app on its own server, with GPT, Claude and Gemini models paid per token by API.

Which ChatGPT alternatives can I host on my own server?

All 5: AnythingLLM, Cherry Studio, LibreChat, Jan and Zola. Each tool's page says what it needs to run.

Which ones are still being worked on?

4 of the 5 we track had a commit in the last 30 days, among them AnythingLLM, Cherry Studio, LibreChat and Jan. The quietest is Zola, last changed on 11 Dec 2025. A recent commit shows the project is kept up, not that it will stay that way.

What licences do they use?

MIT (2), Apache 2.0 (2), AGPL 3.0 (1). MIT, BSD and Apache let you change and reuse the code freely. GPL and AGPL ask you to share your changes under the same licence when you give the software to others, and AGPL also counts letting people use it over a network.

What do I lose by leaving ChatGPT?

The hosting. ChatGPT's maker runs the servers for you; with an open source tool the updates, backups, security fixes and support are yours, unless you take the maker's hosted plan. Features differ too, so check what each one imports and exports before you move your data.