FreeAIRepo
← All paid tools

Best free ChatGPT alternatives (open source, 2026)

Updated · 20 repos compared

Short answer

The best free ChatGPT alternative for most people is open-webui (157k GitHub stars). open-duet describes itself as a ChatGPT alternative. All 20 options below are open source and run on your own computer or server, so there's no subscription.

ChatGPT (AI chat assistant) is a paid, closed-source product. The open-source projects below do the same job and run on your own computer or server.

Top picks

  1. 1. Best for: Best overallopen-webui157k stars · license not detected · updated 1mo ago
    Editor's pick

    Self-hosted AI platform for managing and integrating various language models.

    Needs:
    no GPU (runs on CPU) (as stated by the project)
    Trade-off
    Better than ChatGPT: the biggest community (157k stars), no GPU needed. Worse: license not detected by GitHub; check it before commercial use.
  2. 2. Best for: Closest ChatGPT replacementopen-duet7.3k stars · Apache-2.0 · updated 2d ago

    Self-hosted AI coworkers with memory, routines, and approval steps.

    Needs:
    no GPU (runs on CPU) (as stated by the project)
    Trade-off
    Better than ChatGPT: no GPU needed, a permissive Apache-2.0 license. Worse: you install and run it yourself instead of ChatGPT's hosted app.
  3. 3. Best for: Also excellentanything-llm69k stars · MIT · updated 15d ago
    Editor's pick

    Build and run local AI agents for document chat and workflow automation.

    Needs:
    no GPU (runs on CPU), works on Mac (as stated by the project)
    Trade-off
    Better than ChatGPT: no GPU needed, a permissive MIT license. Worse: you install and run it yourself instead of ChatGPT's hosted app.
  4. 4. Best for: Best match for the jobLibreChat48k stars · MIT · updated 6d ago
    Editor's pick

    Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, me

    Needs:
    Hardware needs not stated by the project
    Trade-off
    Better than ChatGPT: a permissive MIT license, very active development. Worse: you install and run it yourself instead of ChatGPT's hosted app.

Comparison

ToolStarsCommercial useSelf-hostRuns on MacGPU memoryLast update
CChatGPTPaid · cloud only–browsernone–
LibreChatEditor's pickEnhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, me48k?6d ago
janEditor's pickRuns local AI models for chat and task assistance.45kNo license?1mo ago
open-webuiEditor's pickSelf-hosted AI platform for managing and integrating various language models.157kNo license?1mo ago
anything-llmEditor's pickBuild and run local AI agents for document chat and workflow automation.69k?15d ago
open-duetChatGPT alternativeSelf-hosted AI coworkers with memory, routines, and approval steps.7.3k?2d ago
codex-desktop-linuxChatGPT alternativeUnofficial ChatGPT desktop app for Linux.4.0k?1d ago
open-chatgpt-atlasChatGPT alternativeOpen Source and Free Alternative to ChatGPT Atlas.445No license?4mo ago
sunaChatGPT alternativeSelf-hosted AI agent platform for team productivity and automation.21kNo license?today
enchantedChatGPT alternativeChat with private LLMs on iOS and macOS.6.0k?5mo ago
ChatRWKVChatGPT alternativeOpen-source chatbot powered by RWKV RNN language model.9.5k3 GB4mo ago
MineContextChatGPT alternativeProactive context-aware AI assistant for work and study.5.6k?7mo ago
selfhost-aiChatGPT alternativeOne-command installer for a self-hosted AI stack on your own server: n8n, Ollama, Open WebUI, OpenClaw, Dify, Flowise, Supabase, ComfyUI, Qdrant & 30+ tools. Docker Compose, automatic HTTPS via Caddy,970?1d ago
copilot-unleashedChatGPT alternativeA mobile first, self-hosted multi-model AI chat powered by the GitHub Copilot SDK. A modern alternative to ChatGPT, Claude, and Gemini.108?today
NativeMindExtensionChatGPT alternativeNativeMind: Your fully private, open-source, on-device AI assistant1.1kCopyleft?8mo ago
chatgpt-mirror-liteChatGPT alternativeSelf-hosted ChatGPT mirror: one shared endpoint for your team, no logins. | chatgpt mirror self-hosted proxy team | Portable x64 prebuilt for Windows0?11d ago
open-spacesChatGPT alternativeFree, open-source alternative to ChatGPT Spaces: a self-hostable AI workspace for shared pages and conversations.8?1mo ago
gpt-mirror-selfhostedChatGPT alternativeSelf-hosted ChatGPT mirror: one shared endpoint for your team, no logins. | chatgpt mirror self-hosted proxy team | Portable x64 prebuilt for Windows0?11d ago
codex-asrChatGPT alternativeUnofficial Rust CLI/library and local Whisper-compatible REST shim for Codex Desktop ASR using local ChatGPT auth64?21d ago
openbrowserChatGPT alternativeOpenBrowser is an open-source, AI-native browser built on Chromium — a truly privacy-first alternative to ChatGPT Atlas, Perplexity Comet, and Dia.74?2mo ago
BrowserOSChatGPT alternativeRun AI agents in a secondary browser for web automation tasks.15kCopyleft?2d ago

✓ yes · ✗ no · – not stated by the project. Commercial use: ✓ = permissive license (MIT, Apache, BSD…); copyleft and unlicensed projects come with conditions. Hardware details may be incomplete.

ChatGPT vs open source: what you give up

  • Setup. ChatGPT is ready as soon as you sign up. These projects need installing, usually with Python, Node or Docker.
  • Hardware. 1 of 20 lists a GPU requirement, starting at 3 GB of GPU memory. 6 say they run on a regular CPU. 4 mention Mac support.
  • Polish and support. Paid products usually have a smoother interface, managed updates and customer support. Open source gives you privacy, no usage limits and no monthly bill.
  • Maintenance. 11 of 20 were updated in the last 30 days.
  • License. 16 of 20 use a standard open-source license (MIT, Apache, GPL and similar). Check the license before commercial use.

FAQ

Is there a free alternative to ChatGPT?

Yes. We list 20 free, open-source GitHub projects that do the same job as ChatGPT. The most popular are open-webui, anything-llm and LibreChat.

What is the best open-source ChatGPT alternative?

It depends on your setup. Best overall: open-webui. Closest ChatGPT replacement: open-duet. Also excellent: anything-llm. Compare GitHub stars, license and hardware needs in the table on this page.

Can I run a ChatGPT alternative on a Mac?

Yes. According to the projects, jan, anything-llm and enchanted run on macOS.

Do I need a GPU to replace ChatGPT?

1 of the 20 lists a GPU requirement, starting at 3 GB of GPU memory. 6 say they run on a regular CPU.

Are these ChatGPT alternatives really free?

Yes. All 20 are open source on GitHub, and projects that need a paid API key are left out. 16 use a standard open-source license such as MIT, Apache or GPL; check the license before commercial use.

Related: LLMs & chat