Head to head · Local inference · October 2026 research run
Foundry Local vs Ollama
Foundry Local scores 60.5 (C) on agent readiness against Ollama's 56.3 (C), and leads in 4 of 7 scored categories. Ollama leads on schema & documentation and agent ergonomics. 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 53
- Security & auth, 39 against 28
- Maintenance & community, 88 against 81
- Transparency & trust, 72 against 59
Also in its favour
- No incidents deducted, where Ollama loses 4 points for them
Watch for
The local server takes no credential, and its routes include model load and unload and POST /shutdown
Ollama C
Good for A person or an agent that wants an open model behind a local API with one install, and for pointing Claude Code, Codex or OpenCode at local or cloud models.
Ahead on
- Schema & documentation, 79 against 53
- Agent ergonomics, 75 against 61
Watch for
No credential on the local API, and any caller that reaches it can pull, push, create and delete models
Score by category
| Category | Weight this run | Foundry Local | Ollama | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 68 | 53 | Foundry Local +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 53 | 79 | Ollama +26 |
| Agent ergonomics | 13%16.2 | 61 | 75 | Ollama +14 |
| Security & auth | 14%17.5 | 39 | 28 | Foundry Local +11 |
| 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 | 81 | Foundry Local +7 |
| Transparency & trust | 7%8.8 | 72 | 59 | Foundry Local +13 |
| Negative events | ≤15 | 0 | -4 | |
| Total | 60.5 · C | 56.3 · C |
Facts side by side
| Fact | Foundry Local | Ollama |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | Microsoft | Ollama Inc. |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | None |
| Pricing | Free | Freemium |
| 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 | MIT (server, CLI and desktop app). Ollama Cloud is a closed service under the ollama.com terms, and each model carries its own licence |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-09-29 | 2026-10-01 |
| Terms last updated | no document linked | 2026-05-01 |
| Privacy policy last updated | no document linked | 2026-03-01 |
| 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 | 2.6k stars, 105k npm/wk, 47k PyPI/wk | 181k stars, 872k npm/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.
Ollama
An OpenAPI 3.1 file for the 15 native operations and llms.txt with 68 links to Markdown pages. No credential on the local API, and any caller that reaches it can pull, push, create and delete models.
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
Ollama
- Send
"stream": falsefor one JSON body. The native routes stream NDJSON by default - Set
OLLAMA_CONTEXT_LENGTH=64000oroptions.num_ctxbefore agent work. The default is 4k below 24 GiB of VRAM - Back off on a 503. It means the queue (512 by default) is full
- Put an authenticating proxy in front before binding past 127.0.0.1. The server checks no credential
- Expect model names with a
cloudtag to run on Ollama's servers. They needollama signinand fail withOLLAMA_NO_CLOUD=1
Questions
Which is better for AI agents, Foundry Local or Ollama?
Foundry Local scores 60.5 (C) on agent readiness against Ollama's 56.3 (C), and leads in 4 of 7 scored categories. Ollama leads on schema & documentation and agent ergonomics.
Can an agent call Foundry Local and Ollama without installing anything?
No hosted endpoint is listed for Foundry Local. No hosted endpoint is listed for Ollama.
Are Foundry Local and Ollama 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). Ollama is open source (MIT (server, CLI and desktop app). Ollama Cloud is a closed service under the ollama.com terms, and each model carries its own licence).
Other comparisons with Foundry Local or Ollama
- AnythingLLM vs Foundry Local
- AnythingLLM vs Ollama
- Docker Model Runner vs Foundry Local
- Docker Model Runner vs Ollama
- 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 Open WebUI
- Foundry Local vs screenpipe
- Foundry Local vs TextGen
- Core vs Ollama
- GPT4All vs Ollama
- Jan vs Ollama
- Khoj vs Ollama
- KoboldCpp vs Ollama
- Lemonade vs Ollama
- llama.cpp vs Ollama
- LM Studio vs Ollama
- LocalAI vs Ollama
- MLX LM vs Ollama
- Ollama vs Open WebUI
- Ollama vs screenpipe
- Ollama vs TextGen
- Foundry Local vs Underdog
- Ollama vs Underdog
Machine-readable
- This page as Markdown
/compare/foundry-local-vs-ollama.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/foundry-local.json·/api/v1/tools/ollama.json - From a terminal
anchor compare foundry-local ollama(the CLI) - Over MCP
compare_tools {"a": "foundry-local", "b": "ollama"}at/mcp, no key