Foundry Local and Ollama both run AI models on your own PC, with no cloud subscription and no per-token costs. They're built for different jobs, though: Ollama is a ready-to-use app and server for running open models, while Microsoft positions Foundry Local as a runtime and SDK for building on-device AI into apps. We've compared them using Microsoft Learn and Ollama's official documentation.
At a glance
Foundry Local | Ollama | |
|---|---|---|
Made by | Microsoft | Ollama |
Main use | Embedding local AI in apps | Running models from an app, CLI or API |
Platforms | Windows, macOS (Apple silicon), Linux | Windows, macOS, Linux (separate docs for each) |
Hardware acceleration | Automatic: GPUs and NPUs when available, CPU fallback | NVIDIA and AMD Radeon GPUs on Windows (ROCm or Vulkan) |
API | SDK (C#, C++, JavaScript, Rust, Python) plus optional OpenAI-compatible server | Local API at localhost:11434 |
Models | Curated, optimised catalogue | Large library of open models |
What Foundry Local is for
Microsoft describes Foundry Local as an end-to-end local AI solution for shipping applications that run entirely on the device. Its runtime handles downloading models, hardware acceleration, model management and inference through ONNX Runtime, and Microsoft says it adds about 20MB to an application package.
Its strongest feature for PC owners with new laptops is automatic hardware acceleration: Microsoft says Foundry Local detects the hardware and picks the best execution provider, running on GPUs and NPUs when available and falling back to the CPU. It also manages execution provider and driver updates. The model catalogue is curated rather than open, and Microsoft lists chat models such as GPT OSS, Qwen, DeepSeek, Mistral and Phi, plus Whisper for transcription. It supports OpenAI request and response formats, including the Responses API, and no Azure subscription is needed.
The catch is that Microsoft's current documentation is aimed at developers, with getting-started guides built around SDK packages for .NET, Node.js and other languages. If you just want to chat with a model, it's less direct than Ollama. Our Foundry Local guide covers getting started, and we reported on Foundry Local's GitHub Copilot integration.




