AI is often used interchangeably to represent different types of technology in the field, including machine learning, large language models, generative AI, and more. Find resources built to help you understand AI now, on the web.
Understand the basics and definitions of the various emerging technologies, often referred to as AI.
As web practitioners, it's critical that we build new technology thoughtfully and responsibly.
Discover techniques to get contextual results from generative AI, at-scale.

Practical tips

Take a look at a few real-world LLMs and the practical implications of different model sizes.
Evaluate models and prompts with the LLM as a judge technique. Delegate validation to another LLM, instead of humans.
Discover benefits such as low latency, reduced server-side costs, no API key requirements, increased user privacy, and offline access.
Craft questions to get the best possible output from an LLM.

Start building

Why toxicity detection matters and how you can use client-side AI to mitigate toxicity at its source.
Learn how to build a client-side AI system to detect and mitigate toxicity at its source.
Online stores can see a 270% increase in conversions by displaying product reviews. Support better reviews with client-side AI.

Web AI Summit 2024

See what's possible with client-side AI and where it's heading.
Learn about a JavaScript library that empowers developers to build never-before-seen web applications.
See howtechnologies like WebAssembly and WebGPU have brought AI capabilities to the browser.
Gemini logo.
Learn how to access the Gemini API on the web, with the Google AI JavaScript SDK.
Discover example code and prompts for the Gemini API and Vertex AI API.
Learn how to use AI responsibly, with best practices and resources.

AI on Chrome

Discover Google Chrome's documentation for AI, WebGPU, and WebAssembly.
Execute our most efficient model of the Gemini in Chrome, on-device.
Ask Gemini to provide insights right in the DevTools Console, so you can better understand errors and warnings.
Client-side AI brings powerful models to users, while protecting data privacy and improving latency.
Setting up a consistent testing environment with GPUs can be harder than expected. See the problems we faced and how we solved them, to improve your application performance.

Watch to learn

Watch these videos to learn AI fundamentals and discover TensorFlow JS.
This introduction is aimed creatives, web developers, and JavaScript practitioners interested in using machine learning in their next project or idea.
Learn the foundations and definitions for some of the industry's most used buzzwords, and what they actually refer to.
Using pre-trained models can allow you to prototype an idea faster. In some cases, you can use these models in production.