Web developers will be able to start leveraging on-device AI in Microsoft’s Edge browser soon, using new APIs that can give their web apps access to Microsoft’s Phi-4-mini model, the company announced at its Build conference today. And Microsoft says the API will be cross-platform, so it sounds like these APIs will work with the Edge browser in macOS, as well.
Microsoft is opening its on-device AI models up to web apps in Edge
A new set of APIs gives web apps the ability to offer prompt boxes and writing tools that use local AI models through the Edge browser.
A new set of APIs gives web apps the ability to offer prompt boxes and writing tools that use local AI models through the Edge browser.


The 3.8-billion-parameter Phi-4-mini is Microsoft’s latest small, on-device model, rolled out in February alongside the company’s larger Phi-4. With the new APIs, web developers will be able to add prompt boxes and offer writing assistance tools for text generation, summarizing, and editing. And within the next couple of months, Microsoft says it will also release a text translation API.
Microsoft is putting these “experimental” APIs forth as potential web standards, and in addition to being cross-platform, it says they’ll also work with other AI models. Developers can start trialing them in the Edge Canary and Dev channels now, the company says.
Google offers similar APIs for its Chrome browser. With them, developers can use Chrome’s built-in models to offer things like text translation, prompt boxes for text and image generation, and calendar event creation based on webpage content.
Most Popular
- Meta’s historic loss in court could cost a lot more than $375 million
- Apple raises the Mac Mini’s starting price
- Spirit Airlines shuts down after Trump’s war on Iran doubled jet fuel prices
- Anker’s discounted 2-in-1 USB-C cable is a great way to spend $15
- How the internet’s favorite squirrel dad made the hottest camera app of 2026









