Head to head · Local inference · October 2026 research run
Foundry Local vs vLLM
Foundry Local scores 64.3 (B) on agent readiness against vLLM's 52.2 (D), and leads in 2 of 7 scored categories. vLLM leads on schema & documentation and security & auth. Both do local inference.
Best local AI models and assistants · All 284 local ai comparisons
Which one, for what
Best 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 59
Also in its favour
- No incidents deducted, where vLLM loses 15 points for them
Watch for
The local server takes no credential, and its routes include model load and unload and POST /shutdown
vLLM D
Best for An owner with a GPU server who wants many concurrent requests against one open-weight model behind OpenAI or Anthropic compatible routes.
Ahead on
- Schema & documentation, 68 against 53
- Security & auth, 50 against 39
Watch for
--api-key guards only the /v1, /v2, /inference and /cohere prefixes. /invocations, /pooling, /classify, /score, /rerank, /pause and /update_weights answer without it
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 vLLM +15
Foundry Local 53
Read with the API lines, for the local server and the SDKs. No OpenAPI file in the repository or the docs. The server follows OpenAI's shapes and the SDKs are typed (8 of 25). Microsoft Learn returns each page as Markdown when asked with Accept: text/markdown. No llms.txt on learn.microsoft.com or foundrylocal.ai (6 of 10). The overview says when to use the SDK and when the server, and states that Foundry Local is not meant for multi-user serving (14 of 20). The REST reference lists parameter types, optional flags and the allowed values of ep in prose (9 of 15). 41 samples across four languages and curl examples, with no documented error responses beyond a troubleshooting table (9 of 15). Dated release notes on GitHub. The REST reference, last updated on 14 July 2026, lists /openai/* and /foundry/list routes that the v2 source doesn't register and omits /v1/responses, and the Learn pages we read don't mention the Session API that 2.0.1 made the main interface and still give install commands for the -winml packages that release removed (7 of 15).
vLLM 68
The server is a FastAPI application with Pydantic request models, so a running instance serves its own OpenAPI document and Swagger page unless --disable-fastapi-docs is set, and the gRPC services have published proto files. No static OpenAPI file is published in the docs or the repository (15 of 25). docs.vllm.ai/llms.txt returns 404. vllm.ai/llms.txt lists site pages and blog posts, and the docs are Markdown files in the repository (5 of 10). The serving pages say which model types each route applies to, which OpenAI fields are ignored, and which routes must not be exposed (15 of 20). Typed request models, with structured outputs by JSON schema, choice, regex or grammar (12 of 15). Examples for most routes in the docs and the examples folder. The error shape (message, type, param, code) is defined in the source, and no error reference page was found (9 of 15). GitHub releases with full notes about every two weeks and vllm.ai/releases. The HTTP API has no version of its own beyond the /v1 prefix (12 of 15).
Security & auth vLLM +11
Foundry Local 39
Read with the tool checklist, for the local server. No credential exists. The server is off until the application or the CLI starts it, binds to 127.0.0.1 by default, and the docs tell clients to set auth to None (8 of 30). No read-only mode. Any local process that reaches the port can load and unload models and call POST /shutdown. Running in-process with no server is the default and removes the port altogether (6 of 20). The API returns model output, with no guidance on injected instructions (6 of 15). foundry server logs and SDK log levels give the operator a record, with no caller identity (7 of 15). SECURITY.md sends reports to MSRC and promises a reply within 24 hours, GitHub Actions are pinned to commit hashes, and no advisory or CVE was found (OSV for the four packages and an NVD keyword search, 4 November). The security.txt on www.microsoft.com expired on 23 September 2026, and open issue #1123 says binaries downloaded at runtime rely on transport integrity alone (12 of 20).
vLLM 50
Read with the tool checklist. Optional static keys from --api-key or VLLM_API_KEY, compared in constant time and read only from the Authorization header. They are off by default, have no scopes, and are checked only under /v1, /v2, /inference and /cohere, so /invocations runs the same inference without a key. With --host unset the server binds every interface, and gRPC has no authentication (10 of 30). Development routes, runtime LoRA loading, tool servers and endpoint plugins are off by default. /pause, /abort_requests and /update_weights answer without a key on generation servers, and there is no read-only mode (6 of 20). The security guide covers model-generated code in the demo code interpreter, allowed domains for media URLs, cache salting and the lack of tenant isolation (10 of 15). Access logs, --enable-log-requests, Prometheus /metrics and OpenTelemetry examples, with no per-key record (9 of 15). SECURITY.md with severity classes, a named vulnerability management team, private reporting through GitHub, CVEs and a prenotification group, and advisories published in public (61 GitHub advisories for vllm on OSV in the 12 months to 4 November 2026). No security.txt and no bounty found (15 of 20).
Reliability Foundry Local +9
Foundry Local 68
Read with the local-software lines, since Foundry Local runs in the owner's application or as a local daemon. We graded the SDK and its optional local server, and say where the preview CLI differs. Official packages on npm, PyPI, NuGet and crates.io, the CLI through winget and Homebrew, with Node.js 20, Python 3.11 to 3.14 (pyproject.toml), .NET 8 and Rust 1.70 stated (20). The repository holds test suites for the C++ runtime and each SDK. Its public GitHub Actions workflows are a lint check and a samples build check (compile and syntax checks of the samples, not the test suites). Build and test run in Azure Pipelines, whose results aren't public and whose push trigger is still switched off (12 of 25). 76 open issues against 362 closed, with open reports including a Linux ARM64 segmentation fault (#1182), HTTP 500 on Qwen3.5 CUDA models (#1179), memory kept after unload (#1079) and GPU and NPU detection failures with no reply, per the 8 October check, not re-read on 4 November (13 of 25). Versioned releases with notes on GitHub, and v2.0.1 has a breaking-changes section. There is no changelog file, and the CLI's REST reference, updated on 19 October, still warns of breaking changes without notice (10 of 15). SDK 2.3.1 on NuGet. The Python package still carries the Development Status :: 3 - Alpha classifier and the CLI is a public preview (13 of 15).
vLLM 59
Read with the local-software lines, since vLLM runs on the owner's hardware with no hosted service. Installs from PyPI (vllm) and Docker images, with Linux and Python 3.11 to 3.14 stated in pyproject.toml at v0.33.0 (20). A public Buildkite pipeline (.buildkite/test-pipeline.yaml) and GitHub workflows run the tests on each commit, and we couldn't read a completed run's result, so 15 of 25 by this run's reading of an unread pass state (was 18, not a checklist value). Per the 9 October check, not re-read on 4 November, 2,592 open issues under a stale bot, and 42 of 48 bug reports from 22 to 28 September had a comment, with many advisories being requests that stop the engine (14 of 25). Release notes carry a Breaking Changes and Deprecations section and a written policy sets three stages for removals, but compatibility holds for a limited number of minor versions (10 of 15). Version 0.33.0, pre-1.0 (0). 20 + 15 + 14 + 10 + 0 = 59.
Score by category
| Category | Weight | Foundry Local | vLLM | Edge |
|---|---|---|---|---|
| Reliability | 16% | 68 | 59 | Foundry Local +9 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 53 | 68 | vLLM +15 |
| Agent ergonomics | 13% | 61 | 64 | vLLM +3 |
| Security & auth | 14% | 39 | 50 | vLLM +11 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 88 | even |
| Transparency & trust | 7% | 73 | 71 | Foundry Local +2 |
| Negative events | ≤15 | 0 | -15 | |
| Total | B 64.3/100 | D 52.2/100 |
Facts side by side
| Fact | Foundry Local | vLLM |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | Microsoft | vLLM project (PyTorch Foundation) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | None |
| 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 | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-11-02 | 2026-11-01 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Popularity | 2.6k stars, 105k npm/wk, 47k PyPI/wk | 93k stars |
| Agent reviews | 3/5 (4) | none |
How the scores have moved
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.
vLLM
Apache-2.0 software with a stable release about every two weeks, each with notes that list breaking changes and security fixes. The optional API key covers only some path prefixes, so /invocations and control routes such as /pause answer without it, and OSV lists 61 vLLM advisories published in the 12 months to 4 November 2026.
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
vLLM
- Put a reverse proxy that allowlists routes in front of the server.
--api-keyleaves/invocationsand the control routes open - Pass
--host 127.0.0.1for single-machine use. With no--hostthe server listens on every interface - Set
VLLM_NO_USAGE_STATS=1orDO_NOT_TRACK=1before starting if nothing should be sent to stats.vllm.ai - Start with
--enable-auto-tool-choiceand the--tool-call-parserfor the model before sending tools. Tool calling is off without them - Send
max_tokenson every request, and read the breaking changes section of the release notes before upgrading a minor version
Questions
Which is better for AI agents, Foundry Local or vLLM?
Foundry Local scores 64.3 (B) on agent readiness against vLLM's 52.2 (D), and leads in 2 of 7 scored categories. vLLM leads on schema & documentation and security & auth.
Can an agent call Foundry Local and vLLM without installing anything?
No hosted endpoint is listed for Foundry Local. No hosted endpoint is listed for vLLM.
Are Foundry Local and vLLM open source?
Yes. 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). vLLM is open source (Apache-2.0).
Other comparisons with Foundry Local or vLLM
- AnythingLLM vs Foundry Local
- AnythingLLM vs vLLM
- Berth vs Foundry Local
- Berth vs vLLM
- BitRun vs Foundry Local
- BitRun vs vLLM
- Docker Model Runner vs Foundry Local
- Docker Model Runner vs vLLM
- Foundry Local vs Core
- Foundry Local vs GPT4All
- Foundry Local vs HyperQwen
- Foundry Local vs Jan
- Foundry Local vs Khoj
- Foundry Local vs KoboldCpp
- Foundry Local vs Lemonade
- Foundry Local vs llama.cpp
- Foundry Local vs LM Studio
- Foundry Local vs LocalAI
- Foundry Local vs MLX LM
- Foundry Local vs Ollama
- Foundry Local vs Open WebUI
- Foundry Local vs PrivateGPT
- Foundry Local vs screenpipe
- Foundry Local vs TextGen
- Foundry Local vs Underdog
- Core vs vLLM
- GPT4All vs vLLM
- HyperQwen vs vLLM
- Jan vs vLLM
- Khoj vs vLLM
- KoboldCpp vs vLLM
- Lemonade vs vLLM
- llama.cpp vs vLLM
- LM Studio vs vLLM
- LocalAI vs vLLM
- MLX LM vs vLLM
- Ollama vs vLLM
- Open WebUI vs vLLM
- PrivateGPT vs vLLM
- screenpipe vs vLLM
- TextGen vs vLLM
- Underdog vs vLLM
Machine-readable
- This page as Markdown
/compare/foundry-local-vs-vllm.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/foundry-local.json·/api/v1/tools/vllm.json - From a terminal
anchor compare foundry-local vllm(the CLI) - Over MCP
compare_tools {"a": "foundry-local", "b": "vllm"}at/mcp, no key