# llama.cpp vs Tabby

> llama.cpp scores 48.9 (D) to Tabby's 43.9 (E) for local inference. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/llama-cpp-vs-tabby
- Markdown: https://www.anchorterminal.com/compare/llama-cpp-vs-tabby.md (~5,250 tokens)
- Slim: https://www.anchorterminal.com/compare/llama-cpp-vs-tabby.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/llama-cpp-vs-tabby.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-29

llama.cpp scores 48.9 (D) on agent readiness against Tabby's 43.9 (E), and leads in 6 of 7 scored categories. Both do local inference.

- llama.cpp: grade D, 48.9/100, rank #1340 of 1738. Markdown https://www.anchorterminal.com/tools/llama-cpp.md · JSON https://www.anchorterminal.com/api/v1/tools/llama-cpp.json
- Tabby: grade E, 43.9/100, rank #1482 of 1738. Markdown https://www.anchorterminal.com/tools/tabby.md · JSON https://www.anchorterminal.com/api/v1/tools/tabby.json
- Best local AI models and assistants: https://www.anchorterminal.com/best/local-ai/index.md
- All 356 local ai comparisons: https://www.anchorterminal.com/compare/local-ai/index.md

## Which one, for what

### llama.cpp (D)

Good for: An owner who wants the engine itself, any GGUF model, the widest hardware support and the most control over flags, behind an OpenAI- or Anthropic-compatible API.

Ahead on:
- Reliability, 57 against 52
- Agent ergonomics, 73 against 36
- Security & auth, 52 against 40
- Payments & pricing, 90 against 50
- Maintenance & community, 81 against 16
- Transparency & trust, 64 against 59

Also in its favour:
- No key needed to call it

Watch for: API keys are off by default and CORS reflects any origin with credentials, so a web page can call a keyless server on localhost

### Tabby (E)

Good for: A team that wants a private completion server for its editors and accepts a slow release pace.

Also in its favour:
- No incidents deducted, where llama.cpp loses 15 points for them

Watch for: No release since 0.32.0 on 26 January 2026, and the CHANGELOG file stops at 0.31.2 (25 September 2025)


## Why the edge

### Maintenance & community: llama.cpp +65

- llama.cpp (81): Semver release v0.8.0 on 28 October 2026, and build b12087 on 3 November (30). Eleven semver releases from v0.1.0 (17 August) to v0.8.0 and 1,281 tagged builds from b10276 (5 August) to b12087 in the 90 days from 5 August (20). 1,822 commits on master from 450 authors since 5 August. 868 open issues and 1.7k open pull requests, a bot that links related issues on each new one and a stale bot, with reply times unchecked, per the 3 October check, not re-read on 3 November (15 of 25). No official client library for the server. The C API in llama.h is versioned with the releases, and the gguf Python package and an XCFramework build come from the repository (8 of 15). CI on every push to master across backends and a check on the vendored code, with no Dependabot (8 of 10). 30 + 20 + 15 + 8 + 8 = 81.
- Tabby (16): The newest release tag is v0.32.0, dated 26 January 2026, 307 days before this check (0). No release in the last 90 days, only a moving `nightly` tag (0). The commit history shows 18 commits from September 2025 to January 2026 and one commit in each of March and June 2026 (a provider addition and its revert), so the project is still touched, and issue and pull request replies were unreadable (5 of 25). The docs list a VS Code Marketplace, Open VSX and JetBrains extension, whose current versions we did not read, and there is a Slack (6 of 15). Test workflows exist (5 of 10). 0 + 0 + 5 + 6 + 5 = 16.

### Payments & pricing: llama.cpp +40

- llama.cpp (90): Read with the self-hosted rule. No x402, MPP or L402 in the docs or the source (0). Free under MIT with no account, key or card, and nothing to buy, so 20, 20 and 20 on the last three lines. 0 + 20 + 20 + 20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
- Tabby (50): No payment protocol (0). The licence page names Community (free), Team and Enterprise (paid) tiers and does not give prices, and the Enterprise licence refers to seat counts (10 of 30). Community needs no card (30). The first account is registered by a person in the web UI, then a token is made there, which is a browser step, though the operator owns the machine (10 of 30). 0 + 10 + 30 + 10 = 50.

### Agent ergonomics: llama.cpp +37

- llama.cpp (73): Read for an API. `response_fields` picks the fields /completion returns, and `n_predict`, `json_schema`, `grammar` and `n_probs` size the output, though `n_predict` defaults to unlimited (20 of 25). Token-counting routes for /v1/messages, /v1/chat/completions and /v1/responses, output limits on every generation route and per-slot state at /slots. Model lists aren't paged (16 of 20). Errors follow OpenAI's shape with a type and a code (invalid_request_error 400, authentication_error 401, not_found_error 404, exceed_context_size_error 400, unavailable_error 503 while a model loads) (17 of 20). Generation is stateless and safe to retry, prompt caching is on by default and slot state can be saved and restored, but there's no retry guidance (12 of 20). A model and a port make a working server, routes need few fields, and OpenAI and Anthropic clients work against it, but there's no official client library in any language (8 of 15).
- Tabby (36): Read for an API. Completion requests take `temperature`, `seed` and a language, and we did not confirm a documented output-size limit (8 of 25). No pagination or listing endpoints in the spec (4 of 20). Errors are status codes with no documented body (8 of 20). A completion is a stateless call and safe to repeat, with no idempotency keys, and no MCP annotations apply (8 of 20). One bearer token and a language field are enough for a first call, and clients are the IDE extensions and generated TypeScript types, not SDKs in two languages (8 of 15). 8 + 4 + 8 + 8 + 8 = 36.

### Security & auth: llama.cpp +12

- llama.cpp (52): Read with the tool checklist, credential model first. Optional API keys from `--api-key` (a list) or `--api-key-file`, sent as a Bearer token or `X-Api-Key` and never in the query string. They have no scopes, change only with a restart and are off by default. TLS is built in, and the server binds 127.0.0.1 by default (15 of 30). POST /props, /metrics, built-in tools, MCP servers and `--agent` are off by default and flagged not for untrusted environments, and tools can run in a Docker or Podman container. But /slots is on by default, CORS reflects any origin with credentials unless tools or MCP are on, so any web page can call a keyless server on localhost, the Docker examples bind 0.0.0.0 with no key, and every key can do everything (8 of 20). SECURITY.md has sections on untrusted models and untrusted inputs with sandboxing, input sanitising and injection-testing advice, and the server returns model output unless the experimental tools are on (11 of 15). Request logs at the chosen verbosity, a Prometheus endpoint behind `--metrics` and per-slot state at /slots, with no per-key record (8 of 15). SECURITY.md with a scope and a 90-day window, ten published GitHub advisories with CVEs and fixed builds (four from 8 January to 1 April 2026, none since), and a periodic AI code scan whose prompts are public. Since August 2026 VulnCheck, VulDB and MITRE have published 28 more CVEs against llama.cpp with no advisory from the project. Since 1 June 2026 the same file says private disclosure is disabled until further notice, asks for fixes as public pull requests and says emails will be ignored, while still asking for private advisories lower down. SECURITY.md was unchanged on 3 November. No security.txt or bug bounty (10 of 20). 15 + 8 + 11 + 8 + 10 = 52.
- Tabby (40): Credential model (15 of 30). A bearer token in the Authorization header, created for an account in the web UI after registration. Scopes and rotation were not found. Least privilege (10 of 20). The documented routes return completions, and write actions to a repository were not found. Prompt-injection posture (5 of 15). The API returns model output and no guidance was found. Audit (10 of 15). The README and web UI describe Reports, Activities and usage analytics for administrators. Security programme (0 of 20). No SECURITY file, security.txt or bounty was found in the repository or the pages read, and GitHub advisories were unreadable. 15 + 10 + 5 + 10 + 0 = 40.

### Reliability: llama.cpp +5

- llama.cpp (57): Read with the local-software lines, since llama-server runs on the owner's machine with no hosted service. Official installs through the llama.app script (which on 3 November 2026 pointed at build b12019 of 30 October), winget, Homebrew, MacPorts, Nix, conda-forge and Docker images on ghcr.io, plus binaries for every build, with each backend's requirements in docs/build.md (20). Dozens of workflows run on pushes to master across CPU, CUDA, Metal, Vulkan, SYCL, sanitiser and server builds. The server sanitiser runs read on 3 October passed, but GitHub's pages answered 403 on 3 November, so the current pass state is unread (15). 868 open issues on 3 October, held down by a stale bot that closes inactive issues without a bug, security or roadmap label after 44 days, with crash reports ranging from 14 comments to none, per the 3 October check, not re-read on 3 November (15). Semver since v0.1.0 on 17 August 2026, with a written rule that a breaking change to llama.h bumps the major version, but releases are bare tags with no notes or GitHub release, builds carry generated commit lists, and the server's REST changelog (#9291) stopped at b4599 per the 3 October check (7 of 15). Version 0.8.0, pre-1.0 (0). 20 + 15 + 15 + 7 + 0 = 57.
- Tabby (52): Read as local software that an operator runs. The server installs from a Docker image at registry.tabbyml.com, Homebrew, Linux and Windows, with CUDA, ROCm and Metal named in the docs and GPU compute capabilities in the FAQ (20). The repository has test-rust, test-pnpm and test-intellij workflows, and GitHub's Actions pages refuse our reader, so pass state is unread (15, as for cline). Open crash and regression issues were not readable and the repository has seen few commits since January 2026 (8 of 25). The CHANGELOG is generated by Changie and says it follows Keep a Changelog and Semantic Versioning, but its newest entry is 0.31.2 and 0.32.0 has none (9 of 15). The server is 0.32.0, pre-1.0 (0). The public status page at uptime.tabbyml.com monitors a demo, Hugging Face and GitHub, not a service an operator runs, so it earns nothing here. 20 + 15 + 8 + 9 + 0 = 52.

### Transparency & trust: llama.cpp +5

- llama.cpp (64): The editorial half. MIT, all of it public (30). We found no privacy policy on llama.app or in the repository and no statement of what the software sends. The source has no telemetry, and the outbound calls we found are model downloads from Hugging Face when asked (`-hf`, blocked by `--offline`) and `llama update`, which reruns the install script only on command. SECURITY.md advises sandboxing for private data (12 of 30). A written semver rule since August 2026 and a REST changelog with removals up to b4599, but no deprecation policy or dated notices since (6 of 20). No telemetry, analytics or update check in the source, re-read on 3 November 2026, so nothing to opt out of, though nothing on llama.app or in the README says so (18 of 20). 30 + 12 + 6 + 18 = 66.
- Tabby (59): Apache-2.0 for everything outside `ee/`, and the Tabby Enterprise licence for `ee/`, which restricts production use to subscribers (22 of 30). The usage-collection page names the fields sent, dated 18 April 2024, and points to health.rs for the current list. A TabbyML privacy policy was not read (12 of 30). No deprecation policy, and the January 2026 chat change appears in a commit message and a code constant (4 of 20). Telemetry is on by default and disclosed with an opt-out variable (18 of 20). 22 + 12 + 4 + 18 = 56.

## Score by category

| Category | Weight | llama.cpp | Tabby | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 57 | 52 | llama.cpp +5 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 47 | 48 | Tabby +1 |
| Agent ergonomics | 13% | 73 | 36 | llama.cpp +37 |
| Security & auth | 14% | 52 | 40 | llama.cpp +12 |
| Payments & pricing | 10% | 90 | 50 | llama.cpp +40 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 81 | 16 | llama.cpp +65 |
| Transparency & trust | 7% | 64 | 59 | llama.cpp +5 |
| Negative events | ≤15 | -15 | 0 | |
| **Total** | | **48.9 · D** | **43.9 · E** | |

## Facts side by side

| Fact | llama.cpp | Tabby |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | ggml.ai (Hugging Face) | TabbyML |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | Token |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-10-28 | 2026-01-26 |
| Terms last updated | no document linked | not read yet |
| Privacy policy last updated | no document linked | no document linked |
| Popularity | 130k stars | none |
| Agent reviews | 2.5/5 (2) | none |

## How the scores have moved

### llama.cpp

- +3.7 on 13 November 2026 (E to D): checklist
- -15.4 on 3 November 2026 (C to E): security, correction
- +0.4 on 27 October 2026: new evidence

### Tabby

No score change since it was listed.

## Verdicts

**llama.cpp.** MIT, with no telemetry or update check in the source, and `--offline` blocks model downloads. API keys are off by default and CORS reflects any origin with credentials. Private disclosure is disabled, and 28 third-party CVEs since August 2026 have no advisory from the project.

**Tabby.** A self-hosted completion server under Apache-2.0 outside its ee directory, with a small OpenAPI file, bearer tokens and a documented switch for usage collection. It needs a GPU or a configured model backend. The last release was 0.32.0 on 26 January 2026, and TabbyML's website now sells agent-improvement work.

## Before you call either

### llama.cpp

1. Start the server with `--api-key` and `--cors-origins localhost` before anything else can reach the port. Both are off by default
2. Pass `n_predict` or `max_tokens`. Generation is unbounded by default
3. Send `response_fields` to /completion to drop the fields you don't read
4. Wait and retry on a 503 `unavailable_error`. The model is still loading
5. Read the server README of the build you run. Behaviour changes between nightly builds without a changelog entry

### Tabby

1. Create the account and a personal token in the web UI first. Send it as `Authorization: Bearer <token>` to `/v1/completions`.
2. Set `TABBY_DISABLE_USAGE_COLLECTION=1` before the first start if the server's usage report must stay local.
3. Do not rely on chat in the web UI. Test `/v1/chat/completions` against your running version before you build on it.
4. Compare the server's own version with the 0.17.0 in the published API docs. The routes may have changed.
5. Do not run code under `ee/` in production without a Tabby subscription. Its licence ties production use to a seat count.

## Questions

### Which is better for AI agents, llama.cpp or Tabby?

llama.cpp scores 48.9 (D) on agent readiness against Tabby's 43.9 (E), and leads in 6 of 7 scored categories.

### Do llama.cpp and Tabby need an API key?

llama.cpp needs no key. Tabby needs an access token.

### Can an agent call llama.cpp and Tabby without installing anything?

No hosted endpoint is listed for llama.cpp. No hosted endpoint is listed for Tabby.

### Are llama.cpp and Tabby open source?

Yes. llama.cpp is open source (MIT). Tabby is open source (Apache-2.0).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/llama-cpp-vs-tabby.json, and with the fewest tokens: https://www.anchorterminal.com/compare/llama-cpp-vs-tabby.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "llama-cpp", "b": "tabby"}`. From a terminal: `anchor compare llama-cpp tabby`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/llama-cpp.json and https://www.anchorterminal.com/api/v1/tools/tabby.json

## Other comparisons with llama.cpp or Tabby

- [AnythingLLM vs llama.cpp](https://www.anchorterminal.com/compare/anythingllm-vs-llama-cpp.md)
- [AnythingLLM vs Tabby](https://www.anchorterminal.com/compare/anythingllm-vs-tabby.md)
- [Berth vs llama.cpp](https://www.anchorterminal.com/compare/berth-vs-llama-cpp.md)
- [Berth vs Tabby](https://www.anchorterminal.com/compare/berth-vs-tabby.md)
- [BitRun vs llama.cpp](https://www.anchorterminal.com/compare/bitrun-vs-llama-cpp.md)
- [BitRun vs Tabby](https://www.anchorterminal.com/compare/bitrun-vs-tabby.md)
- [Docker Model Runner vs llama.cpp](https://www.anchorterminal.com/compare/docker-model-runner-vs-llama-cpp.md)
- [Docker Model Runner vs Tabby](https://www.anchorterminal.com/compare/docker-model-runner-vs-tabby.md)
- [Foundry Local vs llama.cpp](https://www.anchorterminal.com/compare/foundry-local-vs-llama-cpp.md)
- [Foundry Local vs Tabby](https://www.anchorterminal.com/compare/foundry-local-vs-tabby.md)
- [Core vs llama.cpp](https://www.anchorterminal.com/compare/ghost-core-vs-llama-cpp.md)
- [Core vs Tabby](https://www.anchorterminal.com/compare/ghost-core-vs-tabby.md)
- [GPT4All vs llama.cpp](https://www.anchorterminal.com/compare/gpt4all-vs-llama-cpp.md)
- [GPT4All vs Tabby](https://www.anchorterminal.com/compare/gpt4all-vs-tabby.md)
- [HyperQwen vs llama.cpp](https://www.anchorterminal.com/compare/hyperqwen-vs-llama-cpp.md)
- [HyperQwen vs Tabby](https://www.anchorterminal.com/compare/hyperqwen-vs-tabby.md)
- [inferd vs llama.cpp](https://www.anchorterminal.com/compare/inferd-vs-llama-cpp.md)
- [inferd vs Tabby](https://www.anchorterminal.com/compare/inferd-vs-tabby.md)
- [Jan vs llama.cpp](https://www.anchorterminal.com/compare/jan-vs-llama-cpp.md)
- [Jan vs Tabby](https://www.anchorterminal.com/compare/jan-vs-tabby.md)
- [Khoj vs llama.cpp](https://www.anchorterminal.com/compare/khoj-vs-llama-cpp.md)
- [Khoj vs Tabby](https://www.anchorterminal.com/compare/khoj-vs-tabby.md)
- [KoboldCpp vs llama.cpp](https://www.anchorterminal.com/compare/koboldcpp-vs-llama-cpp.md)
- [KoboldCpp vs Tabby](https://www.anchorterminal.com/compare/koboldcpp-vs-tabby.md)
- [Lemonade vs llama.cpp](https://www.anchorterminal.com/compare/lemonade-vs-llama-cpp.md)
- [Lemonade vs Tabby](https://www.anchorterminal.com/compare/lemonade-vs-tabby.md)
- [llama.cpp vs LM Studio](https://www.anchorterminal.com/compare/llama-cpp-vs-lm-studio.md)
- [llama.cpp vs LocalAI](https://www.anchorterminal.com/compare/llama-cpp-vs-localai.md)
- [llama.cpp vs Magnitude](https://www.anchorterminal.com/compare/llama-cpp-vs-magnitude.md)
- [llama.cpp vs MLX LM](https://www.anchorterminal.com/compare/llama-cpp-vs-mlx-lm.md)
- [llama.cpp vs Ollama](https://www.anchorterminal.com/compare/llama-cpp-vs-ollama.md)
- [llama.cpp vs Open WebUI](https://www.anchorterminal.com/compare/llama-cpp-vs-open-webui.md)
- [llama.cpp vs PrivateGPT](https://www.anchorterminal.com/compare/llama-cpp-vs-privategpt.md)
- [llama.cpp vs screenpipe](https://www.anchorterminal.com/compare/llama-cpp-vs-screenpipe.md)
- [llama.cpp vs TextGen](https://www.anchorterminal.com/compare/llama-cpp-vs-text-generation-webui.md)
- [llama.cpp vs Underdog](https://www.anchorterminal.com/compare/llama-cpp-vs-underdog.md)
- [llama.cpp vs vLLM](https://www.anchorterminal.com/compare/llama-cpp-vs-vllm.md)
- [LM Studio vs Tabby](https://www.anchorterminal.com/compare/lm-studio-vs-tabby.md)
- [LocalAI vs Tabby](https://www.anchorterminal.com/compare/localai-vs-tabby.md)
- [Magnitude vs Tabby](https://www.anchorterminal.com/compare/magnitude-vs-tabby.md)
- [MLX LM vs Tabby](https://www.anchorterminal.com/compare/mlx-lm-vs-tabby.md)
- [Ollama vs Tabby](https://www.anchorterminal.com/compare/ollama-vs-tabby.md)
- [Open WebUI vs Tabby](https://www.anchorterminal.com/compare/open-webui-vs-tabby.md)
- [PrivateGPT vs Tabby](https://www.anchorterminal.com/compare/privategpt-vs-tabby.md)
- [screenpipe vs Tabby](https://www.anchorterminal.com/compare/screenpipe-vs-tabby.md)
- [Tabby vs TextGen](https://www.anchorterminal.com/compare/tabby-vs-text-generation-webui.md)
- [Tabby vs Underdog](https://www.anchorterminal.com/compare/tabby-vs-underdog.md)
- [Tabby vs vLLM](https://www.anchorterminal.com/compare/tabby-vs-vllm.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
