All News

Microsoft Enables On Device AI Models for Web Apps in Edge Browser

Microsoft is introducing new APIs in its Edge browser that allow web apps to leverage on device AI models like Phi-4-mini. These APIs enable features such as prompt boxes and writing assistance for text generation, summarization, and editing. The cross-platform APIs aim to become web standards and will soon include text translation capabilities. Developers can trial these features now in Edge Canary and Dev channels, expanding AI integration directly within web applications.

Published May 19, 2025 at 02:11 PM EDT in Artificial Intelligence (AI)

Microsoft has announced a significant advancement in web app development by opening access to its on device AI models through the Edge browser. This move empowers developers to integrate local AI capabilities directly into web applications, enhancing functionality and user interaction.

At Microsoft’s Build conference, the company introduced new APIs that grant web apps access to the Phi-4-mini model, a 3.8-billion-parameter AI model designed for on device use. This model, released earlier in the year, is optimized for local processing, enabling faster, more private AI interactions without relying on cloud infrastructure.

The new APIs allow developers to embed prompt boxes and writing assistance tools within their web apps. These tools can perform text generation, summarization, and editing tasks locally on the user’s device. Microsoft also plans to introduce a text translation API in the near future, further expanding the capabilities available to developers.

Importantly, these APIs are designed to be cross-platform, supporting Edge on various operating systems including macOS. Microsoft is positioning these APIs as potential web standards, which means they could become widely adopted beyond just the Edge browser and support other AI models as well.

This initiative aligns with similar efforts by other browser vendors, such as Google’s Chrome, which offers APIs for on device AI functionalities like text translation, image generation prompts, and calendar event creation based on webpage content. Microsoft’s approach highlights a growing trend toward embedding AI capabilities directly within browsers to improve performance, privacy, and user experience.

Implications for Developers and Businesses

By enabling on device AI models in web apps, Microsoft is providing developers with tools to create more responsive and privacy-conscious applications. Local AI processing reduces dependency on cloud services, which can lower latency and improve data security. Businesses can leverage these capabilities to deliver personalized content, automate writing tasks, and enhance user engagement directly within the browser environment.

Developers interested in experimenting with these APIs can access them now through the Edge Canary and Dev channels. This early access enables feedback and iterative improvements, helping shape the future of web-based AI tools and standards.

Looking Ahead

Microsoft’s introduction of on device AI APIs in Edge marks a pivotal step toward more integrated and efficient AI experiences on the web. As these APIs mature and potentially become web standards, the landscape of web development will evolve to embrace AI as a fundamental component, enabling richer, smarter applications that respect user privacy and optimize performance.

Keep Reading

View All
The Future of Business is AI

AI Tools Built for Agencies That Move Fast.

QuarkyByte offers deep insights into integrating on device AI models like Microsoft’s Phi-4-mini into web apps. Discover how to enhance user experiences with local AI-powered writing tools and prompt interfaces. Explore practical guidance and case studies on leveraging Edge’s new AI APIs to build responsive, privacy-conscious applications.