Conference India 2026 โ€ข Nov 26, 2026 โ€ข Session details

Built-In AI in the Browser: Practical Capabilities for Modern Web Apps

Piyush Gupta

What if your web app could run AI features with zero cloud costs and no network latency? Discover how to tap into built-in browser models like Gemini Nano for local, private inference.

Starting at 5:09 ยท Watch from the beginning

Pause
Mute Enter Fullscreen
#1 about 4 min

Eliminating cloud API costs with on-device browser AI

High server-side AI inference costs can be eliminated by utilizing local LLM models like Gemini Nano that Chrome downloads directly to the client device based on hardware performance.

#2 about 2 min

Exploring the four layers of browser AI capabilities

Browser AI spans native browser features, bring-your-own-model runtimes like WebGPU, built-in APIs backed by local models, and WebMCP for agentic tool execution.

#3 about 3 min

Overview of built-in AI APIs and implementation steps

Implementing built-in APIs like language detector, translator, summarizer, and the freeform prompt API requires checking device availability, initializing a session, streaming outputs, and designing fallback experiences.

#4 about 3 min

Summarizing reviews and extracting structured data with schemas

Developers can translate and summarize multi-language e-commerce reviews or extract structured JSON invoice data from emails by passing expected schemas to the prompt API.

#5 about 2 min

Managing model download sizes and cold start latency

Because initial model provisioning requires gigabytes of storage and cold session creation introduces high latency, applications should warm up models in memory on page load.

#6 about 2 min

Preventing cross-site scripting vulnerabilities in AI outputs

Translating or generating text can inadvertently produce executable script tags, requiring developers to use textContent rather than innerHTML to prevent arbitrary code execution.

#7 about 4 min

Decision framework for choosing on-device versus cloud AI

Evaluating privacy requirements, latency tolerance, cost constraints, and browser availability helps determine whether to ship on-device AI enhancements like personalized conference schedules or fall back to cloud APIs.

#8 about 4 min

Real-world production use cases of built-in browser AI

Companies like Yahoo Taiwan, Miravia, and Jio Hotstar use on-device AI in production to auto-populate listings from images, summarize product reviews, and generate dynamic subtitles.

#9 about 3 min

Cross-browser compatibility and W3C standardization efforts

While Chrome and Edge actively support built-in AI APIs across most of the web market, Firefox and Safari remain cautious due to security and privacy concerns as W3C incubates formal specifications.

#10 about 4 min

Handling non-deterministic outputs and browser opt-in settings

Because LLM outputs are non-deterministic, developers must rely on rule-based sanitization rather than prompts, while users can manage local model downloads via Chrome's AI innovation settings.

Matching moments

2:54 min

Leveraging Chrome AI and nano models for web applications

Raymond Camden ยท Perf + AI

2:46 min

The case for native AI in web browsers

Maxim Salnikov Maxim Salnikov ยท World Congress 2025

2:46 min

Enhancing native browser experiences with on-device generative AI

Raymond Camden +2 ยท LIVE

5:47 min

Integrating native generative artificial intelligence APIs into browser engines

Raphael De Lio Raphael De Lio +9 ยท LIVE

2:19 min

Drawbacks of cloud dependencies and local inference benefits

Christian Liebel Christian Liebel ยท World Congress 2025

4:41 min

Exploring agentic browsers and artificial intelligence generation

Rick Ossendrijver +2 ยท LIVE