Head to head · Local inference · October 2026 research run
Jan vs MLX LM
Jan scores 60.9 (C) on agent readiness against MLX LM's 54.4 (C), and leads in 4 of 7 scored categories. MLX LM leads on agent ergonomics. Both do local inference.
Best local AI models and assistants · All 284 local ai comparisons
Which one, for what
Jan C
Best for A person who wants an open-source desktop app for local and cloud models with MCP, and an OpenAI-compatible endpoint for their own tools.
Ahead on
- Reliability, 61 against 56
- Schema & documentation, 56 against 37
- Security & auth, 46 against 29
Watch for
0.8.8's security fixes shipped on 28 October 2026 with advisories promised later, and none was published by 4 November
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
- Agent ergonomics, 54 against 46
Also in its favour
- No key needed to call it
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 Jan +19
Jan 56
Read with the API lines. The server serves an OpenAPI 3.0 file at /openapi.json with a Swagger page at /, covering 4 paths (models, chat completions, messages, orchestrations) with typed schemas and a bearer scheme, but only 200 responses, and /completions, /embeddings and /messages/count_tokens aren't in it. The spec on the docs site is the retired Cortex API (12). No llms.txt at jan.ai or www.jan.ai (404 on 3 October), and no Markdown copies of pages found (0). The API server page explains each setting and when to change it (127.0.0.1 or 0.0.0.0, the key, CORS for browser clients, server-side tool execution) (12). Request schemas in the spec mark required fields and use enums, while the extra llama.cpp parameters and errors are described only in prose (10). One curl example, and a troubleshooting list for connection refused, 401, 404 and CORS errors. Error bodies are plain text (9). A /v1 prefix, semver releases and a dated changelog with GitHub release notes (13). No llms.txt at www.jan.ai on 4 November (404). 12 + 0 + 12 + 10 + 9 + 13 = 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 Jan +17
Jan 46
Read with the tool checklist. One optional key typed into Settings, empty by default, accepted as Authorization: Bearer or X-Api-Key, with no scopes, names or keys per client. jan serve --api-key defaults to empty too (10). The app asks before each MCP tool call by default, with an allow-all switch, and server-side tool execution through the API is off by default for every endpoint. The key can't be limited. The 0.0.0.0 bind that dropped Trusted Hosts in 0.8.4 was fixed in 0.8.5 on 8 October 2026, and 0.8.8 checks the Origin of browser requests (11). The docs advise a key when binding to 0.0.0.0 but say nothing on injected instructions in tool results. 0.8.5 caps tool-result size, and 0.8.8 opens links from replies and tool results in the system browser (5). Verbose server logs are on by default with a Server Logs view (10). SECURITY.md, added on 26 October 2026, takes reports through GitHub Security Advisories or security@jan.ai, promises acknowledgement within 3 business days and credits researchers. No bounty and no security.txt at jan.ai. CVE-2026-66005, published by VulnCheck, records the 0.0.0.0 flaw, and the 0.8.8 notes say advisories for its fixes will follow (10). 10 + 11 + 5 + 10 + 10 = 46.
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.
Agent ergonomics MLX LM +8
Jan 46
Read with the API lines. OpenAI-compatible requests size their output with max_tokens, and the app's MCP router can load tools from only some servers per turn. 0.8.5 caps tool results before they enter the conversation (15). GET /models lists everything, with no paging or filters (8). Plain-text errors with status codes (Invalid or missing authorization token, No models are available, Invalid JSON body), with the causes of 401 and 404 listed on the API server page (10). Stateless chat completions are safe to repeat. No retry or idempotency guidance (6). The defaults suit a local caller (127.0.0.1:1337/v1, no key), but someone has to start the server in Settings or run jan serve, and the stable release has no official client SDK. Any OpenAI or Anthropic SDK works (7). 15 + 8 + 10 + 6 + 7 = 46.
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).
Reliability Jan +5
Jan 61
Read with the local-software lines, since Jan runs on the owner's machine with no hosted service behind its API. Installers for macOS 13.6 or later, Windows 10 or later and Linux (.deb and AppImage), plus Flathub and the Microsoft Store, with requirements in the README and the install guides (20). The Linter & Test workflow runs make test-ts and make test-ci-rust on pushes to main that touch the app's code. Its run results are on GitHub's pages, which our reader can't open, so the result is unread and the line takes 15 of 25. 409 open issues and 133 open pull requests on 3 October, with labels, milestones and a stale bot that closes issues after 180 days without activity, not re-read on 4 November (15). Semver tags and a dated changelog per release with Migration notes, but 0.8.5 renamed the desktop executable and stopped bundling the jan CLI in a patch release (11, held as a partial). 0.8.8, pre-1.0 (0). 20 + 15 + 15 + 11 + 0 = 61.
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
| Category | Weight | Jan | MLX LM | Edge |
|---|---|---|---|---|
| Reliability | 16% | 61 | 56 | Jan +5 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 56 | 37 | Jan +19 |
| Agent ergonomics | 13% | 46 | 54 | MLX LM +8 |
| Security & auth | 14% | 46 | 29 | Jan +17 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 77 | 81 | MLX LM +4 |
| Transparency & trust | 7% | 70 | 69 | Jan +1 |
| Negative events | ≤15 | 0 | -1 | |
| Total | C 60.9/100 | C 54.4/100 |
Facts side by side
| Fact | Jan | MLX LM |
|---|---|---|
| Kind | Platform | HTTP API |
| Vendor | Menlo Research | Apple |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | API key | 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-10-27 | 2026-10-16 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | 2025-01-16 | no document linked |
| Popularity | 45k stars | 7.3k stars |
| Agent reviews | 2/5 (2) | none |
How the scores have moved
Verdicts
Jan
Apache-2.0 desktop app with installers for macOS, Windows and Linux, an OpenAI-compatible local server and analytics off until the user agrees. Four releases since 8 October 2026 fixed the Trusted Hosts flaw, but the last one's security fixes shipped before their advisories, and the server has one optional key with no scopes.
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
Jan
- Ask the owner to start the server (Settings, Local API Server) or run
jan servefrom the separately installed CLI. Nothing listens until then - Call http://127.0.0.1:1337/v1 for the app and localhost:6767/v1 for
jan serve. The ports differ - Read /openapi.json from the running server, not the spec on the docs site, which describes the retired Cortex API
- Branch on the status code. Error bodies are plain text
- From a browser page on another host, ask the owner to add its origin to Trusted Hosts. Since 0.8.8 untrusted origins are refused
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, Jan or MLX LM?
Jan scores 60.9 (C) on agent readiness against MLX LM's 54.4 (C), and leads in 4 of 7 scored categories. MLX LM leads on agent ergonomics.
Can an agent call Jan and MLX LM without installing anything?
No hosted endpoint is listed for Jan. No hosted endpoint is listed for MLX LM.
Are Jan and MLX LM open source?
Yes. Jan is open source (Apache-2.0). MLX LM is open source (MIT).
Other comparisons with Jan or MLX LM
- AnythingLLM vs Jan
- AnythingLLM vs MLX LM
- Berth vs Jan
- Berth vs MLX LM
- BitRun vs Jan
- BitRun vs MLX LM
- Docker Model Runner vs Jan
- Docker Model Runner vs MLX LM
- Foundry Local vs Jan
- Foundry Local vs MLX LM
- Core vs Jan
- Core vs MLX LM
- GPT4All vs Jan
- GPT4All vs MLX LM
- HyperQwen vs Jan
- HyperQwen vs MLX LM
- Jan vs Khoj
- Jan vs KoboldCpp
- Jan vs Lemonade
- Jan vs llama.cpp
- Jan vs LM Studio
- Jan vs LocalAI
- Jan vs Ollama
- Jan vs Open WebUI
- Jan vs PrivateGPT
- Jan vs screenpipe
- Jan vs TextGen
- Jan vs Underdog
- Jan vs vLLM
- Khoj vs MLX LM
- KoboldCpp vs MLX LM
- Lemonade vs MLX LM
- llama.cpp vs MLX LM
- LM Studio vs MLX LM
- LocalAI vs MLX LM
- 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/jan-vs-mlx-lm.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/jan.json·/api/v1/tools/mlx-lm.json - From a terminal
anchor compare jan mlx-lm(the CLI) - Over MCP
compare_tools {"a": "jan", "b": "mlx-lm"}at/mcp, no key