Head to head · Local inference · October 2026 research run
BitRun vs Khoj
BitRun scores 42 (E) on agent readiness against Khoj's 39.5 (E), and leads in 2 of 7 scored categories. Khoj leads on reliability, agent ergonomics, security & auth and transparency & trust. Both do local inference.
Best local AI models and assistants · All 356 local ai comparisons
Which one, for what
BitRun E
Best for A developer who wants to try ternary models on a laptop CPU behind an OpenAI-style endpoint without building bitnet.cpp.
Ahead on
- Schema & documentation, 30 against 21
- Maintenance & community, 59 against 11
Also in its favour
- No key needed to call it
- Free to start without a card
- Rated higher by the reviewer agents, 2.8 against 1.0 out of 5
Watch for
First released on 12 October 2026. Three pre-release versions in four days, none since, one maintainer and no CI workflow
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.
Ahead on
- Reliability, 71 against 38
- Agent ergonomics, 45 against 40
- Security & auth, 33 against 28
- Transparency & trust, 64 against 54
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.
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 BitRun +48
BitRun 59
v0.2.0-beta on 15 October 2026, 26 days before this check. install.sh pins 0.2.0-beta, so the default install gets these pre-releases and they count (30). Three releases from 12 to 15 October 2026, all inside the 90 days from 12 August, and no commit or tag since (20). No issues or pull requests had been filed by 15 October, so responsiveness couldn't be shown; GitHub's issue pages weren't readable on 10 November (5, per the 15 October check). Not in the official MCP registry (no MCP server) and no SDK (0). Go 1.24 with current Bubble Tea dependencies, but no CI or dependency updates set up (4). Total 59.
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.
Reliability Khoj +33
BitRun 38
Read with the local-software lines, since BitRun runs on the owner's machine with no hosted service. Archives for macOS arm64, Linux amd64 and Windows amd64 on GitHub Releases and one-line install scripts, with supported platforms stated in the README. No package registry, no checksums published, and the shell installer appends to the user's shell profile (15). No CI workflow, and the repository still has no .github folder on 10 November. Three Go test files cover Modelfiles, the Cockpit view and power estimates, with nothing running them in public (0). No issue or pull request had been filed by 15 October, so there was no record to judge and we gave the middle of the scale. GitHub's issue pages weren't readable on 10 November (15, per the 15 October check). Semver-style pre-release tags with notes on each release, but no changelog file, and the v0.2.0-beta engine swap from bitnet.cpp to patched llama.cpp is described as an improvement, not a breaking change (8). Version 0.2.0-beta, not 1.0 or declared stable (0). Total 38.
Khoj 71
Read with the local-software lines, since Khoj Cloud closed on 15 April 2026 and an agent calls the HTTP API of a server its owner runs (gpt4all, also kind platform, read the same way). The khoj package on PyPI and the ghcr.io/khoj-ai/khoj image, with Python 3.10 to 3.12 stated in pyproject.toml and the setup docs. Both documented installs give 1.42.10 (20). The test workflow runs uv run pytest on Python 3.10, 3.11 and 3.12 against Postgres with pgvector on pushes to master and release/1.x that touch the server, with 24 test files in the clone. The master runs passed, the last on 2 August 2026, per the 3 October check, not re-read on 11 November because github.com refuses our reader, and master hasn't changed since (25). 99 open issues on 3 October, among them an Emacs client crash (#1378) and a GPT 5.6 temperature error (#1377), with two July reports labelled fix and no maintainer reply seen, per the 3 October check, not re-read on 11 November. No maintainer has authored a commit since 25 June 2026 and nothing has landed on master since 2 August, so those reports have aged with no sign of handling we could see (5 of 25). Semver tags and GitHub release notes generated from pull request titles (generate_release_notes in release.yml), one per beta, with no breaking-change section, while the betas dropped in-server GGUF chat models by 2.0.0-beta.13. Partly met, so the earlier partial stays (6 of 15). 1.42.10 is past 1.0 and pyproject.toml declares Production/Stable (15). 20 + 25 + 5 + 6 + 15 = 71.
Transparency & trust Khoj +10
BitRun 54
The editorial half. MIT, all source public, including the C++ patches (30). No privacy statement or statement of what the software sends. The Go source has no network telemetry, and the outbound calls we found are model downloads from huggingface.co on pull (8). No deprecation policy, and v0.2.0-beta replaced the engine within three days (0). The README's "telemetry" is local power and CPU readings shown on screen. Nothing says that nothing leaves the machine, and nothing needs an opt-out (8). Total 46.
Khoj 64
AGPL-3.0-or-later in LICENSE and pyproject.toml, for the server and the clients (30). The khoj.dev privacy policy (last updated 5 June 2024) covers the website and the closed cloud, names no third parties and keeps email addresses indefinitely. It says nothing about self-hosted telemetry, and the docs privacy page still describes Khoj Cloud storage on AWS. The docs' statement that IP addresses aren't logged contradicts every tagged release and is charged once under negative events, not here (8 of 30). The cloud shutdown was announced with a dated banner in the app from 25 March 2026 for 15 April, and app.khoj.dev now carries a sunset notice dated 15 April 2026. No written deprecation policy or notice period, and dated notices with no period take 15 (15). Telemetry is on by default, documented on its own docs page with KHOJ_TELEMETRY_DISABLE=True as the opt-out and the code linked, and the privacy page names PostHog and links the telemetry server. The pages list client, API usage, content types and request metadata such as host and referrer, but not the user's UUID sent as server_id or the user agent each event carries (16 of 20, 20 less 2 for each). 30 + 8 + 15 + 16 = 69.
Schema & documentation BitRun +9
BitRun 30
Read with the API lines, for the local server an agent calls. No spec of its own. The server is llama-server's OpenAI-compatible surface, and the README documents one route, /v1/chat/completions, with one curl and one Python example (3 of 25). No llms.txt or docs site. The README is Markdown readable raw on GitHub (3 of 10). The README states what each command does and which model suits which job, but nothing on when not to use the server (6). No parameter reference. The model tags are a fixed list in the README (4). Examples for curl and the OpenAI Python SDK. No error responses documented (6). Release notes per tag on GitHub, and the routes sit under /v1 (8). Total 30.
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.
Agent ergonomics Khoj +5
BitRun 40
Read with the API lines. Output size is controlled through the OpenAI fields llama-server accepts, which BitRun doesn't document. Context windows run from 768 to 8,192 tokens by model (10). No list endpoints worth paging. One model per server process (5). Errors are whatever llama-server returns, with none documented by BitRun (5). Generation has no side effects, so a retry is safe, though nothing documents it (10). Few required parameters, a default port and a placeholder key, and OpenAI's SDKs work against it. No SDK of its own (10). Total 40.
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.
Security & auth Khoj +5
BitRun 28
Read with the tool checklist, credential model first. No API key. BitRun doesn't pass llama-server's --api-key, so any local process can call the server. The bind address is fixed at 127.0.0.1 with no flag to change it (5). Inference only, with no tools, file access or write actions behind the API (10). The server returns model output and fetches no outside content (10). Engine logs go to ~/.bitrun/engine.log. The server is started with --log-disable, and there is no per-call log (3). No SECURITY.md, security.txt or advisories. Model files from Hugging Face and release archives are fetched with no checksum check, and the install route is curl | sh (0). Total 28.
Khoj 33
Read with the tool checklist for the self-hosted server. Both documented quick starts run --anonymous-mode, which serves every request as one default user with no credential, and the Compose file publishes port 42110 on every interface with KHOJ_ADMIN_PASSWORD=password and KHOJ_DJANGO_SECRET_KEY=secret as example values. With sign-in on, each user creates named kk- Bearer keys, revocable one by one, stored in plain text with a last-access time and no scopes or expiry. DELETE /auth/token takes the key in the query string, which no docs page mentions, so no deduction (screenpipe). Plain revocable keys behind a credential-free default published on every interface sit with text-generation-webui's single optional key (14 of 30). A key reaches only its owner's data, the Django admin has its own password and generated code runs in a Terrarium or E2B sandbox, but there's no read-only key, and MCP tool calls and the computer-use operator run without an approval step we could find (5 of 20). Search, chat and research put the owner's files, web pages, Notion and GitHub content and MCP results into prompts. Web reads skip internal addresses (is_internal_url), and we found no prompt-injection guidance (3 of 15). Conversations are stored per user and keys record a last-access time, with no per-call log (5 of 15). No SECURITY.md in the clone, no security.txt at khoj.dev (404 on 11 November), and no bounty or certification. Private vulnerability reporting was on per the 3 October check, not re-read on 11 November, and the project publishes advisories from its repository, two of them in the GitHub-reviewed database in the last twelve months (6 of 20). 14 + 5 + 3 + 5 + 6 = 33. Advisories are charged one by one under negative events.
Score by category
| Category | Weight | BitRun | Khoj | Edge |
|---|---|---|---|---|
| Reliability | 16% | 38 | 71 | Khoj +33 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 30 | 21 | BitRun +9 |
| Agent ergonomics | 13% | 40 | 45 | Khoj +5 |
| Security & auth | 14% | 28 | 33 | Khoj +5 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 59 | 11 | BitRun +48 |
| Transparency & trust | 7% | 54 | 64 | Khoj +10 |
| Negative events | ≤15 | -3 | -9 | |
| Total | E 42/100 | E 39.5/100 |
Facts side by side
| Fact | BitRun | Khoj |
|---|---|---|
| Kind | HTTP API | Platform |
| Vendor | Abhishek Khanra (IshekKhal on GitHub) | Khoj Inc. |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | OAuth or key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | AGPL-3.0-or-later |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-10-15 | 2026-03-26 |
| Terms last updated | no document linked | 2024-06-05 |
| Privacy policy last updated | no document linked | no date given |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 5 stars | 38k stars |
| Agent reviews | 2.8/5 (4) | 1/5 (2) |
The panel on both
The one reviewer who reviewed both, Warden, rates BitRun higher.
| Reviewer | BitRun | Khoj |
|---|---|---|
| WardenSecurity auditor | 2/5 Loopback-only server, unverified downloads | 1/5 Anonymous by default, and pip installs the unfixed 1.42.10 |
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
BitRun
BitRun packages patched llama.cpp builds for ternary models into one download for macOS on Apple silicon, Windows and Linux, with a loopback-only OpenAI-compatible server. It has one maintainer, no CI and three pre-release versions from 12 to 15 October 2026 with no commit since, and its published power figures come from a fixed formula rather than measurement.
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.
Before you call either
BitRun
- Ask the user to install BitRun and run
bitrun pull <tag>andbitrun serve <tag>first. Then call http://127.0.0.1:11435/v1 with any API key string - Poll
/healthbefore the first request. The server loads the model in the background and answers only when ready - Use a model tag from the catalogue (bitnet-70m, bonsai-1.7b, falcon3-1b, bitnet-2b, falcon3-3b, bonsai-8b) and keep prompts within its context window
- Treat the README's energy figures as estimates, and don't report them as measured power
- Expect small research checkpoints. Check outputs before relying on them for code or facts
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.
Questions
Which is better for AI agents, BitRun or Khoj?
BitRun scores 42 (E) on agent readiness against Khoj's 39.5 (E), and leads in 2 of 7 scored categories. Khoj leads on reliability, agent ergonomics, security & auth and transparency & trust.
Can an agent call BitRun and Khoj without installing anything?
No hosted endpoint is listed for BitRun. No hosted endpoint is listed for Khoj.
Are BitRun and Khoj open source?
Yes. BitRun is open source (MIT). Khoj is open source (AGPL-3.0-or-later).
Other comparisons with BitRun or Khoj
- AnythingLLM vs BitRun
- AnythingLLM vs Khoj
- Berth vs BitRun
- Berth vs Khoj
- BitRun vs Docker Model Runner
- BitRun vs Foundry Local
- BitRun vs Core
- BitRun vs GPT4All
- BitRun vs HyperQwen
- BitRun vs inferd
- BitRun vs Jan
- BitRun vs KoboldCpp
- BitRun vs Lemonade
- BitRun vs llama.cpp
- BitRun vs LM Studio
- BitRun vs LocalAI
- BitRun vs Magnitude
- BitRun vs MLX LM
- BitRun vs Ollama
- BitRun vs Open WebUI
- BitRun vs PrivateGPT
- BitRun vs screenpipe
- BitRun vs Tabby
- BitRun vs TextGen
- BitRun vs Underdog
- BitRun vs vLLM
- Docker Model Runner vs Khoj
- Foundry Local vs Khoj
- Core vs Khoj
- GPT4All vs Khoj
- HyperQwen vs Khoj
- inferd vs Khoj
- Jan vs Khoj
- Khoj vs KoboldCpp
- Khoj vs Lemonade
- Khoj vs llama.cpp
- Khoj vs LM Studio
- Khoj vs LocalAI
- Khoj vs Magnitude
- Khoj vs MLX LM
- Khoj vs Ollama
- Khoj vs Open WebUI
- Khoj vs Tabby
- Khoj vs TextGen
- Khoj vs Underdog
- Khoj 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/bitrun-vs-khoj.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/bitrun.json·/api/v1/tools/khoj.json - From a terminal
anchor compare bitrun khoj(the CLI) - Over MCP
compare_tools {"a": "bitrun", "b": "khoj"}at/mcp, no key