Websites Are Running AI Inside Your Chrome, for Free. Here Is How. Websites including redBus and Miravia are using Chrome's built-in Summarizer API to generate review summaries on the reader's own device, avoiding per-call model API costs, according to a Chrome for Developers case study. Miravia, the Alibaba-run Spanish shopping site, reported 12.4% higher conversion on product pages after enabling the feature, while redBus said a server-side summary for every search query would cost too much. The pattern requires no model file or AI server request from the site: the page calls Summarizer.create with fixed options such as type "key-points", format "plain-text" and length "short", and Chrome supplies the model. Think about how almost every AI feature works today. Your page sends some text to your server. Your server sends it to a model through an API. The answer comes back, and somebody pays for that call . Now picture a bus booking site. Every route, every date and every bus has its own reviews. Say you want a three line summary of those reviews on every bus page. That is a model call for every page someone opens, all day, for every route in the country. That bill adds up fast. So here is a question worth a minute of your time: what if the summary was written by the laptop of the person reading the page? No server of yours, no API key, no bill per call. And not in a research demo, on a real website you have probably booked a ticket on. Real websites already do this today. I’ll use redBus as the example: I’ll show you where the code is, read it with you line by line, and give you the exact snippet to run it yourself in your own Chrome console in about two minutes. The same pattern works on any website, including yours. I also made a video on this, you can watch it right here: The one sentence to remember: the website does not ship a model. It asks Chrome. Fair question. So before any code, here is a live site. Miravia is a big online shopping site in Spain, run by Alibaba. I opened a mattress, went to its reviews, and clicked the five star filter. Look at the small line that appears: A few seconds later, a “What customers think” summary showed up. The reviews were written in Spanish, and the summary came out in English, written on my laptop: And it pays off for them. Since they turned it on, Miravia saw 12.4% higher conversion on product pages https://developer.chrome.com/blog/summarizer-redbus-miravia , and the same case study has redBus explaining that a server summary for every search query would cost too much. redBus has the same feature in its code, but it was not switched on for my account when I recorded. They are probably testing it with a few users. That is actually good news for us, because the code is still sitting on their website, and we can read it. Here is the whole idea in one picture: Keep that yellow box in mind. We’ll come back to it. You can do this yourself. Open redBus in desktop Chrome, search any route, open a bus and go to its reviews. Then: You get two hits, both inside one of redBus’s own JavaScript bundles: Summarizer is not a library redBus wrote. It is an API that Chrome itself puts on every page . There is no model file in their code and no request to any AI server. The page simply asks the browser. Production code is squashed into one long line, so it looks scary. Here is the part that matters, with DevTools’ pretty print turned on: Strip away the minified names and it does five things, in this order: Now look closely at step 3, because this is the part most people miss. redBus never writes a prompt. There is no “You are a helpful assistant, please summarize…” anywhere. Instead, it passes options, and each option only accepts a fixed set of values: Here is an everyday picture for it. At a filter coffee counter, you don’t hand over a recipe. You say “strong, less sugar, small”, and the person behind the counter knows what to do with those three words. redBus orders like a customer at the counter. key-points, short, plain-text: three words, and somebody else turns them into real instructions for the model. Hold on to that “somebody else”. It matters later. This is the same logic, rebuilt from redBus’s bundle with their exact settings, so you can paste it into the Console tab while a bus’s reviews are open on redbus.in: js const reviews = ...document.querySelectorAll ' class^="reviewCmt" ' .map e = e.innerText.trim .filter Boolean .slice 0, 20 ; // redBus: first 20 reviews const summarizer = await Summarizer.create { sharedContext: "These are user reviews for a bus service", type: "key-points", format: "plain-text", length: "short",} ;console.time "on-device summary" ;const summary = await summarizer.summarize reviews.join " " , { context: "Focus on the key aspects customers mention about the bus service",} ;console.timeEnd "on-device summary" ;console.log summary ;summarizer.destroy ; The review selector comes from redBus’s page today. Sites rename their CSS classes often, so if reviews comes back empty, right click a review, choose Inspect, and swap in the class you see. Here is what it printed on my laptop, on a real Vadodara to Hyderabad bus: Three bullets, about 7.5 seconds in this run an earlier test on 10 shorter reviews took about 3 seconds . And the summary is not generic. Late buses, dirty blankets, cramped upper seats: that is what the actual passengers on that page complained about. Your console might not show a summary on the first try, and what it says instead is the interesting part. Run this line first: await Summarizer.availability ; If you got anything other than "available", you just met the yellow box from the diagram. The model is not on every laptop. How it gets there, which laptops qualify, and what your users should see while it downloads is a big part of the video. It is also the reason this cannot be the only way your app does AI. Go back to the coffee counter for a second. redBus gave three words and two sentences. But a model does not understand length: "short" on its own. It needs real instructions. Chrome has a hidden page where you can watch every request reach the model. When I opened the log for my redBus run, I found the full prompt the model actually read. It looks like this: It is long. It is strict. It has rules redBus never typed. And redBus wrote exactly two sentences of it. So who wrote the rest? And here is the part that should make every engineer pause: if you did not write the prompt, who can change it without telling you? I open that log on screen in the video, show you where to find the page in your own Chrome, and map each of redBus’s options to the exact instruction it turned into. Here is that moment: What you have now is real: you can find this API in production code, read it, and run it. But there are three questions I would not ship without answering, and they are the second half of the video: The next time someone tells you every AI feature needs an API call, open that website’s code. The AI might already be sitting in your Chrome . Credit where it is due: the Summarizer API and the rest of Chrome’s built-in AI APIs come from the Chrome team, whose docs and case studies are linked below. The redBus and Miravia write-up is theirs; the code reading and the console runs here are mine. If this was useful, the full walkthrough, with the hidden prompt, the download flow and my verdict on when not to use it, is here: Sources Websites Are Running AI Inside Your Chrome, for Free. Here Is How. https://pub.towardsai.net/chrome-built-in-ai-summarizer-api-explained-838966319541 was originally published in Towards AI https://pub.towardsai.net on Medium, where people are continuing the conversation by highlighting and responding to this story.