Opera WebAI: A Proposed Web Standard for Running Gemma and Other Local Models in the Browser
The pitch for developers fits in one sentence from Opera, via TechCrunch: “Developers can add AI features without running AI infrastructure or paying for every request.”
That’s a big promise. Every AI feature on a website today either calls a cloud API (and the site pays per request) or ships a model to the browser itself (and the site deals with downloads, GPU code, and device support). WebAI, announced yesterday as a proposed web standard, puts a third option in the browser: the browser holds a local model, and websites ask to use it.
Off until you turn it on
- Off by default. Opera spokesperson Emily Northway: “WebAI stays completely turned off until users decide to enable it.” Nothing is downloaded until you turn it on.
- Per-site permission. After that, each website or extension has to ask for permission before using it, the same way a site asks for your camera.
- Local. The model runs on your machine. Your prompts don’t leave the device.
The early preview is in Opera One, on 64-bit Windows PCs and Apple Silicon Macs. Opera GX and Opera Neon will follow.
What models
It’s not tied to one provider. Opera names Google’s Gemma as an example of an open-weight model it supports, and “on Macs, WebAI also supports Apple’s on-device foundation model.” So on a Mac, a website using WebAI might get Apple’s model, and on Windows it might get Gemma, through the same interface.
The website doesn’t pick the model. The browser and the user do, which I think is the right call.
What developers can call
Android Headlines describes “3 new developer APIs that generate text, classify content, and analyze document relationships.” Opera built six experimental extensions to demonstrate them.
What I couldn’t find in the coverage: the actual API shape. No method names, no code samples, no spec document linked from the reports I read. For a proposed standard, that’s the thing that matters most, so I’d wait for Opera’s spec before building on it.
Where it fits
There’s already a lot of activity here. How each one differs:
- WebGPU gives websites access to the GPU. You can run a model with it, but the site has to ship the model and the inference code.
- WebNN is a lower-level neural network API in the browser. Same idea: the site provides the model.
- Chrome’s built-in AI APIs use a model Chrome ships, with task-level APIs. This is the closest comparison.
- WebAI, as described, is task-level APIs on top of a browser-managed model the user picks.
Android Headlines says Google and Microsoft back the proposal. TechCrunch doesn’t say that, and I couldn’t confirm it. If it’s true, that matters a lot: a “standard” one browser ships is a feature, and a standard three ship is a platform.
The trade-off
Local models are smaller and weaker than cloud frontier models. Gemma on a laptop isn’t going to write your quarterly report. But “classify this content” and “summarize this page” are tasks where a small local model is good enough, free per request, and private. WebAI is going after that niche, and it’s a real one.