llm / chat
Chat
General-purpose instruction-following models served from the page itself. Browser-side chat is bounded by WebGPU memory: 1–3B models at 4-bit fit comfortably in about 1–2 GB, while 7–8B builds need a discrete GPU and a multi-gigabyte first load that the browser must cache.
8 entries
Catalog comparison
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.
| Entry | Entry type | Framework | Resources | License | Browser evidence | Links |
|---|---|---|---|---|---|---|
Meta Llama 3 chat-tuned 8B; runs in the browser with WebGPU via WebLLM. Tasks: Chat | Model | WebLLM | q4f32_1: 4308.1 MiB | Code license: Apache-2.0 Weight license: Custom | Browser support unverified Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Microsoft Phi-3 small language model with WebGPU inference. Tasks: Chat | Model | WebLLM | q4f16_1: 2050.1 MiB | Code license: Apache-2.0 Weight license: MIT | Browser support unverified Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Compact Qwen2 chat model for resource-constrained browsers. Tasks: Chat | Model | WebLLM | q4f16_1: 828.3 MiB | Code license: Apache-2.0 Weight license: Apache-2.0 | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Small open-source Llama; works in Transformers.js with WASM. Tasks: Chat | Model | Transformers.js | q4f16: 680.7 MiB q8: 1051.8 MiB fp16: 2098.8 MiB fp32: 4198.4 MiB | Code license: Apache-2.0 Weight license: Apache-2.0 | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Google Gemma 2 2B instruction-tuned — small enough to load on iOS Safari via WebLLM. Tasks: Chat | Model | WebLLM | q4f16_1: 1402.8 MiB | Code license: Apache-2.0 Weight license: Custom | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Hugging Face SmolLM2 1.7B — extremely compact instruct model for browser chat. Tasks: Chat | Model | WebLLM | q4f16_1: 918.2 MiB | Code license: Apache-2.0 Weight license: Apache-2.0 | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
DeepSeek R1 Distill (Qwen 1.5B) DeepSeek-R1 reasoning model distilled into Qwen 1.5B — runs in the browser with chain-of-thought output. Tasks: Chat | Model | WebLLM | q4f16_1: 953.5 MiB | Code license: Apache-2.0 Weight license: MIT | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Qwen3 at 0.6B with browser-ready ONNX weights. The model card ships a WebGPU q4f16 example, and it sits a size class below the 1B chat checkpoints already listed here. Tasks: Chat | Model | Transformers.js | q4f16: 543.4 MiB int8: 589.1 MiB q4: 876.5 MiB fp16: 1147.1 MiB | Code license: Apache-2.0 Weight license: Apache-2.0 | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Application workflows
About Chat
Chat under LLM holds 8 catalogue entries: 8 models.
6 of them carry browser evidence, all from upstream browser examples. Another 2 are still waiting for verification.
The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to WebLLM and Transformers.js, and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.
To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.
At a glance
- Entries
- 8 in total
- Main runtime
- WebLLM and Transformers.js
- Smallest known weights
- 543 MiB
- Browser evidence
- 6 of 8 verified
Chat: common questions
- Can Chat run directly in a browser?
- Yes. 6 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
- How large is the model for Chat?
- We verified the weight file sizes of 8 entries in this task; the smallest tier is 543 MiB. Quantisation differs between entries, so the real download depends on the precision you pick. Files are reused from the HTTP cache or Cache Storage after the first download.
- Which devices suit Chat?
- Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
- Does running a model here upload my data?
- The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.