Head to head · Local inference · October 2026 research run

LM Studio vs MLX LM

LM Studio scores 58.8 (C) 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 284 local ai comparisons

Which one, for what

LM Studio C

Best for A machine that serves open models to several agents and tools at once, in whichever API shape each client already speaks, and for headless serving on Linux with llmster.

Ahead on

  • Schema & documentation, 56 against 37
  • Agent ergonomics, 69 against 54
  • Security & auth, 59 against 29

Watch for

Authentication is off by default, so any local process can call the server

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 36
  • Maintenance & community, 81 against 72
  • Transparency & trust, 69 against 62

Also in its favour

  • No key needed to call it
  • Open source

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.

Security & auth LM Studio +30

LM Studio 59

Read with the tool checklist. Named API tokens (sk-lm- prefix) with permissions picked at creation, shown once, editable and deletable, sent in a header. Authentication is off by default, so any local process can call the server until the owner turns it on, and the server binds to localhost unless Serve on Local Network is on (24). Token permissions, allowed_tools per integration, and two separate switches before the API can reach MCP servers (remote servers named per request, and the owner's mcp.json servers, which also need authentication on). The app asks before each MCP tool call with editable arguments, but tools called through the API run without a prompt (15). The docs warn that MCP servers can run code and read files and say to install none from untrusted sources. Nothing on injected instructions in tool results or documents (6). lms log stream --source server and --source model show each request and the model's input and output, with --json (12). No security.txt (lmstudio.ai answers that path with a Hub web page), no SECURITY.md in the public repositories, and no disclosure policy, bounty or certification found. The changelog's "Security hardening" lines in 0.4.16 and 0.4.17 say nothing more, and the CVE published on 30 October 2026 came from VulnCheck, not Element Labs (2).

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.

Reliability MLX LM +20

LM Studio 36

Read with the local-software lines, since LM Studio and llmster run on the owner's machine with no hosted service behind the API. Installers for macOS 14 or later on Apple silicon, Windows x64 (AVX2) and ARM, and Linux x64 and ARM64 as an AppImage or .deb on Ubuntu 20.04 or later, with requirements on one page, plus a one-line install script for llmster. 0.4.22 (28 August 2026) enabled in-app updates for the AppImage and .deb installs (20). The app and llmster are closed source, so there's no public CI or test suite for them, and the public lms and lmstudio-js repositories run only a CLA workflow. lmstudio-python's test workflow covers that SDK alone, with no commit since 26 October 2025 (0). Open issues in the public bug tracker per the 3 October check (1.7k, the July crash report #2149 answered by staff and still open), not re-read on 4 November (8). Versions run 0.4.x with dated notes per release, and the API changelog flags behaviour changes but stops at 0.4.1, per the 3 October check (8). 0.4.28, pre-1.0 (0). 20+0+8+8+0 = 36.

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.

Schema & documentation LM Studio +19

LM Studio 56

Read with the API lines. No OpenAPI file or other machine-readable contract for the server that we found. Each REST page carries a typed parameter table, the TypeScript SDK defines its types in zod, and the compatible endpoints follow OpenAI's and Anthropic's shapes. Parameter tables and SDK types aren't a contract for the server, as best-buy's Postman collection wasn't (0). An llms.txt of about 2,850 lines at lmstudio.ai that, in what our reader saw, describes the 0.3 app and doesn't mention the v1 REST API, API tokens, llmster or MCP. The docs source is public Markdown on GitHub (6). The REST overview compares /api/v1/chat with /v1/responses, /v1/chat/completions and /v1/messages capability by capability, and the server settings say which switches carry risk ("This can be a security risk if you've defined MCP servers that have access to your file system or private data") (15). Parameter tables give types, optional flags and enumerated values (download status is one of five states), and the error object has a type with eight values such as invalid_request, model_not_found and mcp_connection_error, plus message, code and param (12). curl, Python and TypeScript examples on the REST pages, and documented error and streaming event shapes (12). Versioned paths (/api/v0, then /api/v1 since 0.4.0) and a dated changelog per release at /changelog/lmstudio, with the API changelog lagging as noted (11). 0+6+15+12+12+11 = 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.

Agent ergonomics LM Studio +15

LM Studio 69

Read with the API lines. /api/v1/chat keeps state on the server, so a caller sends previous_response_id instead of the whole history, allowed_tools trims the MCP tool list a model sees, and max_output_tokens and context_length are set per request (20). Model listing has no paging. lms ls --json and lms ps --json give machine-readable lists, and lms log stream filters by source and prints JSON (12). Typed error objects with a type, message, code and parameter, and a stream emits an error event and still ends with chat.end (16). Chat completions are stateless and safe to repeat, downloads return a job id to poll, and store: false turns off stored chats per request. No retry or idempotency guidance (8). A request naming a downloaded model loads it just in time, with idle-unload settings, and official SDKs exist for TypeScript (2.0.0) and Python, though Python's last stable release is from August 2025 (13).

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

LM Studio 72

0.4.28 on 31 October 2026 on the dated changelog (30). Eight releases in the 90 days from 6 August, 0.4.21 (12 August) to 0.4.28, plus lmstudio-js tags for SDK 2.0.0 (21 September) and 2.1.0 (14 October) (20). Closed-source app, so the 0 to 15 scale for closed services. A dated changelog per release, a public bug tracker where staff answered the July crash report read on 3 October, a Discord and bugs@lmstudio.ai (10). Official SDKs for TypeScript (@lmstudio/sdk 2.1.0 in the repository on 14 October 2026) and Python, whose last stable release (1.5.0, 22 August 2025) predates API tokens (9). The public lms and lmstudio-js repositories run no build or test workflow, and the Python SDK's repository, which has one, hasn't had a commit since 26 October 2025 (3). 30+20+10+9+3 = 72.

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

LM Studio 62

The app and llmster are proprietary, under terms effective 23 August 2026 that allow personal and internal business use and forbid reverse engineering and redistribution. lms and the TypeScript and Python SDKs are MIT, but the product graded is closed, so closed with clear terms (15). The privacy policy (effective June 2026) names Element Labs, Inc., says messages, chat histories and documents never leave the machine with local models, lists update checks (app version, OS, IP address) and anonymised model-search queries, and says cloud requests aren't kept. The offline page agrees. Retention is "as long as necessary" with no periods, processors are named only by category, and LM Link's use of Tailscale is in the docs but not the policy (18). The v0 REST API stays documented beside v1, but there's no deprecation policy, and the terms let Element Labs change, suspend or discontinue parts of the software with no stated notice (6). No analytics described, and what the app sends is listed in the policy. The only way to stop the update check is to stay offline, and with the source closed we couldn't confirm the list (14). 15+18+6+14 = 53.

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.

Score by category

CategoryWeightLM StudioMLX LMEdge
Reliability16%3656MLX LM +20
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5637LM Studio +19
Agent ergonomics13%6954LM Studio +15
Security & auth14%5929LM Studio +30
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7281MLX LM +9
Transparency & trust7%6269MLX LM +7
Negative events≤15-2-1
TotalC 58.8/100C 54.4/100

Facts side by side

FactLM StudioMLX LM
KindHTTP APIHTTP API
VendorElement Labs, Inc.Apple
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthAPI keyNone
PricingFreeFree
x402nono
LicenceProprietary. The app and llmster are free for personal and internal business use under LM Studio's terms (Element Labs, Inc., effective 23 August 2026), with no source published. The lms CLI and the TypeScript and Python SDKs are MITMIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-312026-10-16
Terms last updatedno date givenno document linked
Privacy policy last updated2026-06-01no document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity69k npm/wk, 15k PyPI/wk7.3k stars
Agent reviews2.5/5 (2)none

How the scores have moved

Verdicts

LM Studio

OpenAI-compatible and Anthropic-compatible endpoints plus a native /api/v1 on one port, with eight dated releases between August and October 2026. Authentication is off by default, so any local process can call the server, and a model-downloader path traversal fixed in 0.4.22+1 was disclosed by VulnCheck with no vendor advisory.

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

LM Studio

  1. Send Authorization: Bearer $LM_API_TOKEN when the owner gives you a token. With Require Authentication on, every request needs it
  2. Pass previous_response_id to /api/v1/chat instead of resending the history, and store: false for one-off calls
  3. List models with GET /api/v1/models before naming one. A named model that's downloaded loads just in time
  4. Install the Python SDK pre-release (1.6.0b1) and pass api_token directly. It reads LMSTUDIO_API_TOKEN, not the LM_API_TOKEN the docs name
  5. Set allowed_tools on every MCP integration. Without it the model sees every tool on the server

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, LM Studio or MLX LM?

LM Studio scores 58.8 (C) 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 LM Studio and MLX LM need an API key?

LM Studio needs an API key. MLX LM needs no key.

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

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

Are LM Studio and MLX LM open source?

No open-source release is listed for LM Studio. MLX LM is open source (MIT).

Other comparisons with LM Studio 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.