Head to head · Local inference · October 2026 research run
inferd vs llama.cpp
inferd scores 65.5 (B) on agent readiness against llama.cpp's 48.9 (D), and leads in 2 of 7 scored categories. llama.cpp leads on reliability and maintenance & community. Both do local inference.
Best local AI models and assistants · All 331 local ai comparisons
Which one, for what
inferd B
Best for Someone running many agents on one Apple Silicon Mac who wants a shared model with prefix caching and context hand-off behind an OpenAI-compatible endpoint.
Ahead on
- Schema & documentation, 66 against 47
- Agent ergonomics, 78 against 73
Also in its favour
- No incidents deducted, where llama.cpp loses 15 points for them
Watch for
Pre-1.0 and described by its makers as young, experimental software, with fixes only on the latest commit of main
Best 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 50
- Maintenance & community, 81 against 74
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
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.
Schema & documentation inferd +19
inferd 66
Read with the API lines, for the local HTTP server an agent calls. No OpenAPI file or other machine-readable description is published. docs/API-COMPAT.md is a field-by-field contract for every vLLM endpoint and request field (works, ignored or rejected), and CI checks it against the real front end with a fake engine, so it earns part of the line (8 of 25). No llms.txt (404 at inferd.incept5.ai). The docs are Markdown files in the repository (5 of 10). Each field and route says what it does, what inferd does differently from vLLM (priority, model, seed) and when not to use one, such as the per-token cost of penalties and logit_bias and why cache_salt is refused (17 of 20). Types, ranges and limits are documented (priority -10 to 10, context names of up to 64 characters from a fixed set, n up to 16, a table of request budgets), and malformed input gets a 400 naming the field (12 of 15). curl and Python examples, client snippets in 14 languages on the site, 13 example folders, and documented error codes for 400, 404, 413, 422, 501, 503 and 504 (14 of 15). Version tags, a /version route and a Changes section that stops at 0.4.1 in the repository (10 of 15). 8 + 5 + 17 + 12 + 14 + 10 = 66.
llama.cpp 47
No spec of its own. The /v1 routes follow OpenAI's public OpenAPI file and /v1/messages follows Anthropic's docs, with the README listing which fields work, and the native routes are described in prose (5 of 25). No llms.txt (llama.app/llms.txt still returned 404 on 3 November 2026). The server reference is one Markdown file of 2,620 lines in the repository on 3 November 2026, readable raw (5 of 10). Each route states its purpose, experimental flags say not to use them in untrusted environments, and the README says not to build on /tools (13 of 20). Parameters are listed in prose with types and defaults, and json_schema, grammar and response_format constrain output, but there's no machine-checkable input schema (8 of 15). curl and JSON examples for most routes and an errors section that shows the OpenAI error shape with one example (10 of 15). Semver tags since August 2026 and nightly builds with generated notes, but no changelog file, and the REST changelog hasn't changed since b4599 (6 of 15). 5 + 5 + 13 + 8 + 10 + 6 = 47.
Reliability llama.cpp +7
inferd 50
Read with the local-software lines, since inferd runs on the owner's Mac with no hosted service. Prebuilt macOS 27 tarballs with SHA-256 files on GitHub releases, linked from the README and the site, with Apple Silicon, macOS 27 or 26 and Python 3.12 stated. There is no package-manager install, and the macOS 26 file is a beta held at 0.4.1 (15 of 20). One public workflow, host-tests, runs on macos-15 for every push to main and every pull request, with native tests under ASan and UBSan, front-end hardening, structured output, tools, streaming and the vLLM compatibility probe. GPU and model checks run by hand with release_gate.sh, and the pass state on GitHub couldn't be read, so the line takes 15, as on mlx-lm (15 of 25). Open issues couldn't be counted. Correctness bugs were found and fixed in days, but two shipped first. One cut replies short on M4 fleets (0.4.2 worked round it, 0.4.3 fixed it), and the other gave wrong answers for Qwen3.6-35B-A3B long prompts on M1 to M4 GPUs before 0.4.5, still present in the macOS 26 prebuilt (10 of 25). Version numbers with a dated Changes section to 0.4.1, and 0.4.2 to 0.4.5 summarised on the site, each saying what changed by default (10 of 15). Pre-1.0 and called young, experimental software in the README (0). 15 + 15 + 10 + 10 + 0 = 50.
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.
Maintenance & community llama.cpp +7
inferd 74
v0.4.5 tagged on 21 November 2026, six days before this check (30). Eight tags in the 90 days to 27 November, v0.2.0 on 3 November to v0.4.5 on 21 November (20). Issue threads and reply times couldn't be read. The clone shows pull requests #4 and #5 from outside accounts merged within three days and the same day, and external testers' reports turned into fixes in 0.3.0 and 0.4.1 on the day. The record is three weeks long (12 of 25). Not an MCP server and no SDK of its own. OpenAI clients work against it (5 of 15). Exact pins on current releases (fastapi==0.143.0, mlx==0.32.3, transformers==5.19.0) and CI on every push and pull request. No Dependabot file (7 of 10). The project is three weeks old, so the release lines reward a launch burst that may not last. 30 + 20 + 12 + 5 + 7 = 74.
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.
Agent ergonomics inferd +5
inferd 78
Read with the API lines. max_tokens, n, optional logprobs, streaming with usage chunks, per-agent effort and max_context, and cached_tokens on every reply (20 of 25). Stop strings, stop token ids, truncate_prompt_tokens, structured output and GET /v1/cache and /v1/contexts to see what is held. Lists are capped (256 saved contexts) with no paging (12 of 20). OpenAI-style error objects with type, code and param, a clean 501 unsupported_endpoint naming the route, and an SSE error event when a stream fails after it started (18 of 20). Generation is stateless, overload is 503 server_overloaded with Retry-After, saving a context that is already cached computes nothing, and X-Request-Id is echoed. No idempotency keys (15 of 20). OpenAI SDKs, LiteLLM and LangChain work by changing the base URL, only messages is required, any model name is accepted, and run.sh start sizes the server from the Mac's memory. No SDK of its own (13 of 15). 20 + 12 + 18 + 15 + 13 = 78.
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).
Score by category
| Category | Weight | inferd | llama.cpp | Edge |
|---|---|---|---|---|
| Reliability | 16% | 50 | 57 | llama.cpp +7 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 66 | 47 | inferd +19 |
| Agent ergonomics | 13% | 78 | 73 | inferd +5 |
| Security & auth | 14% | 51 | 52 | llama.cpp +1 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 74 | 81 | llama.cpp +7 |
| Transparency & trust | 7% | 62 | 64 | llama.cpp +2 |
| Negative events | ≤15 | 0 | -15 | |
| Total | B 65.5/100 | D 48.9/100 |
Facts side by side
| Fact | inferd | llama.cpp |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Incept5 | ggml.ai (Hugging Face) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | MIT |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-11-21 | 2026-10-28 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | 2026-11-04 | no document linked |
| Popularity | none | 130k stars |
| Agent reviews | none | 2.5/5 (2) |
How the scores have moved
Verdicts
inferd
inferd serves one model to dozens of agents on a Mac through an OpenAI-compatible API, with saved contexts, sessions and per-agent budgets, and a field-by-field vLLM compatibility table checked in CI. It is three weeks old, pre-1.0, runs a handful of Qwen-family and other models, and is tested mainly on M5-class Macs.
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.
Before you call either
inferd
- Call
http://localhost:8300/v1with any OpenAI client and modelqwen3.8-27b, or the name the server was started with - Save a shared prompt once with
POST /v1/contextsand launch agents with"inferd": {"context": "<name>", "session": "<agent id>"}so each pays only for its own tokens - On 503
server_overloaded, wait forRetry-After(2 seconds by default) and retry - Use
"inferd": {"cache": "drop"}for one-off work so it doesn't evict other agents' cached turns - Don't send
/v1/embeddings,/v1/responsesor audio requests, which answer 501unsupported_endpoint
llama.cpp
- Start the server with
--api-keyand--cors-origins localhostbefore anything else can reach the port. Both are off by default - Pass
n_predictormax_tokens. Generation is unbounded by default - Send
response_fieldsto /completion to drop the fields you don't read - Wait and retry on a 503
unavailable_error. The model is still loading - Read the server README of the build you run. Behaviour changes between nightly builds without a changelog entry
Questions
Which is better for AI agents, inferd or llama.cpp?
inferd scores 65.5 (B) on agent readiness against llama.cpp's 48.9 (D), and leads in 2 of 7 scored categories. llama.cpp leads on reliability and maintenance & community.
Do inferd and llama.cpp need an API key?
Neither needs a key.
Can an agent call inferd and llama.cpp without installing anything?
No hosted endpoint is listed for inferd. No hosted endpoint is listed for llama.cpp.
Are inferd and llama.cpp open source?
Yes. inferd is open source (Apache-2.0). llama.cpp is open source (MIT).
Other comparisons with inferd or llama.cpp
- AnythingLLM vs inferd
- AnythingLLM vs llama.cpp
- Berth vs inferd
- Berth vs llama.cpp
- BitRun vs inferd
- BitRun vs llama.cpp
- Docker Model Runner vs inferd
- Docker Model Runner vs llama.cpp
- Foundry Local vs inferd
- Foundry Local vs llama.cpp
- Core vs inferd
- Core vs llama.cpp
- GPT4All vs inferd
- GPT4All vs llama.cpp
- HyperQwen vs inferd
- HyperQwen vs llama.cpp
- inferd vs Jan
- inferd vs Khoj
- inferd vs KoboldCpp
- inferd vs Lemonade
- inferd vs LM Studio
- inferd vs LocalAI
- inferd vs Magnitude
- inferd vs MLX LM
- inferd vs Ollama
- inferd vs Open WebUI
- inferd vs PrivateGPT
- inferd vs screenpipe
- inferd vs TextGen
- inferd vs Underdog
- inferd vs vLLM
- Jan vs llama.cpp
- Khoj vs llama.cpp
- KoboldCpp vs llama.cpp
- Lemonade vs llama.cpp
- llama.cpp vs LM Studio
- llama.cpp vs LocalAI
- llama.cpp vs Magnitude
- llama.cpp vs MLX LM
- llama.cpp vs Ollama
- llama.cpp vs Open WebUI
- llama.cpp vs PrivateGPT
- llama.cpp vs screenpipe
- llama.cpp vs TextGen
- llama.cpp vs Underdog
- llama.cpp vs vLLM
Machine-readable
- This page as Markdown
/compare/inferd-vs-llama-cpp.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/inferd.json·/api/v1/tools/llama-cpp.json - From a terminal
anchor compare inferd llama-cpp(the CLI) - Over MCP
compare_tools {"a": "inferd", "b": "llama-cpp"}at/mcp, no key