Head to head · Local inference · October 2026 research run

inferd vs MLX LM

inferd scores 65.5 (B) on agent readiness against MLX LM's 54.4 (C), and leads in 3 of 7 scored categories. MLX LM leads on reliability, maintenance & community and transparency & trust. 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 37
  • Agent ergonomics, 78 against 54
  • Security & auth, 51 against 29

Watch for

Pre-1.0 and described by its makers as young, experimental software, with fixes only on the latest commit of main

MLX LM C

Best for An owner with an Apple silicon Mac who wants MLX-format models, local fine-tuning and quantisation from Python or the command line, with a simple local chat completions server.

Ahead on

  • Reliability, 56 against 50
  • Maintenance & community, 81 against 74
  • Transparency & trust, 69 against 62

Watch for

mlx_lm.server has no API key or other credential option, and --allowed-origins defaults to *

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 +29

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.

MLX LM 37

Read for the HTTP server, the surface an agent calls. No OpenAPI file or other machine-readable contract. SERVER.md says the API is intended to be similar to OpenAI's chat API (5 of 25). No llms.txt. The docs are Markdown files in the repository, 176 lines for the server (5 of 10). Request and response fields each have a one-line purpose, the page opens with the production warning, and stop gained a fuller description in October, but tools, seed, max_completion_tokens, chat_template_kwargs, image content parts, the /v1/completions route and /health are in the code and not in the docs (9 of 20). Types and defaults are given in prose, and the server checks types and ranges in code. We found no response_format or JSON schema output in server.py (6 of 15). Two curl examples and no documented error responses (5 of 15). Version tags (v0.32.0 to v0.32.2 since 30 September) and GitHub release notes, with no changelog file and no version on the API itself beyond the /v1 path (7 of 15). 5 + 5 + 9 + 6 + 5 + 7 = 37.

Agent ergonomics inferd +24

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.

MLX LM 54

Read for an API. max_tokens defaults to 512, stop and logprobs shape the output and usage reports token counts, but there is no field selection and no structured output mode (15 of 25). GET /v1/models lists the MLX models in the Hugging Face cache and can be narrowed to one repository by path. No paging and no token-counting route (10 of 20). Errors are {"error": "<text>"} with 400 and a specific message for a bad field, 411 for a missing Content-Length, and 404 for any failure while loading a model or building the prompt. There are no codes and none of it is documented (8 of 20). Generation is stateless and safe to retry, seed is accepted, a prompt cache holds ten entries by default and /health answers 503 when the generation thread has stopped. No retry guidance (12 of 20). Only messages is required and the defaults are conservative. OpenAI clients can call the chat route, and the Python API (load, generate, stream_generate) ships in the same package. No client library in a second language in this repository (9 of 15).

Security & auth inferd +22

inferd 51

Read with the tool checklist. One optional Bearer key (INFERD_API_KEY) that covers every route, /health included. The server binds 127.0.0.1 by default and refuses a non-loopback host without a key of 16 or more characters. No scopes and no rotation short of a restart, so the one-key line plus 5 for the enforced bind and full coverage (15 of 30). No read-only mode, and SECURITY.md says any caller that reaches the port can create, read and delete every context and session. Image URL fetching and local image files are off by default, request chat templates are refused unless the operator allows them, and the engine socket is owner-only (9 of 20). The server returns model output and fetches nothing by default. SECURITY.md warns that enabling image URLs lets callers reach internal hosts. No prompt-injection guidance (10 of 15). Logs under ~/inference/logs, Prometheus /metrics and request ids, with no per-key record (8 of 15). SECURITY.md with a trust model, private vulnerability reporting through GitHub and acknowledgement within five working days. A code and security review of 4 November (R01 to R08) and its fixes are published, and Pillow is pinned at 13.0.0 for decoder advisories. No security.txt, bounty or advisories, models download by repository name with no pinned revision, and the Neural Engine split uses private Apple APIs (9 of 20). 15 + 9 + 10 + 8 + 9 = 51.

MLX LM 29

Read with the tool checklist. The server has no credential of any kind and no flag to add one. It binds 127.0.0.1 by default (5 of 30). --allowed-origins defaults to *, so a web page can call a server on localhost, and any request can name a model or adapters path for the server to download or load. SERVER.md says local paths must be relative to the start directory, and we found no such check in the code. Since v0.32.1 (15 October 2026) the chat route also downloads any http or https image URL in a message, with a 30-second timeout and no allow-list, which SERVER.md does not mention. --trust-remote-code is off by default, and since v0.32.0 it also gates a model's model_file code (4 of 20). The server returns model output and parses tool calls without running them. No guidance on untrusted input (8 of 15). Logs at a chosen level, with request bodies at DEBUG, and no per-caller record (5 of 15). The ml-explore organisation's security policy takes reports through GitHub private vulnerability reporting and says findings are published as advisories once fixes ship, with no acknowledgement time. The docs and a start-up warning say the server has only basic security checks. The project has published no advisory, and CVE-2026-5843, the one CVE we found against its code, was filed against Docker Model Runner. No bounty is named (7 of 20). 5 + 4 + 8 + 5 + 7 = 29.

Maintenance & community MLX LM +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.

MLX LM 81

Tag v0.32.2 on 16 October 2026, 19 days before this check (30). Three tagged releases in the 90 days from 6 August, v0.32.0 (30 September), v0.32.1 (15 October) and v0.32.2 (16 October), each with code changes, and each tag push publishes to PyPI through the release workflow. PyPI itself could not be read on 4 November (20). 146 commits from 87 authors on main since 6 August, the newest on 30 October. Recent bug reports mostly had no reply or one comment on 8 October, not re-read, and reply times were not measured (15 of 25). The package is the Python library, current with the release. No other official client (8 of 15). CI on every push, a pre-commit lint job, PyPI publishing by trusted publishing, and dependency floors on recent versions (mlx>=0.32.3, transformers>=5.7.0). No Dependabot file (8 of 10). 30 + 20 + 15 + 8 + 8 = 81.

Transparency & trust MLX LM +7

inferd 62

The editorial half. Apache-2.0, with vendored MLX kernels (MIT) and an adapted oMLX kernel (Apache-2.0) credited in NOTICE (30). No privacy statement covers the software. The site says data stays on the machine, and the code bears it out. The outbound calls are pip, hf download for models and opt-in image URL fetches, documented in the README and SECURITY.md. The site's privacy policy covers only the website (14 of 30). No deprecation policy. Changes notes give dates and say which defaults moved in which version, the old positional run.sh form is kept, and only the latest commit of main gets fixes (8 of 20). No telemetry, analytics or update check found in the front end, the scripts or the engine, though nothing in the docs says so (16 of 20). 30 + 14 + 8 + 16 = 68.

MLX LM 69

The editorial half. MIT, copyright Apple Inc., all of it public (30). No privacy statement covers the software and nothing states what it sends. In the source the outbound calls are model downloads from Hugging Face (or ModelScope when MLXLM_USE_MODELSCOPE is set), image URLs named in a chat request (since v0.32.1), uploads only on command, and a calibration text fetched from a GitHub gist by the quantisation tools (12 of 30). Runtime messages say python -m mlx_lm.<command> is deprecated, with no date and no written policy (5 of 20). No telemetry, analytics or update check found in the source at the 30 October head, so nothing to opt out of, though the README does not say so (18 of 20). 30 + 12 + 5 + 18 = 65.

Reliability MLX LM +6

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.

MLX LM 56

Read with the local-software lines, since the package and its server run on the owner's machine. pyproject.toml states Python 3.11 or later with macOS and Linux classifiers, each version tag is published to PyPI by trusted publishing from release.yml, and conda-forge carries it per the 8 October check (20). The Build and Test workflow runs a lint check and the unit tests (21 test files) on every pull request and push to main, on self-hosted macOS runners since 30 October. Run results on GitHub could not be read on 4 November, so the line takes 15, the value for public CI that runs the tests with an unreadable result (15 of 25). 151 open issues and 74 open pull requests, with no reply or one comment on the newest bug reports, among them server bugs #1946 and #1909, per the 8 October check, not re-read (15 of 25). Version tags with GitHub release notes and no changelog file. The notes could not be read on 4 November, and none of the ten read on 8 October called out a breaking change (6 of 15). Version 0.32.2, pre-1.0, and the server docs still say it is not recommended for production (0). 20 + 15 + 15 + 6 + 0 = 56.

Score by category

CategoryWeightinferdMLX LMEdge
Reliability16%5056MLX LM +6
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6637inferd +29
Agent ergonomics13%7854inferd +24
Security & auth14%5129inferd +22
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7481MLX LM +7
Transparency & trust7%6269MLX LM +7
Negative events≤150-1
TotalB 65.5/100C 54.4/100

Facts side by side

FactinferdMLX LM
KindHTTP APIHTTP API
VendorIncept5Apple
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednono
llms.txtnono
Last release2026-11-212026-10-16
Terms last updatedno document linkedno document linked
Privacy policy last updated2026-11-04no document linked
Popularitynone7.3k stars

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.

MLX LM

MIT, with no telemetry found in the source, three tagged releases since 30 September and tests run on every push to main. mlx_lm.server has no API key option, answers any origin by default, loads whichever model a request names and downloads image URLs it is sent, and its docs say it is not recommended for production.

Before you call either

inferd

  1. Call http://localhost:8300/v1 with any OpenAI client and model qwen3.8-27b, or the name the server was started with
  2. Save a shared prompt once with POST /v1/contexts and launch agents with "inferd": {"context": "<name>", "session": "<agent id>"} so each pays only for its own tokens
  3. On 503 server_overloaded, wait for Retry-After (2 seconds by default) and retry
  4. Use "inferd": {"cache": "drop"} for one-off work so it doesn't evict other agents' cached turns
  5. Don't send /v1/embeddings, /v1/responses or audio requests, which answer 501 unsupported_endpoint

MLX LM

  1. Keep mlx_lm.server on 127.0.0.1 and pass --allowed-origins with the origins you trust. There is no API key, and the default answers every origin
  2. Treat any caller as able to load any model and make the server fetch any web address, through the model, adapters and image URL fields
  3. Upgrade to 0.32.0 or later before loading third-party models. Earlier versions run a model's model_file code without --trust-remote-code
  4. Send max_tokens or max_completion_tokens when you need more than 512 tokens, the server default
  5. Read errors as {"error": "<text>"} with 400 for a bad field and 404 for a model that failed to load. They are not OpenAI error objects

Questions

Which is better for AI agents, inferd or MLX LM?

inferd scores 65.5 (B) on agent readiness against MLX LM's 54.4 (C), and leads in 3 of 7 scored categories. MLX LM leads on reliability, maintenance & community and transparency & trust.

Do inferd and MLX LM need an API key?

Neither needs a key.

Can an agent call inferd and MLX LM without installing anything?

No hosted endpoint is listed for inferd. No hosted endpoint is listed for MLX LM.

Are inferd and MLX LM open source?

Yes. inferd is open source (Apache-2.0). MLX LM is open source (MIT).

Other comparisons with inferd or MLX LM

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.