The most popular open-source alternative to Grok is OpenClaw, with 395.6k GitHub stars.
Other open-source alternatives to Grok are AnythingLLM, Jan, QwenPaw and NanoClaw (6 more below).
Most Grok alternatives here are AI Interaction & Interfaces tools, some are AI Assisted Coding.
The first 2 say in their own README or website that they can replace Grok (the quote is shown under each one); the other 9 do the same job, shown with their own description.
Stars and activity updated 4 December 2026.
Questions about Grok alternatives
Is there an open-source alternative to Grok?
Yes. 11 open-source projects can replace Grok, for example OpenClaw, AnythingLLM and Jan. 2 of them say so in their own documentation; the other 9 do the same job.
What is the best open-source alternative to Grok?
OpenClaw (395.6k GitHub stars) is the most popular open-source alternative to Grok on GitHub. Rakazo has the most recent code changes. To run it on your own server, look at QwenPaw, NanoClaw and Leon, which are self-hostable. The best choice depends on your needs: compare them side by side, for example OpenClaw vs AnythingLLM.
Are the open-source alternatives to Grok free?
All of the 11 projects listed here are free to use under an open-source license, with no license fee: 9 permissive (such as MIT), 2 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.