Back to directory

Foundry Local

Microsoft's end-to-end local AI SDK for shipping on-device AI features, with native SDKs for C#, JavaScript, Python, and Rust, automatic hardware acceleration, and an OpenAI-compatible API.

Foundry Local

Foundry Local is a lightweight runtime and set of native SDKs for building applications that run AI entirely on a user's device, so conversations never leave the device, responses start without network latency, and the app keeps working offline with no per-token cost or API keys. The runtime handles model acquisition, hardware acceleration, model lifecycle management, and inference through ONNX Runtime, automatically selecting the best available NPU, GPU, or CPU on the end user's hardware.

It ships a curated catalog of models optimized and quantized for on-device use, covering chat completions from families such as GPT OSS, Qwen, DeepSeek, Mistral, and Phi, and audio transcription with Whisper, with models versioned so an application can pin a version or update automatically. It exposes an OpenAI-compatible API, including the Responses API format, so an application already built against the OpenAI SDK can point at a Foundry Local endpoint with minimal changes, and an optional local server can serve models to multiple processes or tools such as LangChain.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.