◼︎ 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
- textText
Classical NLP tasks running locally in the browser.
5 tasks / 15 entries- Classification
- Named entity recognition
- Translation
- Summarization
- Extractive QA
- llmLLM
Large language models and code assistants on the web.
3 tasks / 14 entries- Chat
- Structured Output
- Code
- search-ragSearch & RAG
Embedding, reranking and semantic retrieval in JavaScript.
3 tasks / 12 entries- Embedding
- Reranker
- Semantic Search
- visionVision
Classical computer vision: detection, segmentation, OCR, depth.
12 tasks / 30 entries- Image classification
- Detection
- Zero-shot detection
- Segmentation
- Background removal
- Watermark removal
- Object removal
- OCR
- Depth
- Image Restoration
- Super resolution
- Image enhancement
- generative-visionGenerative Vision
Text-to-image and inpainting models in the browser.
2 tasks / 4 entries- Text-to-Image
- Inpainting
- audioAudio
Speech recognition, synthesis, denoising and source separation.
6 tasks / 19 entries- ASR
- Voice activity detection
- Audio event classification
- TTS
- Denoising
- Source Separation
- generative-audioGenerative Audio
Text-to-music and voice cloning models running in the browser.
2 tasks / 5 entries- Text-to-Music
- Voice Cloning
- multimodalMultimodal
Vision-language, CLIP and document understanding models.
3 tasks / 12 entries- VLM
- Image–text embeddings
- Document Understanding
- real-timeFace, pose & tracking
Perception tasks; real-time performance depends on device and configuration.
4 tasks / 13 entries- Face
- Pose
- Hand
- Tracking
- videoVideo
Video understanding models running in the browser.
2 tasks / 5 entries- Video Understanding
- Video watermark removal
Latest posts
Numbers and snags written down after actually running the catalog models.
- 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
- 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.
- 02
Filter by constraint: weight size, licence, runtime and peak memory decide whether it runs on your device and your users’ devices.
- 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.