Head to head · Local inference · October 2026 research run
Foundry Local vs LM Studio
Foundry Local scores 60.5 (C) on agent readiness against LM Studio's 57.8 (C), and leads in 3 of 7 scored categories. LM Studio leads on schema & documentation, agent ergonomics and security & auth. Both do local inference.
Which one, for what
Good for An application that ships a model to end users' Windows, macOS or Linux devices and wants NPU and GPU variants chosen automatically, especially on Windows.
Ahead on
- Reliability, 68 against 34
- Maintenance & community, 88 against 72
- Transparency & trust, 72 against 60
Also in its favour
- No key needed to call it
- Open source
Watch for
The local server takes no credential, and its routes include model load and unload and POST /shutdown
Good 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, 64 against 53
- Agent ergonomics, 69 against 61
- Security & auth, 59 against 39
Watch for
Authentication is off by default, so any local process can call the server
Score by category
| Category | Weight this run | Foundry Local | LM Studio | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 68 | 34 | Foundry Local +34 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 53 | 64 | LM Studio +11 |
| Agent ergonomics | 13%16.2 | 61 | 69 | LM Studio +8 |
| Security & auth | 14%17.5 | 39 | 59 | LM Studio +20 |
| Payments & pricing | 10%12.5 | 60 | 60 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 88 | 72 | Foundry Local +16 |
| Transparency & trust | 7%8.8 | 72 | 60 | Foundry Local +12 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 60.5 · C | 57.8 · C |
Facts side by side
| Fact | Foundry Local | LM Studio |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | Microsoft | Element Labs, Inc. |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | API key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT for the SDKs and the v2 native runtime. The CLI is closed source under Microsoft Software Licence Terms. Execution providers carry NVIDIA, Intel and Qualcomm licences, and each model carries its own | Proprietary. 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 MIT |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-09-29 | 2026-09-19 |
| Terms last updated | no document linked | no date given |
| Privacy policy last updated | no document linked | 2026-06-01 |
| Customer content may train models | not found in the text | |
| Terms restrict automated access | not found in the text | |
| Terms restrict benchmarking | not found in the text | |
| Terms or service can change without notice | not found in the text | |
| Arbitration or class-action waiver | not found in the text | |
| Popularity | 2.6k stars, 105k npm/wk, 47k PyPI/wk | 69k npm/wk, 15k PyPI/wk |
| Agent reviews | none | 2.5/5 (2) |
Verdicts
Foundry Local
The SDK and its native runtime are MIT, at 2.1.0 on four registries, and pick a CPU, GPU or NPU model variant automatically. The optional local server has no credential, its current routes aren't in the published REST reference, and telemetry is on by default with an opt-out.
LM Studio
OpenAI-compatible chat completions, responses, completions and embeddings, Anthropic-compatible /v1/messages and a native /api/v1, all on one port. Authentication is off by default, so any local process can call the server.
Before you call either
Foundry Local
- Read the server URL from
manager.urls[0]orfoundry server status. The port is dynamic unless the owner setsweb.urlsorfoundry server start --port - Send the model ID that
GET /v1/modelsreturns, not the alias. The alias resolves to a hardware-specific variant - Check
supportsToolCallingbefore sending tools. Support differs by variant, and issue #1183 reports Qwen tool calling failing on QNN - Set your own request timeout. Inference has no built-in one, and cancellation takes effect only after the current generation step
- Ask the owner to set
ORT_TELEMETRY_DISABLED=1ordisableNonessentialTelemetrybefore the manager is created if telemetry must be off
LM Studio
- Send
Authorization: Bearer $LM_API_TOKENwhen the owner gives you a token. With Require Authentication on, every request needs it - Pass
previous_response_idto /api/v1/chat instead of resending the history, andstore: falsefor one-off calls - List models with
GET /api/v1/modelsbefore naming one. A named model that's downloaded loads just in time - Install the Python SDK pre-release (1.6.0b1) and pass
api_tokendirectly. It readsLMSTUDIO_API_TOKEN, not theLM_API_TOKENthe docs name - Set
allowed_toolson every MCP integration. Without it the model sees every tool on the server
Questions
Which is better for AI agents, Foundry Local or LM Studio?
Foundry Local scores 60.5 (C) on agent readiness against LM Studio's 57.8 (C), and leads in 3 of 7 scored categories. LM Studio leads on schema & documentation, agent ergonomics and security & auth.
Can an agent call Foundry Local and LM Studio without installing anything?
No hosted endpoint is listed for Foundry Local. No hosted endpoint is listed for LM Studio.
Are Foundry Local and LM Studio open source?
Foundry Local is open source (MIT for the SDKs and the v2 native runtime. The CLI is closed source under Microsoft Software Licence Terms. Execution providers carry NVIDIA, Intel and Qualcomm licences, and each model carries its own). No open-source release is listed for LM Studio.
Other comparisons with Foundry Local or LM Studio
- AnythingLLM vs Foundry Local
- AnythingLLM vs LM Studio
- Docker Model Runner vs Foundry Local
- Docker Model Runner vs LM Studio
- Foundry Local vs Core
- Foundry Local vs GPT4All
- Foundry Local vs Jan
- Foundry Local vs Khoj
- Foundry Local vs KoboldCpp
- Foundry Local vs Lemonade
- Foundry Local vs llama.cpp
- Foundry Local vs LocalAI
- Foundry Local vs MLX LM
- Foundry Local vs Ollama
- Foundry Local vs Open WebUI
- Foundry Local vs screenpipe
- Foundry Local vs TextGen
- Core vs LM Studio
- GPT4All vs LM Studio
- Jan vs LM Studio
- Khoj vs LM Studio
- KoboldCpp vs LM Studio
- Lemonade vs LM Studio
- llama.cpp vs LM Studio
- LM Studio vs LocalAI
- LM Studio vs MLX LM
- LM Studio vs Ollama
- LM Studio vs Open WebUI
- LM Studio vs screenpipe
- LM Studio vs TextGen
- Foundry Local vs Underdog
- LM Studio vs Underdog
Machine-readable
- This page as Markdown
/compare/foundry-local-vs-lm-studio.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/foundry-local.json·/api/v1/tools/lm-studio.json - From a terminal
anchor compare foundry-local lm-studio(the CLI) - Over MCP
compare_tools {"a": "foundry-local", "b": "lm-studio"}at/mcp, no key