Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Local runtime - Microsoft - verified

Microsoft Foundry Local: install, API, platforms and features

Microsoft Foundry Local is a local LLM runtime from Microsoft. As its docs describe it: Developers who want to ship on-device AI inside their own applications using native SDKs, a curated catalog of optimized ONNX models and automatic NPU, GPU or CPU acceleration for a single user per device. The latest release is v2.1.0, published September 30, 2026. License: Microsoft Software License Terms for the CLI, MIT for the SDK (not open source).

Homepage - Source on GitHub - Microsoft Software License Terms for the CLI, MIT for the SDK

Latest release
v2.1.0
Released
2026-09-30
License
Not open source
OpenAI API
Yes

Install

Copied verbatim from the page linked under each command. Labels are worded as the source words them.

windows

Terminal
winget install Microsoft.FoundryLocal

Source: learn.microsoft.com/en-us/azure/foundry-local/reference/reference-cli

macos

Terminal
brew tap microsoft/foundrylocal
brew install foundrylocal

Source: learn.microsoft.com/en-us/azure/foundry-local/reference/reference-cli

python

Terminal
pip install foundry-local-sdk

Source: github.com/microsoft/Foundry-Local#-quickstart

javascript

Terminal
npm install foundry-local-sdk

Source: github.com/microsoft/Foundry-Local#-quickstart

Run a model

The first-run example from the official docs. OpenAI-compatible endpoint: Optional OpenAI-compatible local server started with `foundry server start` (or `start_web_service()` in the SDK); no fixed default port is documented, `--port <port>` sets one and `foundry server status` confirms it

Terminal
foundry run qwen2.5-0.5b

Source: github.com/microsoft/Foundry-Local#%EF%B8%8F-cli

Features

What the Microsoft Foundry Local docs say it supports. Not stated means the docs do not say either way.

Microsoft Foundry Local documented features, each with its source
FeatureValueSource
InterfaceCLI, Server, Python librarySee sources below
PlatformsWindows, macOS, Linuxlearn.microsoft.com/en-us/azure/foundry-local/what-is-foundry-local
BackendsCPU, CUDA, NPU, Otherlearn.microsoft.com/en-us/azure/foundry-local/concepts/foundry-local-architecture
Model formatsONNXlearn.microsoft.com/en-us/azure/foundry-local/concepts/foundry-local-architecture
OpenAI-compatible APIYesOptional OpenAI-compatible local server started with `foundry server start` (or `start_web_service()` in the SDK); no fixed default port is documented, `--port <port>` sets one and `foundry server status` confirms itlearn.microsoft.com/en-us/azure/foundry-local/what-is-foundry-local
Anthropic-compatible APINot statedDocs do not say
Tool callingYesgithub.com/microsoft/Foundry-Local#-samples
Structured outputsNot statedDocs do not say
Vision (image input)Not statedDocs do not say
Multi-GPUNot statedDocs do not say
MCP clientNot statedDocs do not say
LicenseMicrosoft Software License Terms for the CLI, MIT for the SDKNot open sourcegithub.com/microsoft/Foundry-Local/blob/main/LICENSE
Latest releasev2.1.0September 30, 2026github.com/microsoft/Foundry-Local/releases/tag/v2.1.0

Models to run with Microsoft Foundry Local

Browse the open-weight models you can run locally for download sizes, licenses and memory fit; check which formats Microsoft Foundry Local loads in the table above.

Compare Microsoft Foundry Local

FAQ

Does Microsoft Foundry Local have an OpenAI-compatible API?

Yes. Endpoint, per its docs: Optional OpenAI-compatible local server started with `foundry server start` (or `start_web_service()` in the SDK); no fixed default port is documented, `--port <port>` sets one and `foundry server status` confirms it. Source: https://learn.microsoft.com/en-us/azure/foundry-local/what-is-foundry-local

Does Microsoft Foundry Local have an Anthropic-compatible API?

Its official docs, read on October 18, 2026, do not say.

Which platforms and GPUs does Microsoft Foundry Local support?

Its docs list Windows, macOS and Linux, with these backends: CPU, CUDA, NPU and Other.

How do I install Microsoft Foundry Local?

On windows: "winget install Microsoft.FoundryLocal", as shown at https://learn.microsoft.com/en-us/azure/foundry-local/reference/reference-cli. This page lists 4 install commands: windows, macos, python and javascript.

Is Microsoft Foundry Local open source?

No. It is released under Microsoft Software License Terms for the CLI, MIT for the SDK; the license is at https://github.com/microsoft/Foundry-Local/blob/main/LICENSE.

What is the latest version of Microsoft Foundry Local?

v2.1.0, published September 30, 2026 (https://github.com/microsoft/Foundry-Local/releases/tag/v2.1.0), as of October 18, 2026.

Which model formats does Microsoft Foundry Local run?

ONNX, per https://learn.microsoft.com/en-us/azure/foundry-local/concepts/foundry-local-architecture

Sources

Last verified from the pages below.

Newsletter

Local AI, every week

One email per week. New model releases, runtime updates and what they mean for what you build.