Head to head · Local inference · October 2026 research run
Magnitude vs MLX LM
Magnitude scores 59.4 (C) on agent readiness against MLX LM's 54.4 (C), and leads in 3 of 7 scored categories. MLX LM leads on maintenance & community and transparency & trust. Both do local inference.
Best local AI models and assistants · All 331 local ai comparisons
Which one, for what
Best for People running coding agents on their own Mac or PC who want large mixture-of-experts models to fit by streaming from RAM and SSD.
Ahead on
- Schema & documentation, 56 against 37
- Agent ergonomics, 59 against 54
- Security & auth, 44 against 29
Watch for
Version 0.3.7, with the current streaming engine released on 24 November 2026
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
- Maintenance & community, 81 against 76
- Transparency & trust, 69 against 54
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 Magnitude +19
Magnitude 56
Read for an API. The public routes follow OpenAI's and Anthropic's formats. The repository holds an OpenAPI file for the 'Magnitude Inference Control Node' (packages/icn-protocol/openapi.json, 40 paths including /v1/chat/completions and /anthropic/v1/messages), but the docs don't link it or present it as the contract (12 of 25). llms.txt at docs.magnitude.dev links Markdown versions of 27 pages (10). The endpoints page gives each route's purpose and the overview says the API covers inference only, with model management in the app or CLI (12 of 20). No parameter reference in the docs beyond a line that supported inputs depend on the model, and max_tokens named as required for Messages (6 of 15). curl examples for chat completions, streaming and Messages. No error reference found (6 of 15). A changesets changelog in the repository with every release since 0.0.1 and tags for each, and the HTTP API has no version beyond the /v1 prefix (10 of 15). 12 + 10 + 12 + 6 + 6 + 10 = 56.
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.
Security & auth Magnitude +15
Magnitude 44
Read with the tool checklist, credential model first. No credential on the local API, by design. Network access is off by default. When it's on, other devices send one API key as a Bearer token or x-api-key, never in the query string. The key has no scopes and is regenerated in Settings. The connection is plain HTTP unless the owner adds a reverse proxy, and network.bind unset means every interface (15 of 30). Network access exposes only the inference routes and keeps model management and app control local, except in Docker, where the network key also opens the browser app with downloads and loads (12 of 20). The API returns model output only (10 of 15). Settings show usage, logs go to standard error, and traces go over OTLP to a local collector address, with no per-key record (7 of 15). No SECURITY.md, security.txt (404), disclosure policy, bounty or advisories found (0 of 20). 15 + 12 + 10 + 7 + 0 = 44.
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.
Transparency & trust MLX LM +15
Magnitude 54
The editorial half. Apache-2.0 in LICENSE and the package manifests, with the Rust workspace declaring it from 0.3.6 on 25 November 2026 (30). The site and FAQ say prompts, files and models stay on the machine, and the home page says 'nothing leaves your machine'. No privacy policy or terms were found, and the docs don't describe the update check (8 of 30). The changelog names deprecated catalogue models (Gemma 4 26B-A4B, Gemma 4 31B and others in 0.3.0), and the old npm CLI carries a deprecation notice. No deprecation policy (8 of 20). No analytics library in the source. The app checks magnitude.dev/api/update with its version, OS and channel, signed with a per-installation key from which the server derives an installation ID. autoDownloadUpdates controls downloads, and no setting to stop the check was found in the docs (10 of 20). 30 + 8 + 8 + 10 = 56.
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.
Agent ergonomics Magnitude +5
Magnitude 59
Read for an API. max_tokens and streaming size a reply, and /messages/count_tokens counts input before a call (16 of 25). /inference/v1/models returns the model list unpaged, small on a single machine, and there are no other list routes (12 of 20). The source returns OpenAI-style error types (invalid_request_error, model_error, server_error), but the docs don't describe errors (8 of 20). Generation is stateless and safe to repeat, and prefix caches survive across turns and tool loops per the changelog. No retry or busy guidance found, and the first request after an hour idle waits for the model to load (11 of 20). No key from the same computer, a model ID as the only required choice, and one-click connections for eight agents. No published client library, and @magnitudedev/sdk in the repository is private (12 of 15). 16 + 12 + 8 + 11 + 12 = 59.
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).
Maintenance & community MLX LM +5
Magnitude 76
0.3.7 was tagged on 27 November 2026, the day of this check (30). Releases from 0.2.0 (30 September) through 0.2.17 (8 November) to 0.3.7, eight of them between 24 and 27 November (20). The issue list wasn't readable. The changelog credits fixes for reports made days earlier and merged pull requests from outside contributors (#273, #285, #291) in November 2026 (15 of 25). No official client library. OpenAI and Anthropic clients work against it and eight agents have built-in connections (5 of 15). A frozen bun lockfile, a pinned Rust toolchain and CI on pull requests, with no Dependabot configuration (6 of 10). 30 + 20 + 15 + 5 + 6 = 76.
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.
Score by category
| Category | Weight | Magnitude | MLX LM | Edge |
|---|---|---|---|---|
| Reliability | 16% | 52 | 56 | MLX LM +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 56 | 37 | Magnitude +19 |
| Agent ergonomics | 13% | 59 | 54 | Magnitude +5 |
| Security & auth | 14% | 44 | 29 | Magnitude +15 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 76 | 81 | MLX LM +5 |
| Transparency & trust | 7% | 54 | 69 | MLX LM +15 |
| Negative events | ≤15 | 0 | -1 | |
| Total | C 59.4/100 | C 54.4/100 |
Facts side by side
| Fact | Magnitude | MLX LM |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Magnitude | Apple |
| 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 | yes | no |
| Last release | 2026-11-27 | 2026-10-16 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Popularity | none | 7.3k stars |
How the scores have moved
Verdicts
Magnitude
Magnitude serves OpenAI- and Anthropic-compatible routes from the owner's machine and can run mixture-of-experts models larger than GPU memory by streaming experts from RAM and SSD. It is days past a major release on 0.3.x, with thin API reference docs, no security policy and no privacy statement covering its update checks.
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
Magnitude
- Call
GET /inference/v1/modelsfirst and send the exactid. Display names are rejected - Expect the first request after an hour idle to wait while the model loads
- Send
max_tokenson every Anthropic Messages request. The route requires it - From another device, use the server's address and its API key, and turn on network access first
- Use the base URL
http://127.0.0.1:10100/inference/v1for OpenAI clients and/inference/anthropicfor Anthropic clients
MLX LM
- Keep
mlx_lm.serveron 127.0.0.1 and pass--allowed-originswith the origins you trust. There is no API key, and the default answers every origin - Treat any caller as able to load any model and make the server fetch any web address, through the
model,adaptersand image URL fields - Upgrade to 0.32.0 or later before loading third-party models. Earlier versions run a model's
model_filecode without--trust-remote-code - Send
max_tokensormax_completion_tokenswhen you need more than 512 tokens, the server default - 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, Magnitude or MLX LM?
Magnitude scores 59.4 (C) on agent readiness against MLX LM's 54.4 (C), and leads in 3 of 7 scored categories. MLX LM leads on maintenance & community and transparency & trust.
Do Magnitude and MLX LM need an API key?
Neither needs a key.
Can an agent call Magnitude and MLX LM without installing anything?
No hosted endpoint is listed for Magnitude. No hosted endpoint is listed for MLX LM.
Are Magnitude and MLX LM open source?
Yes. Magnitude is open source (Apache-2.0). MLX LM is open source (MIT).
Other comparisons with Magnitude or MLX LM
- AnythingLLM vs Magnitude
- AnythingLLM vs MLX LM
- Berth vs Magnitude
- Berth vs MLX LM
- BitRun vs Magnitude
- BitRun vs MLX LM
- Docker Model Runner vs Magnitude
- Docker Model Runner vs MLX LM
- Foundry Local vs Magnitude
- Foundry Local vs MLX LM
- Core vs Magnitude
- Core vs MLX LM
- GPT4All vs Magnitude
- GPT4All vs MLX LM
- HyperQwen vs Magnitude
- HyperQwen vs MLX LM
- inferd vs Magnitude
- inferd vs MLX LM
- Jan vs Magnitude
- Jan vs MLX LM
- Khoj vs Magnitude
- Khoj vs MLX LM
- KoboldCpp vs Magnitude
- KoboldCpp vs MLX LM
- Lemonade vs Magnitude
- Lemonade vs MLX LM
- llama.cpp vs Magnitude
- llama.cpp vs MLX LM
- LM Studio vs Magnitude
- LM Studio vs MLX LM
- LocalAI vs Magnitude
- LocalAI vs MLX LM
- Magnitude vs Ollama
- Magnitude vs Open WebUI
- Magnitude vs PrivateGPT
- Magnitude vs screenpipe
- Magnitude vs TextGen
- Magnitude vs Underdog
- Magnitude vs vLLM
- MLX LM vs Ollama
- MLX LM vs Open WebUI
- MLX LM vs PrivateGPT
- MLX LM vs screenpipe
- MLX LM vs TextGen
- MLX LM vs Underdog
- MLX LM vs vLLM
Machine-readable
- This page as Markdown
/compare/magnitude-vs-mlx-lm.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/magnitude.json·/api/v1/tools/mlx-lm.json - From a terminal
anchor compare magnitude mlx-lm(the CLI) - Over MCP
compare_tools {"a": "magnitude", "b": "mlx-lm"}at/mcp, no key