Icon for Foundry Local

Foundry Local

Open Source Free Trial

Microsoft's on-device AI runtime and SDK that runs ONNX models on the user's NPU, GPU or CPU

Foundry Local is Microsoft's on-device inference runtime, built to ship inside an application rather than run as a shared server. It runs models through ONNX Runtime and picks an NPU, GPU or CPU execution provider automatically.

It supports Windows, macOS (Apple silicon) and Linux, with SDKs for C, C++, C#, JavaScript, Python and Rust, an optional OpenAI-compatible local server and a CLI. Models come from a curated catalog (Qwen, Phi, Mistral, GPT OSS, Whisper) or your own ONNX Runtime GenAI models.

The SDK is MIT licensed; the CLI is a preview under Microsoft license terms.

Pricing: Free

Hosting Self-hosted
Pricing Free, Free
License MIT (SDK); CLI under Microsoft license terms
Screenshot of Foundry Local webpage

Work on Foundry Local? Feature it at the top of Frameworks & Stacks.

Is your product missing?

Add it here →