Khoj vs LibreChat

Two self-hosted Generative Artificial Intelligence (GenAI) apps, compared on the facts we track: GitHub popularity and activity, license, language, Docker images and a rough hosting estimate.

Khoj and LibreChat are open-source Generative Artificial Intelligence (GenAI) apps you can run on your own server. Khoj is built with Python and licensed under AGPL-3.0; LibreChat is built with Nodejs under MIT. LibreChat has the bigger GitHub following, with 47.2k stars to 38.1k. Khoj is labelled “Maintained” and LibreChat “Active” on maintenance.

Side by side

KhojLibreChat
DescriptionYour AI second brain. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI.Enhanced ChatGPT-compatible AI chat interface supporting multiple AI providers, with multi-user auth, message search, and plugin support.
GitHub stars38,14447,172
Forks2.6k9.7k
Open issues (incl. PRs)1711.1k
Commits (12 months)732.8k
Last activity2026-08-022026-10-31
Latest release2.0.0-beta.28 (2026-03-26)v0.8.9-rc1 (2026-10-26)
Score (0–100)8492
Maintenance healthMaintainedActive
LicenseAGPL-3.0MIT
Language / platformPython, DockerNodejs, Docker
Docker Hub image––
Docker pulls––
Est. server size~8 GB, 4 vCPU~8 GB, 4 vCPU
Est. hosting from$40/mo$40/mo
CategoriesGenerative Artificial Intelligence (GenAI)Generative Artificial Intelligence (GenAI)
LinksWebsite · SourceWebsite · Source

What the numbers say

Summary: LibreChat leads on GitHub popularity, commit activity and recent activity. The right choice depends on the features you need — read both project descriptions and docs.

This summary is generated from GitHub, Docker Hub and awesome-selfhosted data as of 2026-11-16. It does not rate features or quality.

How the score works

Each app gets a score out of 100, computed only from public data we refresh daily:

The score measures community size, upkeep and ease of deployment, not features or quality. Hover a score to see its parts.

Host Khoj or LibreChat

Either app fits on a ~8 GB VPS by our rough estimate. Cheapest matching plans:

ProviderPlan size~ USD / month
Vultr
Low-cost cloud compute in 30+ regions.
8 GB$40Deploy →
DigitalOcean
Simple droplets, great docs, 1-click Docker image.
8 GB$48Deploy →
Akamai (Linode)
Long-running VPS provider with predictable pricing.
8 GB$48Deploy →

Prefer managed hosting? Check PikaPods or Elestio.

Estimate from each app's stack and category, not a benchmark. Some hosting links may be affiliate links. We may earn a commission at no extra cost to you; it never affects which apps we list.

Frequently asked questions

Is Khoj or LibreChat more popular?

LibreChat has more GitHub stars (47,172 vs 38,144 for Khoj, as of 2026-11-16). Stars measure interest, not quality.

Which is more actively maintained, Khoj or LibreChat?

LibreChat had more commits over the last 12 months (2,783 vs 73). The last recorded activity was 2026-08-02 for Khoj and 2026-10-31 for LibreChat. Releases in the past year: Khoj 10+, LibreChat 10+. Our health labels: Khoj is “Maintained”, LibreChat is “Active”.

What licenses do Khoj and LibreChat use?

Khoj: AGPL-3.0. LibreChat: MIT. LibreChat's license is permissive; Khoj's is copyleft (changes you distribute must stay open).

Can I run Khoj and LibreChat with Docker?

We did not detect a Docker Hub image for either app. The upstream listing mentions Docker as a deployment option for Khoj and LibreChat. Check each project's documentation for install options.

Read more

Khoj

Your AI second brain. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI.

Maintained ★ 38.1k AGPL-3.0 🐳 Docker~$40/mo

LibreChat

Enhanced ChatGPT-compatible AI chat interface supporting multiple AI providers, with multi-user auth, message search, and plugin support.

Active ★ 47.2k MIT 🐳 Docker~$40/mo

Browse all self-hosted Generative Artificial Intelligence (GenAI) apps, or see every Perplexity alternative.

Related comparisons

Khoj vs OllamaKhoj vs Open-WebUIKhoj vs LobeHubAnythingLLM vs KhojKhoj vs VaneKhoj vs Onyx Community EditionLibreChat vs OllamaLibreChat vs Open-WebUILibreChat vs LobeHubLibreChat vs Vane