Head to head · Local inference · October 2026 research run
Docker Model Runner vs Foundry Local
Foundry Local scores 60.5 (C) on agent readiness against Docker Model Runner's 57.1 (C), and leads in 3 of 7 scored categories. Docker Model Runner leads on reliability. Both do local inference.
Which one, for what
Good for A team that already runs Docker and wants local models served to containers and Compose services through OpenAI-, Anthropic- or Ollama-compatible routes, with models stored as OCI artefacts.
Ahead on
- Reliability, 85 against 68
Watch for
No credential on the API. The docs say any client that can reach it, including other containers, can pull, load and run models
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
- Maintenance & community, 88 against 55
Also in its favour
- No incidents deducted, where Docker Model Runner loses 3 points for them
Watch for
The local server takes no credential, and its routes include model load and unload and POST /shutdown
Score by category
| Category | Weight this run | Docker Model Runner | Foundry Local | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 85 | 68 | Docker Model Runner +17 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 49 | 53 | Foundry Local +4 |
| Agent ergonomics | 13%16.2 | 58 | 61 | Foundry Local +3 |
| Security & auth | 14%17.5 | 40 | 39 | Docker Model Runner +1 |
| Payments & pricing | 10%12.5 | 60 | 60 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 55 | 88 | Foundry Local +33 |
| Transparency & trust | 7%8.8 | 73 | 72 | Docker Model Runner +1 |
| Negative events | ≤15 | -3 | 0 | |
| Total | 57.1 · C | 60.5 · C |
Facts side by side
| Fact | Docker Model Runner | Foundry Local |
|---|---|---|
| Kind | HTTP API | SDK + MCP |
| Vendor | Docker, Inc. | Microsoft |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 (server, CLI plugin and dmr binary). Docker Desktop, which bundles it, is closed software under Docker's subscription agreement, and each model carries its own 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 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-08-12 | 2026-09-29 |
| Terms last updated | 2026-08-26 | no document linked |
| Privacy policy last updated | 2026-08-26 | no document linked |
| Customer content may train models | not found in the text | |
| Terms restrict automated access | yes | |
| Terms restrict benchmarking | yes | |
| Terms or service can change without notice | not found in the text | |
| Arbitration or class-action waiver | yes | |
| Popularity | 656 stars | 2.6k stars, 105k npm/wk, 47k PyPI/wk |
Verdicts
Docker Model Runner
CI passes on the main branch, and Docker has published two security advisories with CVEs and fixed versions for the project. The API takes no credential, so any client or container that reaches it can pull, delete and run models, and the documentation has no OpenAPI file or error reference.
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.
Before you call either
Docker Model Runner
- Use base URL
http://localhost:12434/engines/v1for OpenAI clients andhttp://localhost:12434for Anthropic and Ollama clients. Any API key value is accepted - In Docker Desktop, run
docker desktop enable model-runner --tcp 12434first. Host-side TCP is off by default - From a container, call
http://model-runner.docker.internalon Docker Desktop orhttp://172.17.0.1:12434on Docker Engine - Raise the context before agent work with
docker model configure --context-size <n> <model>. The llama.cpp default is 4,096 tokens - Name models with their namespace, such as
ai/smollm2, and expect plain-text error bodies with a 400, 404, 500 or 503 status
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
Questions
Which is better for AI agents, Docker Model Runner or Foundry Local?
Foundry Local scores 60.5 (C) on agent readiness against Docker Model Runner's 57.1 (C), and leads in 3 of 7 scored categories. Docker Model Runner leads on reliability.
Can an agent call Docker Model Runner and Foundry Local without installing anything?
No hosted endpoint is listed for Docker Model Runner. No hosted endpoint is listed for Foundry Local.
Are Docker Model Runner and Foundry Local open source?
Yes. Docker Model Runner is open source (Apache-2.0 (server, CLI plugin and `dmr` binary). Docker Desktop, which bundles it, is closed software under Docker's subscription agreement, and each model carries its own licence). 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).
Other comparisons with Docker Model Runner or Foundry Local
- AnythingLLM vs Docker Model Runner
- AnythingLLM vs Foundry Local
- Docker Model Runner vs Core
- Docker Model Runner vs GPT4All
- Docker Model Runner vs Jan
- Docker Model Runner vs Khoj
- Docker Model Runner vs KoboldCpp
- Docker Model Runner vs Lemonade
- Docker Model Runner vs llama.cpp
- Docker Model Runner vs LM Studio
- Docker Model Runner vs LocalAI
- Docker Model Runner vs MLX LM
- Docker Model Runner vs Ollama
- Docker Model Runner vs Open WebUI
- Docker Model Runner vs screenpipe
- Docker Model Runner vs TextGen
- 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 LM Studio
- 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
- Docker Model Runner vs Underdog
- Foundry Local vs Underdog
Machine-readable
- This page as Markdown
/compare/docker-model-runner-vs-foundry-local.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/docker-model-runner.json·/api/v1/tools/foundry-local.json - From a terminal
anchor compare docker-model-runner foundry-local(the CLI) - Over MCP
compare_tools {"a": "docker-model-runner", "b": "foundry-local"}at/mcp, no key