AI TOOL DETAILS

Khoj

Search your documents and discuss retrieved context using local models.

Khoj

Free local edition · optional provider costs
Khoj product preview

What does it cost?

The listed option is free to use. Hosting or model usage may still cost money.

The documented self-hosted route supports local models through Ollama or other compatible runtimes. Your computer, model downloads, storage and electricity are separate costs. Optional remote models and hosted services can charge; this check covers local deployment and establishes no hosted allowance.

Provider pricing checked 25 Oct 2026.

Installation and setup

Set up your own server · Instructions checked 2026-10-17

  1. Follow the official self-hosted Docker setup. Replace the example administrator password and Django secret before starting, and keep access on your own machine or trusted network.
  2. Use the documented Ollama integration with a downloaded local chat model such as Qwen3. Set the local OpenAI-compatible base URL rather than a paid endpoint.
  3. Retain local embedding/search models and add a small non-sensitive source. Start the documented Compose services and select the local chat model in settings.
  4. Ask a question about the source and inspect the retrieved text. Web search uses the bundled SearXNG service and needs internet access; it is separate from offline document search.

Self-hosting needs Docker/Compose, database, local embedding/reranking models and chat-model RAM/VRAM. Context and file collection size increase requirements. Paid Khoj Cloud and optional external providers are separate. Search engines can rate-limit or block requests. Local answers can be wrong; validate sources. No cloud allowance or unlimited hosted compute is included.

Self-hosting & quickstart specs

License
AGPL-3.0
Deployment
Self-hosted deployment; follow provider instructions
Free edition / costs
Free local edition · optional provider costs. The documented self-hosted route supports local models through Ollama or other compatible runtimes. Your computer, model downloads, storage and electricity are separate costs. Optional remote models and hosted services can charge; this check covers local deployment and establishes no hosted allowance. Pricing evidence.
Devices / hardware
Self-hosting needs Docker/Compose, database, local embedding/reranking models and chat-model RAM/VRAM. Context and file collection size increase requirements. Paid Khoj Cloud and optional external providers are separate. Search engines can rate-limit or block requests. Local answers can be wrong; validate sources. No cloud allowance or unlimited hosted compute is included.

No one-line command has been verified for Khoj; follow its official installation instructions instead of guessing a Docker image or installer.

Khoj provider setup documentation

What can you use it for?

Source code and self-hosting

Read the repository for the license, installation steps, and operating costs.

Source repositoryView the full software profile

Learn how to use this type of tool

Read a practical guide before choosing a plan or setting up a workflow.

Use AI for research without losing the original sources

Does this tool help you?

This preference stays on your device. It does not change public rankings.

Optional site analytics

Allow Google Analytics to measure page visits and basic device information using cookies? Your searches and form entries are excluded. You can change this choice at any time. Privacy details.