Expanding on‑device AI in Microsoft Edge: New models and APIs for the web Microsoft Edge introduced a developer preview of the Aion-1.0-Instruct small language model in Edge Canary and Dev channels, designed to run on more devices including those without GPUs. The browser also launched Language Detector and Translator APIs in Edge 148, supporting over 145 languages with on-device processing for improved privacy and offline use. Additionally, experimental on-device speech recognition is now available through the Web Speech API in Edge Canary and Dev channels. Expanding on‑device AI in Microsoft Edge: New models and APIs for the web At Build 2025, we introduced https://blogs.windows.com/msedgedev/2025/05/19/introducing-the-prompt-and-writing-assistance-apis/ the Prompt and Writing Assistance APIs in Microsoft Edge with the Phi-4-mini language model. Since then, we’ve heard from web developers, incorporated your feedback, and expanded Edge’s on-device AI capabilities with new models and APIs. Today, we’re introducing three updates: - A developer preview of the pre-release Aion-1.0-Instruct small language model for early testing and feedback. - The Language Detector and Translator APIs in Edge 148, powered by on-device, task-specific models. - Experimental on-device speech recognition with the Web Speech API, available in Edge Canary and Dev channels. Developer preview of Aion-1.0-Instruct For the past year, the Prompt and Writing Assistance APIs have used Phi-4-mini, a highly capable https://huggingface.co/microsoft/Phi-4-mini-instruct 4B-parameter language model, in Edge. While it delivers strong text understanding, reasoning, and instruction-following for web scenarios, the model’s hardware requirements https://learn.microsoft.com/microsoft-edge/web-platform/prompt-api hardware-requirements have limited its availability across devices. Today, we’re introducing a developer preview of the pre-release Aion-1.0-Instruct small language model in Edge Canary and Dev channels. This language model is smaller, faster, and more efficient. It expands support to significantly more devices — including those with less capable GPUs and, through CPU-inference, devices without a GPU — while delivering strong quality for a wide range of web use-cases. This preview allows you to evaluate Aion-1.0-Instruct in real-world web scenarios, test API interoperability, and provide feedback that will guide final optimizations, ahead of its planned open-source release on Hugging Face in July. To try out the model, explore the documentation for the Prompt API https://learn.microsoft.com/microsoft-edge/web-platform/prompt-api the-aion-10-instruct-model and Writing Assistance APIs https://learn.microsoft.com/microsoft-edge/web-platform/writing-assistance-apis the-aion-10-instruct-model , experiment with the playground samples https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/prompt-api/ , and share your feedback on GitHub https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/1012 . Language Detector and Translator APIs in Edge 148 The Language Detector https://learn.microsoft.com/microsoft-edge/web-platform/languagedetector-api and Translator https://learn.microsoft.com/microsoft-edge/web-platform/translator-api APIs enable websites and browser extensions to identify the language of text and translate between language pairs. These APIs are now available in Edge 148, powered by on-device, task-specific models built directly into the browser. They deliver fast, high-quality translation, support 145+ languages, and are optimized for translation workloads on the web. You can use these APIs from JavaScript in your site or extension, gaining improved user privacy, network independence, and zero translation costs compared to cloud-based services. In their simplest form, the Language Detector and Translator APIs can be used as shown: js // Create a Language Detector session. const detector = await LanguageDetector.create ; // Detect the language of the text. const results = await detector.detect userText ; // Use the results. for const result of results { // Show the full list of potential languages with their likelihood, // ranked from most likely to least likely. console.log result.detectedLanguage, result.confidence ; } // Create a Translator session. const translator = await Translator.create { sourceLanguage: "es", targetLanguage: "en" } ; // Translate the text and wait for the translation to be done. const translatedText = await translatorSession.translate userText ; // Use the translation. console.log translatedText ; To learn more, check out the documentation for the Language Detector API https://learn.microsoft.com/microsoft-edge/web-platform/languagedetector-api and Translator API https://learn.microsoft.com/microsoft-edge/web-platform/translator-api , try our playground samples https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/translator-api/ , and share your feedback in the Language Detector https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/1274 and Translator https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/1157 feedback issues on GitHub. On-device speech recognition with the Web Speech API The Web Speech API https://learn.microsoft.com/microsoft-edge/web-platform/speech-recognition-api enables you to incorporate voice or audio input into websites and browser extensions. This API is typically backed by cloud-based services for speech recognition speech-to-text and synthesis text-to-speech . In the latest Edge Canary and Dev channels, we’re introducing a task-specific model that processes speech locally on the user’s device. This on-device implementation improves user privacy, reduces latency, and unlocks low-connectivity scenarios that require network independence. Using the new on-device speech recognition capability requires only minor updates to your existing Web Speech API code, as shown: js // Create a SpeechRecognition instance. const recognition = new SpeechRecognition ; recognition.lang = 'en-US'; // Use on-device speech recognition. recognition.processLocally = true; // Start speech recognition. recognition.start ; To get started with on-device speech recognition, check out the documentation https://learn.microsoft.com/microsoft-edge/web-platform/speech-recognition-api , try the playground demo https://microsoftedge.github.io/Demos/built-in-ai/playgrounds/speechrecognition-api/ , and share your feedback on GitHub https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/1333 . Try it out and let us know With the Aion-1.0-Instruct small language model, the new Language Detector and Translator APIs, and on-device speech recognition in Microsoft Edge, you can build AI-powered web experiences by leveraging models built into the browser, without relying on specialized hardware, cloud services, or domain-specific expertise. We invite you to explore these capabilities, experiment with the new models, and tell us what you build. Your feedback will shape the next iteration of on-device AI in Microsoft Edge, and we’re excited to partner with you as we continue expanding what’s possible for AI on the web. Surface Pro https://www.microsoft.com/surface/devices/surface-pro Surface Laptop https://www.microsoft.com/surface/devices/surface-laptop Surface Laptop Ultra https://www.microsoft.com/en-us/surface/devices/surface-laptop-ultra?icid=DSM Footer WhatsNew SurfaceLaptopUltra Surface RTX Spark Dev Box https://www.microsoft.com/en-us/surface/devices/surface-rtx-spark-dev-box?icid=DSM Footer WhatsNew SurfaceRTXSparkDevBox Copilot for organizations https://www.microsoft.com/en-us/microsoft-copilot/organizations?icid=DSM Footer CopilotOrganizations Copilot for personal use https://www.microsoft.com/en-us/microsoft-copilot/for-individuals?form=MY02PT&OCID=GE web Copilot Free 868g3t5nj Explore Microsoft products https://www.microsoft.com/en-us/microsoft-products-and-apps Windows 11 apps https://www.microsoft.com/en-us/windows/apps-for-windows?icid=DSM Footer WhatsNew Windows11apps Account profile https://account.microsoft.com/ Download Center https://www.microsoft.com/en-us/download Microsoft Store support https://go.microsoft.com/fwlink/?linkid=2139749 Returns https://www.microsoft.com/en-us/store/b/returns Order tracking https://www.microsoft.com/en-us/store/b/order-tracking Certified Refurbished https://www.microsoft.com/en-us/store/b/certified-refurbished-products Microsoft Store Promise https://www.microsoft.com/en-us/store/b/why-microsoft-store?icid=footer why-msft-store 7102020 Flexible Payments https://www.microsoft.com/en-us/store/b/payment-financing-options?icid=footer financing vcc Microsoft in education https://www.microsoft.com/en-us/education Devices for education https://www.microsoft.com/en-us/education/devices/overview Microsoft Teams for Education https://www.microsoft.com/en-us/education/products/teams Microsoft 365 Education https://www.microsoft.com/en-us/education/products/microsoft-365 How to buy for your school https://www.microsoft.com/education/how-to-buy Educator training and development https://education.microsoft.com/ Deals for students and parents https://www.microsoft.com/en-us/store/b/education AI for education https://www.microsoft.com/en-us/education/ai-in-education Microsoft AI https://www.microsoft.com/en-us/ai?icid=DSM Footer AI Microsoft Security https://www.microsoft.com/en-us/security Dynamics 365 https://www.microsoft.com/en-us/dynamics-365 Microsoft 365 https://www.microsoft.com/en-us/microsoft-365/business Microsoft Power Platform https://www.microsoft.com/en-us/power-platform Microsoft Teams https://www.microsoft.com/en-us/microsoft-teams/group-chat-software Microsoft 365 Copilot https://www.microsoft.com/en-us/microsoft-365-copilot?icid=DSM Footer Microsoft365Copilot Small Business https://www.microsoft.com/en-us/store/b/business?icid=CNavBusinessStore Azure https://azure.microsoft.com/en-us/ Microsoft Developer https://developer.microsoft.com/en-us/ Microsoft Learn https://learn.microsoft.com/ Support for AI marketplace apps https://www.microsoft.com/software-development-companies/offers-benefits/isv-success?icid=DSM Footer SupportAIMarketplace&ocid=cmm3atxvn98 Microsoft Tech Community https://techcommunity.microsoft.com/ Microsoft Marketplace https://marketplace.microsoft.com?icid=DSM Footer Marketplace&ocid=cmm3atxvn98 Software companies https://www.microsoft.com/software-development-companies?icid=DSM All SoftwareCompanies/ocid=cmm3atxvn98 Visual Studio https://visualstudio.microsoft.com/ Careers https://careers.microsoft.com/ About Microsoft https://www.microsoft.com/about Company news https://news.microsoft.com/source/?icid=DSM Footer Company CompanyNews Privacy at Microsoft https://www.microsoft.com/en-us/privacy?icid=DSM Footer Company Privacy Investors https://www.microsoft.com/investor/default.aspx Diversity and inclusion https://www.microsoft.com/en-us/diversity/default?icid=DSM Footer Company Diversity Accessibility https://www.microsoft.com/en-us/accessibility Sustainability https://www.microsoft.com/en-us/corporate-responsibility/sustainability?icid=DSM Footer Sustainability Consumer Health Privacy https://go.microsoft.com/fwlink/?linkid=2259814 Sitemap https://www.microsoft.com/en-us/sitemap1.aspx Contact Microsoft https://support.microsoft.com/contactus Privacy https://go.microsoft.com/fwlink/?LinkId=521839 Manage cookies Terms of use https://go.microsoft.com/fwlink/?LinkID=206977 Trademarks https://go.microsoft.com/fwlink/?linkid=2196228 Safety & eco https://go.microsoft.com/fwlink/?linkid=2196227 Recycling https://www.microsoft.com/en-us/legal/compliance/recycling About our ads https://choice.microsoft.com