How Chrome’s Built-in AI will Revolutionise Web Development

by | Jun 27, 2024


As a software and digital agency, we at Lanex Australia are always on the lookout for innovative technologies that can revolutionise the way we build applications for our clients. One of the most exciting advancements in recent times is the integration of artificial intelligence (AI) directly into web browsers. The Chrome web platform team is exploring a concept known as “Chrome Built-in AI,” which promises to transform web development by making AI more accessible and efficient. In this blog post, we’ll delve into how Chrome Built-in AI can benefit developers and businesses alike, and why it represents a significant leap forward for the industry.

Understanding Chrome Built-in AI

What is Chrome Built-in AI?

Chrome Built-in AI refers to the integration of AI models directly into the browser, allowing web applications to perform AI tasks locally on the user’s device. This approach eliminates the need for server-side solutions, making AI more accessible and efficient for web developers.

Why Chrome Built-in AI?

Traditionally, AI models, especially generative AI, rely heavily on server-side solutions due to their large size. Even the smallest models can be significantly larger than the median web page size, making it impractical to download these models on page load. Chrome Built-in AI addresses this challenge by embedding AI models within the browser, providing a seamless and efficient way to perform AI tasks without the need for extensive backend infrastructure.

The Benefits of Chrome Built-in AI

1. Simplified AI Integration

One of the primary benefits of Chrome Built-in AI is the ease of integration. Developers can leverage pre-integrated AI models without needing to deploy and manage their own AI infrastructure. This reduces complexity and allows developers to focus on building innovative features.

2. Enhanced Performance

With on-device processing, AI tasks can be performed directly on the user’s device, reducing latency and improving response times. This leads to a smoother and more responsive user experience.

3. Improved User Experience

Faster AI processing enables real-time interactions, enhancing the overall user experience. For instance, features like image recognition, natural language processing, and other AI-driven functionalities can operate more efficiently, providing immediate feedback to users.

4. Cost Savings

By offloading AI processing to the user’s device, businesses can reduce their server costs. Additionally, local processing lowers data transfer costs, as less data needs to be sent to and from the server.

5. Increased Privacy and Security

Chrome Built-in AI processes data locally on the user’s device, enhancing privacy by keeping sensitive data on the device. This approach aligns with data protection regulations and reduces the risk of data breaches.

6. Standardisation and Interoperability

As built-in AI features become standardised across browsers, developers can create consistent and interoperable AI-powered web applications. This ensures compatibility and future-proofs applications as new technologies emerge.

7. Innovation and Competitive Advantage

Access to advanced AI capabilities allows developers to innovate and implement cutting-edge features, giving businesses a competitive edge in the market. AI-driven functionalities can differentiate products and services, attracting and retaining users.

8. Scalability

Chrome Built-in AI offers a scalable solution for deploying AI-powered applications to a broad audience without worrying about backend scalability. This makes it easier to manage and grow AI features as user demand increases.

Implementation of Chrome Built-in AI

The Chrome web platform team is developing web platform APIs and browser features designed to integrate AI models directly into the browser. One of the key components is Gemini Nano, the most efficient version of the Gemini family of large language models (LLMs). Gemini Nano is designed to run locally on most modern desktops and laptops, enabling websites and web applications to perform AI-powered tasks without the need for external models.The diagram shows the architecture of Chrome’s built-in AI, enabling web apps to leverage on-device AI models for enhanced performance and user experience.

Key Features of Chrome Built-in AI

  1. Ease of Deployment: The browser manages the distribution and updates of AI models, taking into account the device’s capabilities. This eliminates the need for developers to handle model downloads, updates, storage eviction, and runtime memory budgets.
  2. Access to Hardware Acceleration: Chrome’s AI runtime is optimised for the available hardware, whether it’s a GPU, NPU, or CPU. This ensures that applications can achieve the best performance on each device.
  3. Local Processing of Sensitive Data: On-device AI enhances privacy by processing sensitive data locally. This is particularly beneficial for applications dealing with personal or confidential information.
  4. Snappy User Experience: Eliminating the need for server round trips allows for near-instant results, improving the overall user experience.
  5. Offline AI Usage: Users can access AI features even without an internet connection, ensuring that applications function seamlessly offline or with variable connectivity.

Hybrid AI Approach

While on-device AI can handle many use cases, certain scenarios may still require server-side support. Chrome’s hybrid AI approach leverages both on-device and server-side AI to provide a comprehensive solution. This approach can handle more complex use cases, ensure resiliency, and offer a graceful fallback for older or less powerful devices.

Benefits for Web Developers

Chrome Built-in AI offers several benefits for web developers, making it easier to deploy and manage AI-powered features.

Ease of Deployment

The browser handles model distribution and updates, eliminating the need for developers to manage large model downloads and updates. This simplifies the deployment process and reduces the burden on developers.

Access to Hardware Acceleration

Chrome’s AI runtime is optimised to take advantage of the available hardware, ensuring that applications run efficiently on various devices. This leads to improved performance and a better user experience.

Local Processing of Sensitive Data

On-device AI enhances privacy by processing sensitive data locally, reducing the risk of data breaches and ensuring compliance with data protection regulations.

Improved User Experience

Chrome Built-in AI provides a snappy and responsive user experience by performing AI tasks locally. This leads to near-instant results and a smoother interaction for users.

Real-World Example: Morten Just’s Proof of Concept

A great example of how Chrome Built-in AI can be utilised in web development is a proof of concept created by Morten Just. In his video, Morten demonstrates how to use Chrome’s built-in AI to enhance web applications. This proof of concept showcases the potential of Chrome Built-in AI to streamline development and improve functionality. You can watch Morten Just’s video here.

Future of Chrome Built-in AI

The Chrome web platform team is committed to continuously improving and expanding the built-in AI capabilities. They are actively seeking feedback from the developer community to refine their approach and ensure that the APIs meet the needs of various use cases.

Join the Early Preview Programme

Developers are encouraged to join the early preview programme to experiment with Chrome Built-in AI APIs and provide feedback. This feedback will help shape the future of AI in web browsers and ensure that the APIs fulfil real-world use cases.

Early Preview Program: Link


As a software and digital agency, we believe that Chrome Built-in AI represents a significant advancement in web development. By integrating AI models directly into the browser, Chrome makes it easier to deploy and manage AI-powered features, enhances performance, and improves user experience. This technology will unlock new opportunities for innovation and provide a competitive edge for businesses that embrace it.

Source: Google Chrome AI Developer Preview