opensourcestartups

> /v1/alternatives/chatgpt

Open source alternatives to ChatGPT[011]

ChatGPT is a conversational AI assistant for writing, coding, analysis and search, with file uploads, memory and custom tools. Below are 11 self-hostable open source alternatives, ranked by GitHub popularity.

// AI & ML№ 001
Open WebUI

Open WebUI

★ FEATUREDPYTHON

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

★ STARS

136.1k

⑂ FORKS

19.4k

OPEN PROJECT→
// AI & ML№ 002
AnythingLLM

AnythingLLM

★ FEATUREDJAVASCRIPT

Building the definitive all-in-one on-device AI productivity tool

★ STARS

59.7k

⑂ FORKS

6.5k

OPEN PROJECT→
// AI & ML№ 003
cherry-studio

cherry-studio

★ FEATUREDTYPESCRIPT

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

★ STARS

45.3k

⑂ FORKS

4.3k

OPEN PROJECT→
// AI & ML№ 004
Jan

Jan

★ FEATUREDTYPESCRIPT

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

★ STARS

42.4k

⑂ FORKS

2.8k

OPEN PROJECT→
// AI & ML№ 005
LibreChat

LibreChat

★ FEATUREDTYPESCRIPT

Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain…

★ STARS

36.7k

⑂ FORKS

7.5k

OPEN PROJECT→
// AI & ML№ 006
Khoj

Khoj

★ FEATUREDPYTHON

AI for humans

★ STARS

34.4k

⑂ FORKS

2.2k

OPEN PROJECT→
// AI & ML№ 007
Leon

Leon

TYPESCRIPT

Leon is your open-source personal assistant.

★ STARS

17.2k

⑂ FORKS

1.4k

OPEN PROJECT→
// AI & ML№ 008
Morphic

Morphic

TYPESCRIPT

An AI-powered search engine with a generative UI

★ STARS

8.8k

⑂ FORKS

2.3k

OPEN PROJECT→
// AI & ML№ 009
5ire

5ire

TYPESCRIPT

5ire is a cross-platform desktop AI assistant, MCP client. It compatible with major service providers, supports local knowledge base and tools via model context protocol servers .

★ STARS

5.2k

⑂ FORKS

405

OPEN PROJECT→
// AI & ML№ 010
Fullmoon

Fullmoon

SWIFT

Chat with private and local large language models

★ STARS

2.3k

⑂ FORKS

223

OPEN PROJECT→
// AI & ML№ 011
Zola

Zola

TYPESCRIPT

Open chat interface for all your models.

★ STARS

1.5k

⑂ FORKS

299

OPEN PROJECT→

// EDITOR'S TAKE

Open WebUI is the closest to the hosted ChatGPT experience, with multi-user accounts, document chat and tool calling on top of Ollama or any OpenAI-compatible API. LibreChat is the stronger choice when you want to mix providers and keep tight admin control over who can use what, while Jan is for people who want everything running locally and will accept smaller models to get it.

// FREQUENTLY ASKED

What is the best open source ChatGPT alternative?

Open WebUI is the most popular open source ChatGPT alternative by GitHub stars (136,084 stars). The other 10 options are ranked above.

Are these ChatGPT alternatives self-hostable?

Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.

Are they free?

All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.

// PART OF THESE COLLECTIONS