Khoj vs LibreChat: pricing, features and which to choose

Plans, prices, deployment options, strengths and limits for Khoj vs LibreChat, taken from each company's pricing page, docs and changelog. Updated October 2026.

KhojLibreChat
Khoj logo

Khoj

Local & Self-Hosted AI

Khoj is an open-source personal AI assistant from Khoj, built for private document chat, web research, custom agents, and scheduled automation. Cloud hosting ended April 15, 2026, leaving self-hosting as the current option. The software costs $0 to license, while model access, storage, hardware, and administration may create separate expenses for operators.

LibreChat logo

LibreChat

Local & Self-Hosted AI

LibreChat is a free, MIT-licensed, self-hosted chat platform for developers, teams, and organizations that want one interface for many remote and local AI providers. The software costs $0, while hosting, storage, and model usage remain separate. It suits operators who want provider choice, agents, tools, and administrative controls instead of a bundled model subscription.

Quick comparison

FeatureKhojLibreChat
CategoryLocal & Self-Hosted AILocal & Self-Hosted AI
Main usePrivate AI assistantMulti-model chat
Pricing modelFreeFree
Free plan Yes Yes
Entry paid plan$0 (Self-hosted)$0 (Self-hosted)
PlatformsWeb and desktopWeb and Docker
Open source Yes Yes
Self-hosted Yes Yes
Public API Yes Yes
Profile updatedOctober 2026October 2026

Pricing plans

Every public plan, as listed on each company's pricing page.

Khoj

  • Self-hosted$0

    AGPLv3 software; hosting, storage, and model-provider costs are separate.

LibreChat

  • Self-hosted$0

    The MIT software has no seat or message allowance. Hosting, storage, and connected provider usage are separate.

  • EnterpriseCustom

    The public pricing page lists 24/7 support, enterprise-grade security, custom roles, and custom permissions.

Strengths and limits

Khoj

  • AGPLv3 licensing permits self-hosted deployment with source available.
  • Retrieval supports PDFs, Markdown, Notion, Word, and org-mode files.
  • Agents can combine custom knowledge, personas, models, and tools.
  • Online and local model options reduce dependence on one provider.
  • Khoj Cloud was discontinued on April 15, 2026.
  • Self-hosters must operate storage, updates, model access, and integrations.
  • The old cloud pricing page can mislead readers because its plans are unavailable.

LibreChat

  • MIT licensing permits modification and redistribution.
  • Connects remote, local, and OpenAI-compatible providers.
  • Includes agents, MCP, RAG, files, and code execution.
  • Offers roles, SSO options, and token-spend controls.
  • Provider fees and infrastructure costs remain separate.
  • Privacy depends on endpoint and storage configuration.
  • Deployment and upgrades require technical administration.

Which should you choose?

Choose Khoj if

  • Self-hosters can chat with private notes and documents.
  • Obsidian or Emacs users can add assistant features to writing tools.
  • Developers can choose models and configure personal agents.
  • Researchers can use web search, references, and scheduled research workflows.

Look elsewhere if

  • Users requiring an active managed cloud subscription should look elsewhere.
  • Teams wanting a turnkey hosted assistant may find self-hosting burdensome.
  • Buyers needing one fixed model and vendor-supported workflow may prefer hosted software.

Choose LibreChat if

  • Teams standardizing access to several model providers.
  • Developers building agent and MCP workflows.
  • Organizations requiring self-hosted authentication and permissions.
  • Operators comfortable with Docker and provider credentials.

Look elsewhere if

  • People seeking a zero-setup hosted chatbot.
  • Users expecting included model credits.
  • Teams unable to maintain servers and integrations.

Khoj logo Khoj in brief

Khoj began in April 2021 as an experimental document-search project and grew into a personal AI application maintained by Khoj AI. Its GitHub repository reports more than 37,000 stars, and the software uses the GNU Affero General Public License v3.0. It can run on consumer hardware or connect to online models, with a stated goal of keeping personal data under the operator’s control. Khoj Cloud, the hosted subscription service introduced in 2023, was sunset on April 15, 2026. The open-source, self-hostable project remains active, making it the durable product rather than a conventional hosted assistant with an active subscription business. This model suits technically comfortable users who want private, model-agnostic document assistance and can manage deployment themselves.

A typical Khoj session begins by importing notes or documents and indexing them for semantic search before users ask questions through its web interface or integrations. Supported sources include PDF, plaintext, Markdown, org-mode, Notion, and Word files. Retrieval supplies relevant notes and metadata to a selected chat model, while commands can limit responses to notes, general knowledge, online information, image generation, code, diagrams, or deeper research. Users can create agents combining a persona, knowledge base, model, and tools. Access is available through browser, desktop, Android, Obsidian, Emacs, and WhatsApp. Because Khoj Cloud ended on April 15, 2026, deployment now requires self-hosting, with operators managing infrastructure, model access, storage, and updates.

Khoj’s main limitation is operational: self-hosting replaces a subscription checkout with installation, storage, model configuration, updates, and maintenance. The software is free under AGPLv3, but infrastructure, electricity, and model-provider costs remain separate, and Khoj Cloud ended on April 15, 2026. It is more configurable than ChatGPT’s document chat, more integrated with personal notes than Ollama alone, and more private by default than hosted assistants when deployed with operator-controlled storage and local models. ChatGPT offers a smoother managed experience, Ollama a simpler local model runner, and AnythingLLM another self-hosted document-chat workspace. Khoj suits technically comfortable users who want an open, model-agnostic assistant for PDFs, Markdown, Notion, Word, or org-mode files, with agents and integrations, rather than a supported hosted plan or turnkey enterprise administration.

Read the full Khoj review

LibreChat logo LibreChat in brief

LibreChat is a free, open-source chat platform maintained by the LibreChat community and distributed under the MIT license. Its GitHub repository was created on February 12, 2023. The project page reports 46.1 thousand GitHub stars and 58.5 million Docker pulls in October 2026, while the repository lists 9,457 forks and the MIT license. LibreChat targets developers, teams, and enterprises that want to run an AI interface on their own infrastructure. The license permits use, modification, distribution, sublicensing, and sale, provided the notice is retained, and the software is provided without warranty. LibreChat does not include model inference, hosting, or provider credits. Connected services can still process prompts, files, and tool requests under their own terms, so users seeking self-hosting and provider flexibility should pick LibreChat.

A typical deployment runs LibreChat with Docker, configures provider credentials or OpenAI-compatible endpoints, and gives users a browser workspace. Users can switch models, upload files, search conversations, create agents, call MCP tools, run code in a sandbox, and use RAG for indexed documents. Authentication supports email and OAuth, with LDAP, SAML, two-factor controls, roles, groups, moderation, and spend controls described for multi-user installations. The interface can connect to OpenAI, Anthropic, Google, Azure, AWS Bedrock, OpenRouter, Ollama, Groq, Mistral, Cohere, and other local or remote services. These connections route requests through configured endpoints, but they do not provide a LibreChat model API subscription or included model allowance. Pick LibreChat if you need a self-hosted shared workspace with multiple providers, agents, tools, files, and user permissions.

LibreChat’s flexibility brings deployment work, credential management, upgrades, provider-specific limits, and security responsibility. It is less turnkey than ChatGPT, which provides managed hosting, and less focused on local inference than Open WebUI, particularly in Ollama-centered setups. LibreChat is also less developer-oriented as a model-serving engine than Ollama-style workflows or direct provider SDKs. Chatbot UI provides a simpler interface, while LibreChat offers broader provider, agent, tool, file, and multi-user administration controls. Pick LibreChat when control, provider choice, self-hosting, agents, MCP tools, files, and user permissions matter more than a managed subscription. Pick ChatGPT for a polished hosted experience, Open WebUI for a local-first model interface, or direct provider APIs when application integration matters more than a shared chat workspace. LibreChat is best for teams needing these combined capabilities.

Read the full LibreChat review

Frequently asked questions

How do Khoj vs LibreChat compare on price?

Khoj has a free option, and its first paid plan (Self-hosted) is listed at $0. LibreChat has a free option, and its first paid plan (Self-hosted) is listed at $0. Prices are from each company's pricing page and can change, so check before you buy.

Which has a free plan, Khoj vs LibreChat?

All of them. Khoj: AGPLv3 software; hosting, storage, and model-provider costs are separate. LibreChat: The MIT software has no seat or message allowance. Hosting, storage, and connected provider usage are separate.

Can I self-host or integrate Khoj vs LibreChat?

Khoj and LibreChat are open source. Khoj and LibreChat can run on your own servers. Khoj and LibreChat offer a public API.

Is Khoj still available in 2026?

Yes, the open-source Khoj project remains available for self-hosting. Khoj Cloud was sunset on April 15, 2026, so the hosted app and subscriptions are no longer current options. Users can deploy the software themselves, retain control of stored documents, and select local or online model providers.

How much does Khoj cost?

Self-hosting the AGPLv3 software costs $0 in license fees, but infrastructure and model usage can cost money. The old cloud page listed a free Humanist tier and a $30 monthly Futurist tier, but those plans ended with the hosted service on April 15, 2026. No current hosted subscription is available.

How much does LibreChat cost?

The core software costs $0 under the MIT license. You still pay for server hosting, storage, search or tool services, and model providers configured in your deployment. LibreChat's public commercial page lists Starter at $1K, Professional at $1M, and Enterprise as contact sales, but it does not explain a billing period or unit for the two numeric figures.

Does LibreChat have a free plan?

Yes. Self-hosting LibreChat costs $0 for the software, with no required subscription or bundled message allowance. OpenAI, Anthropic, Google, Bedrock, and other providers charge under their own terms. Local models can avoid per-request provider charges, but they still require suitable hardware, storage, maintenance, and configuration.

Related comparisons

Sources