Khoj vs PrivateGPT: pricing, features and which to choose

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

KhojPrivateGPT
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.

PrivateGPT logo

PrivateGPT

Local & Self-Hosted AI

PrivateGPT is an Apache-licensed application API that adds messages, file ingestion, retrieval, citations, tools, data access, and orchestration above local or self-hosted model servers. It is aimed at developers and organizations building private AI applications. The software entry price is $0, while computing, storage, inference services, and Zylon's separate commercial platform cost extra.

Quick comparison

FeatureKhojPrivateGPT
CategoryLocal & Self-Hosted AILocal & Self-Hosted AI
Main usePrivate AI assistantPrivate RAG API
Pricing modelFreeFree
Free plan Yes Yes
Entry paid plan$0 (Self-hosted)Free (PrivateGPT open source)
PlatformsWeb and desktopSelf-hosted
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.

PrivateGPT

  • PrivateGPT open sourceFree

    Apache-2.0 self-hosted software; users supply inference, models, compute, and storage.

  • Zylon commercial platformCustom

    Commercial pricing is provided through a sales process.

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.

PrivateGPT

  • Apache 2.0 permits commercial deployment.
  • It works above several inference servers.
  • The API covers retrieval and tools.
  • Zylon work now feeds the public repository.
  • It excludes the underlying inference server.
  • Version 1.0 breaks the original API.
  • Self-hosting requires multiple services.

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 PrivateGPT if

  • Developers building private RAG applications.
  • Organizations requiring self-hosted APIs.
  • Teams integrating local inference with Claude clients.
  • Engineers needing citations, tools, and MCP.

Look elsewhere if

  • Users wanting hosted chat subscription.
  • Teams unwilling to operate inference services.
  • Projects locked to the old API.

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

PrivateGPT logo PrivateGPT in brief

PrivateGPT is an open-source application API layer for building private AI applications on local or self-hosted model servers. It is maintained by Zylon, whose commercial platform is built on top of the project. The original project launched in 2023 as an offline retrieval-augmented generation implementation, while PrivateGPT 1.0 was published on June 3, 2026, after two years of development in a private fork. The project’s site reports more than 57,000 GitHub stars, over 7,500 derived projects, and more than 5,000 Discord members. Those figures indicate substantial public interest and reuse, but do not establish deployment quality or support levels. In practical terms, PrivateGPT supplies a reusable application layer, allowing developers to build private AI products without implementing common backend capabilities from scratch.

A typical workflow starts by pointing PrivateGPT at an OpenAI-compatible model server and configuring the application through its environment and profiles. An application or the built-in Workbench then sends messages through the API, with streaming, asynchronous processing, model selection, and token counting available where needed. For document-based use, a developer uploads files or other artifacts, lets the system process them and create embeddings, and issues questions against the resulting collection. Retrieval can supply relevant context and citations, while agentic retrieval and tool use support more involved requests. The same backend can expose databases, CSV files, and tabular data, or invoke web search, extraction, custom tools, MCP connectors, and code execution. This separates interface design from ingestion, retrieval, orchestration, and model calls.

PrivateGPT’s main limitation is that it adds application capabilities without supplying the inference layer, so deployment still requires a compatible model server, hardware, configuration, and ongoing operations. Its 1.0 release also breaks compatibility with the original API, making migration work necessary for existing integrations. Compared with Ollama and LM Studio, it is less useful as a standalone way to download, run, and interact with models. Compared with Onyx and Open WebUI, it provides less of a finished workspace because its included UI is primarily for testing and demonstrations, not the main product. Dify and AnythingLLM likewise offer more immediately usable application interfaces, whereas PrivateGPT suits teams building their own experience around an API. Pick PrivateGPT if you need an Apache-licensed, API-first layer over infrastructure you control.

Read the full PrivateGPT review

Frequently asked questions

How do Khoj vs PrivateGPT compare on price?

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

Which has a free plan, Khoj vs PrivateGPT?

All of them. Khoj: AGPLv3 software; hosting, storage, and model-provider costs are separate. PrivateGPT: Apache-2.0 self-hosted software; users supply inference, models, compute, and storage.

Can I self-host or integrate Khoj vs PrivateGPT?

Khoj and PrivateGPT are open source. Khoj and PrivateGPT can run on your own servers. Khoj and PrivateGPT 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 PrivateGPT cost?

The open-source PrivateGPT application costs $0 under the Apache License 2.0. That does not include computers, storage, model weights, inference servers, embeddings, monitoring, or operations. Remote model and search providers can add their own usage fees. Zylon is a separate commercial platform, and its pricing is custom rather than publicly listed.

Does PrivateGPT have a free plan?

Yes. The single free software option is the self-hosted open-source repository, priced at $0. It provides the application API and workbench, while the operator supplies a compatible inference server, models, compute, storage, and integrations. There is no documented hosted PrivateGPT subscription with bundled inference in the published pricing information.

Related comparisons

Sources