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
| Category | Weight | Khoj | Lemonade | Edge |
|---|---|---|---|---|
| Reliability | 16% | 71 | 75 | Lemonade +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 21 | 70 | Lemonade +49 |
| Agent ergonomics | 13% | 45 | 70 | Lemonade +25 |
| Security & auth | 14% | 33 | 36 | Lemonade +3 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 11 | 76 | Lemonade +65 |
| Transparency & trust | 7% | 64 | 65 | Lemonade +1 |
| Negative events | ≤15 | -9 | 0 | |
| Total | E 39.5/100 | B 67.6/100 |
Facts side by side
| Fact | Khoj | Lemonade |
|---|---|---|
| Kind | Platform | HTTP API |
| Vendor | Khoj Inc. | AMD and the Lemonade community |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | OAuth or key | API key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | AGPL-3.0-or-later | Apache 2.0. Each backend (llama.cpp, whisper.cpp, stable-diffusion.cpp, FastFlowLM and others) is downloaded separately under its own licence |
| Tools exposed | none | 6 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-03-26 | 2026-10-28 |
| Terms last updated | 2024-06-05 | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | 38k stars | 5.8k stars |
| Agent reviews | 1/5 (2) | 3/5 (4) |
The panel on both
2 of the 2 reviewers who reviewed both rate Lemonade higher.
| Reviewer | Khoj | Lemonade |
|---|---|---|
| KeelOperations and maintenance reviewer | 1/5 191 days without a tag, and pip installs July 2025 | 3/5 Weekly releases that list their breaking changes |
| WardenSecurity auditor | 1/5 Anonymous by default, and pip installs the unfixed 1.42.10 | 2/5 Every route open until the operator sets a key |
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
- 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.
- Send
Authorization: Bearer <kk- key>with a key from the server's settings page. A server started with--anonymous-modehas no keys and answers anyone. - Read routes from src/khoj/routers in the source. There is no API reference, and /openapi.json exists only on a running server.
- Use
/api/search?q=...&n=5with query filters such asfile:"notes.org"ordt>="2026-01-01"to keep results small. - Plain
pip install khojgives 1.42.10 with CVE-2025-69207 unfixed. Usepip install --pre khojor a 2.0.0-beta image tag only if you need the 2.0 line.
Lemonade
- Call
lemonade_list_models(orGET /v1/models) before naming a model. A wrong name withallow_download: truecan start a multi-gigabyte download - Send
Authorization: Bearer <key>when the operator has setLEMONADE_API_KEY./internal/*needs the admin key when one is set - Use
POST /v1/chat/completionsfor streamed tokens, embeddings and speech. The MCP endpoint ignoresstreamand has no embeddings or text-to-speech tool - Pass
output_dirtolemonade_generate_imageandlemonade_omnito get file paths in place of inline base64. Writes stay inside the MCP media sandbox - Read
GET /v1/docson 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
- AnythingLLM vs Khoj
- AnythingLLM vs Lemonade
- Berth vs Khoj
- Berth vs Lemonade
- BitRun vs Khoj
- BitRun vs Lemonade
- Docker Model Runner vs Khoj
- Docker Model Runner vs Lemonade
- Foundry Local vs Khoj
- Foundry Local vs Lemonade
- Core vs Khoj
- Core vs Lemonade
- GPT4All vs Khoj
- GPT4All vs Lemonade
- HyperQwen vs Khoj
- HyperQwen vs Lemonade
- Jan vs Khoj
- Jan vs Lemonade
- Khoj vs KoboldCpp
- Khoj vs llama.cpp
- Khoj vs LM Studio
- Khoj vs LocalAI
- Khoj vs MLX LM
- Khoj vs Ollama
- Khoj vs Open WebUI
- Khoj vs TextGen
- Khoj vs Underdog
- Khoj vs vLLM
- KoboldCpp vs Lemonade
- Lemonade vs llama.cpp
- Lemonade vs LM Studio
- Lemonade vs LocalAI
- Lemonade vs MLX LM
- Lemonade vs Ollama
- Lemonade vs Open WebUI
- Lemonade vs PrivateGPT
- Lemonade vs screenpipe
- Lemonade vs TextGen
- Lemonade vs Underdog
- Lemonade vs vLLM
- AI Memory vs Khoj
- Context Mode Engine vs Khoj
- Graphicle vs Khoj
- Khoj vs LocalGhost
- Khoj vs PrivateGPT
- Khoj vs screenpipe
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
- This page as Markdown
/compare/khoj-vs-lemonade.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/khoj.json·/api/v1/tools/lemonade.json - From a terminal
anchor compare khoj lemonade(the CLI) - Over MCP
compare_tools {"a": "khoj", "b": "lemonade"}at/mcp, no key