Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
The Windows AI landscape has grown quickly and the terminology can be hard to navigate. This page cuts through it: find your scenario, pick your starting point.
Options
- Ready-to-use AI models and APIs — Models distributed and managed by Microsoft; minimal code, no ML expertise needed.
- Windows AI APIs — LLM (Phi Silica), imaging models, OCR, semantic search, and more. Copilot+ PC required.
- Foundry Local — 20+ open-source LLMs and speech models via an OpenAI-compatible API. Any Windows hardware.
- Run any model locally — Bring your own ONNX model with full control over the inference pipeline.
- Windows ML — Hardware-accelerated inference on CPU, GPU, or NPU. Any Windows hardware.
- Other
- Microsoft Foundry — Cloud-hosted frontier models (GPT-4o, DALL-E, etc.) via REST API. Combine with Foundry Local for on-device/cloud fallback.
Terminology decoder
The Windows AI space has gone through rapid rebranding. Here's a translation table for terms you might encounter:
| Term you've seen | What it means now |
|---|---|
| Copilot Runtime APIs | Old name (2024) for Windows AI APIs. Same functionality, renamed. |
| Windows Copilot Runtime | Old umbrella term (2024) for the AI features now called Microsoft Foundry on Windows. |
| Windows AI Foundry | Old umbrella term (2025) for the AI features now called Microsoft Foundry on Windows. |
| Microsoft Foundry on Windows | Current umbrella brand covering Windows AI APIs + Foundry Local + Windows ML. |
| Microsoft Foundry | Microsoft's cloud-based AI platform. Different product, different team, similar name. |
| Phi Silica | The specific Phi model optimized for and built into Windows on Copilot+ PCs. Accessed via Windows AI APIs. |
| Phi (general) | Microsoft's family of small language models. Phi-4-mini etc. are available on Azure AI and via Foundry Local. Phi Silica is the NPU-optimized Windows inbox version. |
| Windows ML (old) | Legacy WinRT-based inference API, inbox since Windows 10 1809. Still works; no new investment. |
| Windows ML (new) | New ONNX Runtime-based NuGet package. Current and actively developed. |
| DirectML | No longer being actively developed (in sustained engineering). Low-level DirectX 12 ML API for GPU/NPU acceleration. |
| Windows ML IHV-specific Execution Providers | The replacement for DirectML, achieving higher performance by working natively with Windows hardware. |
| Copilot+ PC | A PC category defined by hardware: NPU with 40+ TOPS, 16GB+ RAM, specific SoCs. Required for Windows AI APIs; not required for Foundry Local or Windows ML. |
| NPU | Neural Processing Unit — dedicated AI acceleration hardware in Copilot+ PCs. Windows AI APIs route inference through the NPU automatically. |
Combine options in the same app
These options aren't mutually exclusive. A typical pattern for a resilient AI feature:
// 1. Try Windows AI APIs (fastest — Copilot+ only)
var readyState = LanguageModel.GetReadyState();
if (readyState == AIFeatureReadyState.EnsureNeeded)
{
var deploymentResult = await LanguageModel.EnsureReadyAsync();
if (deploymentResult.Status == PackageDeploymentStatus.CompletedSuccess)
{
readyState = LanguageModel.GetReadyState();
}
else
{
// Optional: inspect deploymentResult.ExtendedError for diagnostics.
// Treat as unavailable so we fall through to Foundry/Azure.
readyState = AIFeatureReadyState.NotSupportedOnCurrentSystem;
}
}
if (readyState != AIFeatureReadyState.NotSupportedOnCurrentSystem)
{
// Use Phi Silica via Windows AI APIs
using LanguageModel languageModel = await LanguageModel.CreateAsync();
}
// 2. Fall back to Foundry Local (any hardware)
else if (await foundryClient.IsModelAvailableAsync("phi-4-mini"))
{
// Use Foundry Local OpenAI-compatible API
}
// 3. Fall back to Azure AI (always available)
else
{
// Use Azure OpenAI
}
This pattern gives Copilot+ users the best experience while keeping the feature working on all hardware.
Still unsure?
- Microsoft Foundry on Windows overview — full platform overview
- AI Dev Gallery — browse working samples for every API
- Stack Overflow — windows-ai tag