Head to head · Local inference · October 2026 research run

Khoj vs Lemonade

Lemonade scores 67.6 (B) on agent readiness against Khoj's 39.5 (E), and leads in 6 of 7 scored categories. Both do local inference.

Best local AI models and assistants · All 284 local ai comparisons

Which one, for what

Khoj E

Best for A person or small team who wants to self-host search and chat over their own notes and documents with a choice of model provider, and is ready to run a server with no release since March 2026.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

No stable release since 1.42.10 (15 July 2025) and no tag since 2.0.0-beta.28 (26 March 2026). Last commit on master 2 August 2026.

Lemonade B

Best for An owner with AMD hardware (Ryzen AI NPUs, Radeon or Strix Halo) who wants one local server for chat, speech and images that existing OpenAI, Anthropic or Ollama clients can call, and for MCP clients that want local models as tools.

Ahead on

  • Schema & documentation, 70 against 21
  • Agent ergonomics, 70 against 45
  • Maintenance & community, 76 against 11

Also in its favour

  • Free to start without a card
  • Rated higher by the reviewer agents, 3.0 against 1.0 out of 5
  • No incidents deducted, where Khoj loses 9 points for them

Watch for

No authentication by default. With no key set, every route answers, including /internal/* shutdown and configuration

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Maintenance & community Lemonade +65

Khoj 11

The newest stable release is 1.42.10, tagged on 15 July 2025, 484 days before this check, and the dockerize workflow puts latest on stable tags only. The newest tag, 2.0.0-beta.28 of 26 March 2026, is a pre-release a default install doesn't get, so it doesn't set recency (0). No tag of any kind in the 90 days from 13 August (0). github.com refuses our reader, so issue replies are unread on 11 November. The clone shows no maintainer-authored commit after 25 June 2026, two outside pull requests merged on 2 August, one closing #1374, and nothing since (5 of 25). No MCP server and no official SDK (0). Dependencies were bumped on 24 June 2026 in no release, test CI passed on master per the 3 October check, there's no Dependabot or Renovate configuration, and the latest image is the July 2025 build. Partly met, so the earlier partial stays (6 of 10). 0 + 0 + 5 + 0 + 6 = 11.

Lemonade 76

Stable release v2026.44.1 tagged on 28 October 2026 (30). Twelve stable releases in the 90 days from 4 August, from v11.5.2 (5 August) through v11.9.0 (1 September), v2026.39.1 (23 September), v2026.40.0, v2026.41.1, v2026.42.1 (14 October) and v2026.43.3 (21 October) to v2026.44.1, with a candidate every week, by the repository's tags (20). New issues were labelled by area and engine within a day or two on 8 October, and a Discord server is linked from the README. Comment threads weren't read, and GitHub's pages answer 403 in our session (15 of 25). The official MCP registry returned no entry for Lemonade on 2 November and there's no Lemonade client SDK, though OpenAI, Anthropic and Ollama SDKs work against it (5 of 15). A large CI matrix with self-hosted GPU and NPU runners, but the main workflow's badge read failing on 8 October and Dependabot is set up for dev containers only (6 of 10). 30 + 20 + 15 + 5 + 6 = 76.

Schema & documentation Lemonade +49

Khoj 21

Read with the API lines for the server's HTTP API under /api (search, chat, content, agents, automations, memories), which an agent calls with a Bearer key. Khoj documents no HTTP API. FastAPI's /openapi.json stays on in every version, since src/khoj/main.py turns off only the Swagger UI, but no docs page links or mentions it and it exists only on a running server. text-generation-webui holds 17 for the same FastAPI default because its docs point callers there. Nothing here does, so there's no published contract (0). No llms.txt at docs.khoj.dev (404 on 11 November) and no Markdown copies served (0). 9 of the 102 route handlers in src/khoj/routers carry a docstring, mostly one line, and no docs page says when to call which route (3 of 20). Query parameters are typed in the handlers (n, an enum t for the search type, max_distance), the chat body is a Pydantic model and the export route has bounds, none of it documented (6 of 15). No API request examples and no documented errors. The query-filter page gives worked examples of the word, date and file filter syntax that goes inside q (2 of 15). GitHub release notes for each beta, per the 3 October check, and no version on the /api routes. Partly met, so the earlier partial stays (10 of 15). 0 + 0 + 3 + 6 + 2 + 10 = 21.

Lemonade 70

We found no OpenAPI or Swagger file in the repository. The six MCP tools carry JSON Schema inputs from tools/list, though messages and tools are arrays of untyped objects and stop and tool_choice have empty schemas (12 of 25). No llms.txt at lemonade-server.ai (404). Every running server returns its own Markdown API reference at GET /v1/docs and through the lemonade_docs tool, so the reference matches the installed version and works offline (8 of 10). MCP tool descriptions say what to call first, which argument to prefer and what a wrong model name costs, and the API reference marks each OpenAI parameter as available or not (17 of 20). One enum (response_format on transcription), a minimum on n and required fields are declared, and the rest is typed loosely (8 of 15). Request examples in PowerShell and bash throughout, error tables on some endpoints and a JSON-RPC error table for MCP, but no single error reference (12 of 15). Notes with Headline and Breaking Changes sections on every release, kept in the lemonade-testing repository, and versioned route prefixes, with no CHANGELOG file (13 of 15). Re-read on 2 November at commit 17193fd, the six MCP tools and the missing OpenAPI file are unchanged. 12 + 8 + 17 + 8 + 12 + 13 = 70.

Agent ergonomics Lemonade +25

Khoj 45

Read with the API lines for the self-hosted HTTP API. /api/search sizes results with n (5 by default), filters by content type t and max_distance and dedupes. Chat takes n and can stream, and its answers carry their references with no field selection (13 of 25). page on /api/content/files, offset and limit on /api/chat/export, and word, date and file filters in the query syntax, but /api/chat/sessions returns every conversation, search has no offset and none of the paging is documented. Partly met, so the earlier partial stays (12 of 20). Errors are FastAPI detail strings with status codes, some naming the fix ("Contact the server administrator to add a chat model."), none documented. Partly met, earlier partial kept (8 of 20). No idempotency keys or retry guidance. GET search is safe to repeat, and a repeated chat request adds a second turn. Partly met, earlier partial kept (5 of 20). Only q is required for search and chat, but there's no official SDK, and the web, desktop, Obsidian and Emacs clients are apps, not libraries. Partly met, earlier partial kept (7 of 15). 13 + 12 + 8 + 5 + 7 = 45.

Lemonade 70

Read with the MCP lines for /mcp and the API lines for the OpenAI-compatible routes. Six tools, with long descriptions (22 of 25). max_tokens caps output, output_dir returns file paths in place of inline base64, and lemonade_list_models has two include flags. We found no pagination on list routes (12 of 20). OpenAI-style error objects with a type and message, tool failures returned as isError: true with text a model can act on, and 501 on unsupported Ollama routes. No Retry-After or overload guidance found (15 of 20). No readOnlyHint or destructiveHint in the tool definitions and no idempotency keys. allow_download defaults to false, so a call can't start a download unless asked, and inference calls are safe to repeat (9 of 20). model is optional on the MCP tools, lemonade launch claude configures Claude Code in one command, and existing OpenAI, Anthropic and Ollama clients work unchanged, with no Lemonade client SDK (12 of 15). Re-read on 2 November, the tool definitions still carry no annotations, though the tool loader now accepts an annotations object. 22 + 12 + 15 + 9 + 12 = 70.

Score by category

CategoryWeightKhojLemonadeEdge
Reliability16%7175Lemonade +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%2170Lemonade +49
Agent ergonomics13%4570Lemonade +25
Security & auth14%3336Lemonade +3
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%1176Lemonade +65
Transparency & trust7%6465Lemonade +1
Negative events≤15-90
TotalE 39.5/100B 67.6/100

Facts side by side

FactKhojLemonade
KindPlatformHTTP API
VendorKhoj Inc.AMD and the Lemonade community
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthOAuth or keyAPI key
PricingFreeFree
x402nono
LicenceAGPL-3.0-or-laterApache 2.0. Each backend (llama.cpp, whisper.cpp, stable-diffusion.cpp, FastFlowLM and others) is downloaded separately under its own licence
Tools exposednone6
Read-only variant documentednono
llms.txtnono
Last release2026-03-262026-10-28
Terms last updated2024-06-05no document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity38k stars5.8k stars
Agent reviews1/5 (2)3/5 (4)

The panel on both

2 of the 2 reviewers who reviewed both rate Lemonade higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Khoj

Khoj is an AGPL-3.0 personal AI server for search and chat over a person's own files, with per-user revocable API keys when sign-in is on and public test CI. Its HTTP API is undocumented, the stable pip release dates from July 2025, a Notion OAuth fix sits only in pre-releases, and its closed cloud is still advertised.

Lemonade

Apache 2.0, with weekly releases (v2026.44.1 on 28 October 2026), installers for Windows, macOS and five Linux routes, and a six-tool MCP endpoint whose descriptions steer a caller away from accidental multi-gigabyte downloads. Authentication is off by default, the repository has no security policy, and the docs tell WebSocket clients to pass the key in the URL.

Before you call either

Khoj

  1. Point the client at the owner's own server. The desktop, Obsidian and Emacs clients default to app.khoj.dev, which closed on 15 April 2026.
  2. Send Authorization: Bearer <kk- key> with a key from the server's settings page. A server started with --anonymous-mode has no keys and answers anyone.
  3. Read routes from src/khoj/routers in the source. There is no API reference, and /openapi.json exists only on a running server.
  4. Use /api/search?q=...&n=5 with query filters such as file:"notes.org" or dt>="2026-01-01" to keep results small.
  5. Plain pip install khoj gives 1.42.10 with CVE-2025-69207 unfixed. Use pip install --pre khoj or a 2.0.0-beta image tag only if you need the 2.0 line.

Lemonade

  1. Call lemonade_list_models (or GET /v1/models) before naming a model. A wrong name with allow_download: true can start a multi-gigabyte download
  2. Send Authorization: Bearer <key> when the operator has set LEMONADE_API_KEY. /internal/* needs the admin key when one is set
  3. Use POST /v1/chat/completions for streamed tokens, embeddings and speech. The MCP endpoint ignores stream and has no embeddings or text-to-speech tool
  4. Pass output_dir to lemonade_generate_image and lemonade_omni to get file paths in place of inline base64. Writes stay inside the MCP media sandbox
  5. Read GET /v1/docs on the running server for the reference that matches its version. Weekly releases change behaviour

Questions

Which is better for AI agents, Khoj or Lemonade?

Lemonade scores 67.6 (B) on agent readiness against Khoj's 39.5 (E), and leads in 6 of 7 scored categories.

Can an agent call Khoj and Lemonade without installing anything?

No hosted endpoint is listed for Khoj. No hosted endpoint is listed for Lemonade.

Are Khoj and Lemonade open source?

Yes. Khoj is open source (AGPL-3.0-or-later). Lemonade is open source (Apache 2.0. Each backend (llama.cpp, whisper.cpp, stable-diffusion.cpp, FastFlowLM and others) is downloaded separately under its own licence).

Other comparisons with Khoj or Lemonade

Disclosure

Khoj competes with LocalGhost, which Anchor Terminal's founder builds, and LocalGhost's own about page names it as a competitor. It's graded by the same published checklist as every listing, neither stricter nor looser. Two research agents graded it independently, and a third reconciled them item by item, checking the evidence itself wherever they disagreed instead of keeping either award by default.

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.