AnythingLLM provides workspaces for chatting with documents and running AI agents.
Open-source ChatGPT alternatives
A hosted AI chat assistant from OpenAI. Use the approved catalog below to weigh license, hosting, and repository activity for chatting with AI models and your documents.
In short
The catalog lists 3 reviewed open-source alternatives to ChatGPT for chatting with AI models and your documents: AnythingLLM (MIT, self-hosted), LibreChat (MIT, self-hosted), and khoj (AGPL-3.0, self-hosted). GitHub metadata last checked October 4, 2026.
About ChatGPT
A hosted AI chat assistant from OpenAI.
- Model choice
- Document search
- Where chats are stored
Why choose each alternative
Loading catalog
Related categories
Compare alternatives
ChatGPT alternatives: questions
- What is the most popular open-source alternative to ChatGPT?
- AnythingLLM has the most GitHub stars in this list, with 67k (MIT). Other reviewed options include LibreChat and khoj.
- Is there a self-hosted alternative to ChatGPT?
- Yes. AnythingLLM, LibreChat, and khoj can run on your own server. Check each license before commercial use.
- Which ChatGPT alternatives have a hosted version?
- None of the listed alternatives records a hosted option, so plan to run it yourself.
- What should you check before switching from ChatGPT?
- Compare model choice, document search, where chats are stored. Confirm the license, who will operate the install, and how you will export your data from ChatGPT.
Repository activity is a signal, not a security or quality guarantee.