The most popular open-source alternative to ChatGPT is OpenClaw, with 395.3k GitHub stars.
Other open-source alternatives to ChatGPT are Hermes Agent, Open WebUI, LocalAI and CowAgent (7 more below).
Most ChatGPT alternatives here are AI Interaction & Interfaces tools, some are Machine Learning Infrastructure.
The first 3 say in their own README or website that they can replace ChatGPT (the quote is shown under each one); the other 9 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.
Questions about ChatGPT alternatives
Is there an open-source alternative to ChatGPT?
Yes. 12 open-source projects can replace ChatGPT, for example OpenClaw, Hermes Agent and Open WebUI. 3 of them say so in their own documentation; the other 9 do the same job.
What is the best open-source alternative to ChatGPT?
OpenClaw (395.3k GitHub stars) is the most popular open-source alternative to ChatGPT on GitHub. To run it on your own server, look at Open WebUI, LocalAI and QwenPaw, which are self-hostable. The best choice depends on your needs: compare them side by side, for example OpenClaw vs Hermes Agent.
Are the open-source alternatives to ChatGPT free?
All of the 12 projects listed here are free to use under an open-source license, with no license fee: 9 permissive (such as MIT), 3 copyleft (such as GPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.