{"slug": "expanding-on-device-ai-in-microsoft-edge-new-models-and-apis-for-the-web", "title": "Expanding on‑device AI in Microsoft Edge: New models and APIs for the web", "summary": "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.", "body_md": "# Expanding on‑device AI in Microsoft Edge: New models and APIs for the web\n\nAt 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.\n\nToday, we’re introducing three updates:\n\n- A developer preview of the pre-release\n**Aion-1.0-Instruct** small language model for early testing and feedback. - The\n**Language Detector** and**Translator APIs** in Edge 148, powered by on-device, task-specific models. - Experimental\n**on-device speech recognition** with the Web Speech API, available in Edge Canary and Dev channels.\n\n## Developer preview of Aion-1.0-Instruct\n\nFor 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.\n\nToday, 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.\n\nThis 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).\n\n## Language Detector and Translator APIs in Edge 148\n\nThe [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.\n\nYou 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.\n\nIn their simplest form, the Language Detector and Translator APIs can be used as shown:\n\n``` js\n// Create a Language Detector session.\nconst detector = await LanguageDetector.create();\n\n// Detect the language of the text.\nconst results = await detector.detect(userText);\n\n// Use the results.\nfor (const result of results) {\n  // Show the full list of potential languages with their likelihood,\n  // ranked from most likely to least likely.\n  console.log(result.detectedLanguage, result.confidence);\n}\n\n// Create a Translator session.\nconst translator = await Translator.create({\n  sourceLanguage: \"es\",\n  targetLanguage: \"en\"\n});\n\n// Translate the text and wait for the translation to be done.\nconst translatedText = await translatorSession.translate(userText);\n\n// Use the translation. \nconsole.log(translatedText);\n```\n\nTo 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.\n\n## On-device speech recognition with the Web Speech API\n\nThe [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).\n\nIn 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.\n\nUsing the new on-device speech recognition capability requires only minor updates to your existing Web Speech API code, as shown:\n\n``` js\n// Create a SpeechRecognition instance.\nconst recognition = new SpeechRecognition();\nrecognition.lang = 'en-US';\n\n// Use on-device speech recognition.\nrecognition.processLocally = true;\n\n// Start speech recognition.\nrecognition.start();\n```\n\nTo 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).\n\n## Try it out and let us know\n\nWith 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.\n\nWe 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.\n\n[Surface Pro](https://www.microsoft.com/surface/devices/surface-pro)\n\n[Surface Laptop](https://www.microsoft.com/surface/devices/surface-laptop)\n\n[Surface Laptop Ultra](https://www.microsoft.com/en-us/surface/devices/surface-laptop-ultra?icid=DSM_Footer_WhatsNew_SurfaceLaptopUltra)\n\n[Surface RTX Spark Dev Box](https://www.microsoft.com/en-us/surface/devices/surface-rtx-spark-dev-box?icid=DSM_Footer_WhatsNew_SurfaceRTXSparkDevBox)\n\n[Copilot for organizations](https://www.microsoft.com/en-us/microsoft-copilot/organizations?icid=DSM_Footer_CopilotOrganizations)\n\n[Copilot for personal use](https://www.microsoft.com/en-us/microsoft-copilot/for-individuals?form=MY02PT&OCID=GE_web_Copilot_Free_868g3t5nj)\n\n[Explore Microsoft products](https://www.microsoft.com/en-us/microsoft-products-and-apps)\n\n[Windows 11 apps](https://www.microsoft.com/en-us/windows/apps-for-windows?icid=DSM_Footer_WhatsNew_Windows11apps)\n\n[Account profile](https://account.microsoft.com/)\n\n[Download Center](https://www.microsoft.com/en-us/download)\n\n[Microsoft Store support](https://go.microsoft.com/fwlink/?linkid=2139749)\n\n[Returns](https://www.microsoft.com/en-us/store/b/returns)\n\n[Order tracking](https://www.microsoft.com/en-us/store/b/order-tracking)\n\n[Certified Refurbished](https://www.microsoft.com/en-us/store/b/certified-refurbished-products)\n\n[Microsoft Store Promise](https://www.microsoft.com/en-us/store/b/why-microsoft-store?icid=footer_why-msft-store_7102020)\n\n[Flexible Payments](https://www.microsoft.com/en-us/store/b/payment-financing-options?icid=footer_financing_vcc)\n\n[Microsoft in education](https://www.microsoft.com/en-us/education)\n\n[Devices for education](https://www.microsoft.com/en-us/education/devices/overview)\n\n[Microsoft Teams for Education](https://www.microsoft.com/en-us/education/products/teams)\n\n[Microsoft 365 Education](https://www.microsoft.com/en-us/education/products/microsoft-365)\n\n[How to buy for your school](https://www.microsoft.com/education/how-to-buy)\n\n[Educator training and development](https://education.microsoft.com/)\n\n[Deals for students and parents](https://www.microsoft.com/en-us/store/b/education)\n\n[AI for education](https://www.microsoft.com/en-us/education/ai-in-education)\n\n[Microsoft AI](https://www.microsoft.com/en-us/ai?icid=DSM_Footer_AI)\n\n[Microsoft Security](https://www.microsoft.com/en-us/security)\n\n[Dynamics 365](https://www.microsoft.com/en-us/dynamics-365)\n\n[Microsoft 365](https://www.microsoft.com/en-us/microsoft-365/business)\n\n[Microsoft Power Platform](https://www.microsoft.com/en-us/power-platform)\n\n[Microsoft Teams](https://www.microsoft.com/en-us/microsoft-teams/group-chat-software)\n\n[Microsoft 365 Copilot](https://www.microsoft.com/en-us/microsoft-365-copilot?icid=DSM_Footer_Microsoft365Copilot)\n\n[Small Business](https://www.microsoft.com/en-us/store/b/business?icid=CNavBusinessStore)\n\n[Azure](https://azure.microsoft.com/en-us/)\n\n[Microsoft Developer](https://developer.microsoft.com/en-us/)\n\n[Microsoft Learn](https://learn.microsoft.com/)\n\n[Support for AI marketplace apps](https://www.microsoft.com/software-development-companies/offers-benefits/isv-success?icid=DSM_Footer_SupportAIMarketplace&ocid=cmm3atxvn98)\n\n[Microsoft Tech Community](https://techcommunity.microsoft.com/)\n\n[Microsoft Marketplace](https://marketplace.microsoft.com?icid=DSM_Footer_Marketplace&ocid=cmm3atxvn98)\n\n[Software companies](https://www.microsoft.com/software-development-companies?icid=DSM_All_SoftwareCompanies/ocid=cmm3atxvn98)\n\n[Visual Studio](https://visualstudio.microsoft.com/)\n\n[Careers](https://careers.microsoft.com/)\n\n[About Microsoft](https://www.microsoft.com/about)\n\n[Company news](https://news.microsoft.com/source/?icid=DSM_Footer_Company_CompanyNews)\n\n[Privacy at Microsoft](https://www.microsoft.com/en-us/privacy?icid=DSM_Footer_Company_Privacy)\n\n[Investors](https://www.microsoft.com/investor/default.aspx)\n\n[Diversity and inclusion](https://www.microsoft.com/en-us/diversity/default?icid=DSM_Footer_Company_Diversity)\n\n[Accessibility](https://www.microsoft.com/en-us/accessibility)\n\n[Sustainability](https://www.microsoft.com/en-us/corporate-responsibility/sustainability?icid=DSM_Footer_Sustainability)\n\n[Consumer Health Privacy](https://go.microsoft.com/fwlink/?linkid=2259814)\n\n[Sitemap](https://www.microsoft.com/en-us/sitemap1.aspx)\n\n[Contact Microsoft](https://support.microsoft.com/contactus)\n\n[Privacy](https://go.microsoft.com/fwlink/?LinkId=521839)\n\n[Manage cookies](#)\n\n[Terms of use](https://go.microsoft.com/fwlink/?LinkID=206977)\n\n[Trademarks](https://go.microsoft.com/fwlink/?linkid=2196228)\n\n[Safety & eco](https://go.microsoft.com/fwlink/?linkid=2196227)\n\n[Recycling](https://www.microsoft.com/en-us/legal/compliance/recycling)\n\n[About our ads](https://choice.microsoft.com)", "url": "https://wpnews.pro/news/expanding-on-device-ai-in-microsoft-edge-new-models-and-apis-for-the-web", "canonical_source": "https://blogs.windows.com/msedgedev/2026/06/02/expanding-on-device-ai-in-microsoft-edge-new-models-and-apis-for-the-web/", "published_at": "2026-06-02 16:28:06+00:00", "updated_at": "2026-06-02 22:32:57.836372+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "large-language-models", "natural-language-processing", "ai-products"], "entities": ["Microsoft Edge", "Phi-4-mini", "Aion-1.0-Instruct", "Build 2025", "Web Speech API"], "alternates": {"html": "https://wpnews.pro/news/expanding-on-device-ai-in-microsoft-edge-new-models-and-apis-for-the-web", "markdown": "https://wpnews.pro/news/expanding-on-device-ai-in-microsoft-edge-new-models-and-apis-for-the-web.md", "text": "https://wpnews.pro/news/expanding-on-device-ai-in-microsoft-edge-new-models-and-apis-for-the-web.txt", "jsonld": "https://wpnews.pro/news/expanding-on-device-ai-in-microsoft-edge-new-models-and-apis-for-the-web.jsonld"}}