Skip to content
WebAI

◼︎ Catalog v1

Browser-side AI models

129 catalog entries · models, tools and applications

Bring more AI tasks into the browser

The browser can be more than an entry point to an AI service: it can also run AI applications locally. With tools such as Transformers.js and ONNX Runtime Web, developers can bring text processing, image recognition and speech transcription to users’ devices, adding useful AI capabilities to web applications.

Local inference allows some tasks to process inputs without sending them to a remote model service. It can reduce network round trips and cloud inference costs, and support offline use once model resources are available. This project brings together models, tools and application ideas to help developers discover suitable browser AI tasks and integrate them into everyday web applications. Actual support depends on the model, browser and device.

Why put inference in the browser

Local inference is not here to replace large cloud models. Its value is moving a set of input-sensitive, well-bounded tasks closer to the user.

Data stays on the device
Text classification, speech transcription and embeddings operate on what the user actually typed, photographed or uploaded. Inferring in the tab removes one reason to send that material to a server.
One round trip fewer
These models usually take tens to hundreds of milliseconds per call — faster than a cross-region request, and with no cloud compute to pay for.
Cacheable weights
Once the weights are cached, the page still works on a weak or offline connection; the trade-off is a first load of tens of megabytes to several gigabytes.

10 categories

Latest posts

Numbers and snags written down after actually running the catalog models.

All posts →
  • Audio & speech

    HT-Demucs stem separation in a tab: 7.8-second chunks and a six-minute cap

    Stem separation runs as a bare ONNX session in a Worker, cutting audio into overlapping 7.8-second segments and joining them back; the six-minute cap is forced by accumulator memory. The audio classification page has its own story: the smallest tier printed on the card is not the q8 file the page downloads.

  • Vision & perception

    Removing a video watermark: temporal median first, model second

    The video watermark demo samples a dozen frames and checks whether the background behind the watermark moves. If it does, a temporal median rebuilds it and nothing is downloaded; a static background gets a single MI-GAN inpaint. Also covered: re-encoding frame by frame with WebCodecs and muxing the audio back with ffmpeg.wasm.

  • Vision & perception

    Erasing a watermark and erasing a passer-by both end up at one 26.8 MiB checkpoint

    The watermark, object-removal and inpainting pages share one set of brush controls, and their real weights mostly come down to the same 26.8 MiB MI-GAN ONNX. The exception is the video HD pass, which genuinely loads the 198 MiB LaMa checkpoint.

How to use this catalogue

  1. 01

    Browse by task: each task page lists the models, tools and applications for it, and marks the browser evidence as tested here, an upstream example or still pending.

  2. 02

    Filter by constraint: weight size, licence, runtime and peak memory decide whether it runs on your device and your users’ devices.

  3. 03

    Verify with a demo: the playgrounds run in your tab, so you can swap models and inputs and compare outputs directly.

All tasks

Browser AI: common questions

Which AI models can run in a browser?
Size is the quickest guide: encoder models in the tens of megabytes (text classification, NER, embeddings, image classification) are the most mature; speech recognition, OCR and segmentation work in the 100–300 MB range; text-to-image and 1–3B chat models need WebGPU and gigabyte downloads, which is a different tier.
Does browser inference require WebGPU?
No. WebAssembly is the baseline every modern browser ships; WebGPU changes the speed of decoder models and image generation. Without it the page falls back to WASM: identical results, slower.
How much bandwidth does a browser model use?
The first load downloads the weights: roughly 5–130 MB for classification and embedding models, 40–300 MB for speech recognition, and 1–5 GB for text-to-image and chat models. Afterwards the browser cache serves them, so they are not re-downloaded.
Are local results trustworthy?
The same weights produce the same results locally and in the cloud; the differences come from quantisation and post-processing. Each demo states whether it runs real weights or a simulator, and simulated output is not an accuracy reference.

How to read this catalog

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.