Edge adds Aion Instruct and a Prompt API trial
Published
Microsoft Edge announced on 2026-11-19 that Aion Instruct replaces Phi-4-mini as its built-in small language model. The same announcement opens an origin trial for the Prompt API and makes an experimental Decisions API available as a developer preview in Edge Canary and Dev channels (Microsoft Edge Blog).
The model change and the two API programs have different release boundaries. Aion Instruct is also published as an open-weights model, the Prompt API origin trial enables code on a live site for a limited period, and the Decisions API remains an early implementation whose API and implementation can change (Microsoft Edge Blog).
A new built-in model
Section titled “A new built-in model”Microsoft describes Aion Instruct as a 2.3-billion-parameter small language model for text synthesis, generation, and summarization. It also follows instructions and produces structured output. Edge downloads it when a site or feature first needs it and only on a device that can run it. Turning off On-device AI in Edge settings removes the model and stops later downloads (Microsoft Edge Blog).
Microsoft Learn documents the same model as the language model used by the Prompt API in Edge. The documentation says the initial model download happens on the first call to an API that needs the on-device model. The model is unavailable when the setting is disabled or an enterprise policy blocks the download. A device that misses the documented hardware requirements is also ineligible, as is one that misses the storage or network requirements (Microsoft Learn).
The developer-preview requirements in that documentation include Windows 10 or 11 and macOS 13.3 or later. They also include 64-bit Linux with Vulkan GPU drivers and Edge 159 or later. The profile volume needs at least 20 GB free, while the GPU needs 3 GB of VRAM. The connection must be unmetered. Edge deletes the model if available storage drops below 5 GB (Microsoft Learn).
These eligibility checks do not promise identical output across eligible machines. The Prompt API proposal makes no guarantees about model quality or stability. It also does not guarantee interoperability between browsers, and it allows a conforming browser to report that no browser-provided model is available (Prompt API explainer).
Origin-trial access on a live site
Section titled “Origin-trial access on a live site”The Prompt API was previously limited to local developer-preview testing in Edge Canary and Dev. The origin trial lets a registered production origin expose the API to Edge visitors for a limited period. Microsoft asks developers to use that wider test to evaluate actual usage and report feedback on API design or model performance. The company also seeks interoperability feedback (Microsoft Edge Blog).
Microsoft Learn distinguishes the two entry routes. Local testing requires Edge 158 or later and the Prompt API flag in edge://flags. Production testing requires an origin-trial registration and a token on the registered origin. The On-device AI setting is disabled by default in Canary and Dev as well as Beta unless the developer enables the flag. An origin-trial test without that flag requires enabling the setting manually (Microsoft Learn).
Before creating a session, check both the JavaScript surface and the model state. LanguageModel.availability() can report unavailable or downloadable. It can also report downloading or available. A downloadable or downloading result means the model can be used after its download completes; unavailable means the application needs another route (Microsoft Learn).
async function openLanguageSession({ signal } = {}) { if (!("LanguageModel" in globalThis)) { return { ok: false, reason: "api-missing" }; }
let phase = "availability";
try { const availability = await LanguageModel.availability(); if (availability === "unavailable") { return { ok: false, reason: "model-unavailable" }; }
phase = "create"; const session = await LanguageModel.create({ signal, monitor(monitor) { monitor.addEventListener("downloadprogress", ({ loaded, total }) => { console.log("model download", loaded, total); }); }, });
return { ok: true, session }; } catch (error) { if (signal?.aborted || error?.name === "AbortError") { return { ok: false, reason: "cancelled" }; } return { ok: false, reason: phase === "availability" ? "availability-check-failed" : "session-create-failed", }; }}
async function startModelFeature(options) { const result = await openLanguageSession(options); if (!result.ok) { showStandardInput({ notice: `Model unavailable: ${result.reason}` }); return; } enableModelFeature(result.session);}The monitor callback is the documented route for observing the first model download. The expected observation is one or more downloadprogress events when the model needs downloading, followed by an enabled model feature when loading succeeds. A cancelled download returns cancelled; a rejected availability check or failed download or creation returns its explicit failure reason. In each failure branch, startModelFeature() shows the standard input route and handles the rejection (Microsoft Learn).
The Prompt API proposal treats failure handling as a goal. It seeks a uniform JavaScript surface while leaving model availability to the browser and device. It also names cloud APIs and developer-supplied models running with technologies such as WebAssembly and WebGPU as the routes developers already use, so a product can retain one of those routes when the browser model is absent (Prompt API explainer).
Structured answers in the Decisions API
Section titled “Structured answers in the Decisions API”The experimental Decisions API asks questions about text without generating prose. Microsoft’s announcement says it supports Boolean and multiple-choice questions, along with scoring questions. It returns probabilities and a confidence value in one pass. The developer preview is in Edge Canary and Dev, and Microsoft says both the API and its implementation should be expected to change (Microsoft Edge Blog).
The proposal defines a DecisionModel session with context and a sequence of questions. Its examples use Boolean decisions, choices whose result selects one supplied option, and scores on a caller-defined scale. The output associates a result with each question identifier, letting application code route the structured answer without parsing generated sentences (Decisions API explainer).
This surface has a narrower job than the general Prompt API. Microsoft’s example asks a single model session to classify the topic of a product review and score satisfaction. The same session decides whether the customer needs a reply. The announcement frames those operations as intent detection and routing user-generated content. Scoring or ranking items is another named use (Microsoft Edge Blog).
Impact on web-app delivery
Section titled “Impact on web-app delivery”An origin-trial token can put Prompt API code on a production origin, but Edge installations still have separate eligibility checks. The application must handle an absent API and an unavailable model. It must also handle a pending download or session-creation failure. Microsoft Learn’s availability states give each condition a testable branch without requiring a prompt attempt as the capability probe (Microsoft Learn).
The initial download also changes the first-use flow. Microsoft says the browser downloads the model only when first needed, while the API documentation exposes download progress through the session monitor. A web app can therefore keep its ordinary input flow usable, show model-download progress only after the user selects the model-backed feature, and enable the action after the session resolves (Microsoft Edge Blog; Microsoft Learn).
Do not infer cross-browser consistency from a successful Edge test. The proposal says browsers may expose models with different capabilities and does not guarantee output interoperability. Record the Edge channel and version, the availability value, whether a download occurred, and the application fallback exercised during a release check (Prompt API explainer).
Release testing should establish whether each supported Edge environment can create a session and whether a download reports progress. It should also confirm that the standard input route remains usable for unavailable and cancellation. The same check applies to download failure and creation failure. Microsoft documents the availability states and download monitor used to reach those branches (Microsoft Learn).
Related entries
Section titled “Related entries”- Platforms: follow this entry for the platform index and its browser and operating-system references.
- Baseline 2026: follow this entry for the site’s Baseline 2026 reference.
- Compatibility by browser: follow this entry for browser-grouped compatibility data.
Open and unverified
Section titled “Open and unverified”When the Prompt API will reach stable release remains unconfirmed. The proposal remains under development, and the announcement asks for feedback that can inform standardization discussions (Microsoft Edge Blog; Prompt API explainer).
Whether a particular site’s prompts produce acceptable quality with Aion Instruct is not established by the model’s parameter count or device eligibility. The proposal explicitly leaves model quality as an implementation concern, so each product needs its own evaluation criteria and test inputs (Prompt API explainer).
Download size and session-start latency remain open measurement questions on named test devices. Token throughput and battery use also need measurement.
Sources
Section titled “Sources”- Hybrid intelligence on the Web: Introducing Aion Instruct and Prompt API in Microsoft Edge (Microsoft Edge Blog)
- Prompt a built-in language model with the Prompt API (Microsoft Learn)
- Explainer for the Prompt API (Web Machine Learning Community Group)
- Decisions API explainer (GitHub)