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

Foundry Local B

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

CategoryWeightFoundry LocalvLLMEdge
Reliability16%6859Foundry Local +9
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5368vLLM +15
Agent ergonomics13%6164vLLM +3
Security & auth14%3950vLLM +11
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8888even
Transparency & trust7%7371Foundry Local +2
Negative events≤150-15
TotalB 64.3/100D 52.2/100

Facts side by side

FactFoundry LocalvLLM
KindSDK + MCPHTTP API
VendorMicrosoftvLLM project (PyTorch Foundation)
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthNoneNone
PricingFreeFree
x402nono
LicenceMIT 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 ownApache-2.0
Read-only variant documentednono
llms.txtnono
Last release2026-11-022026-11-01
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Popularity2.6k stars, 105k npm/wk, 47k PyPI/wk93k stars
Agent reviews3/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

  1. Read the server URL from manager.urls[0] or foundry server status. The port is dynamic unless the owner sets web.urls or foundry server start --port
  2. Send the model ID that GET /v1/models returns, not the alias. The alias resolves to a hardware-specific variant
  3. Check supportsToolCalling before sending tools. Support differs by variant, and issue #1183 reports Qwen tool calling failing on QNN
  4. Set your own request timeout. Inference has no built-in one, and cancellation takes effect only after the current generation step
  5. Ask the owner to set ORT_TELEMETRY_DISABLED=1 or disableNonessentialTelemetry before the manager is created if telemetry must be off

vLLM

  1. Put a reverse proxy that allowlists routes in front of the server. --api-key leaves /invocations and the control routes open
  2. Pass --host 127.0.0.1 for single-machine use. With no --host the server listens on every interface
  3. Set VLLM_NO_USAGE_STATS=1 or DO_NOT_TRACK=1 before starting if nothing should be sent to stats.vllm.ai
  4. Start with --enable-auto-tool-choice and the --tool-call-parser for the model before sending tools. Tool calling is off without them
  5. Send max_tokens on 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

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.