Skip to content
WebAI

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

Open demo →

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.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

Llama-3 8B Instruct

Meta Llama 3 chat-tuned 8B; runs in the browser with WebGPU via WebLLM.

Tasks: Chat

ModelWebLLM

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
Exact model ID
mlc-ai/Llama-3-8B-Instruct-q4f32_1-MLC
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@mlc-ai/web-llm@0.2.85
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Custom
Legacy license label (unverified)
Other

Deployment variants

q4f32_1
Download size: 4308.1 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f32_1
Weight revision: b2c0e50a6c723cdf65b8af4b8a03279907bb7ac1
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Phi-3 Mini (3.8B)

Microsoft Phi-3 small language model with WebGPU inference.

Tasks: Chat

ModelWebLLM

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
Exact model ID
mlc-ai/Phi-3-mini-4k-instruct-q4f16_1-MLC
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@mlc-ai/web-llm@0.2.85
Execution backend
Not verified
Code license
Apache-2.0
Weight license
MIT
Legacy license label (unverified)
MIT

Deployment variants

q4f16_1
Download size: 2050.1 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16_1
Weight revision: 7ecdc19b399efd7e967025c02496353e0dc50500
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Qwen2 1.5B Instruct

Compact Qwen2 chat model for resource-constrained browsers.

Tasks: Chat

ModelWebLLM

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
Exact model ID
mlc-ai/Qwen2-1.5B-Instruct-q4f16_1-MLC
Natural languages
English, Chinese
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@mlc-ai/web-llm@0.2.85
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0
Legacy license label (unverified)
Apache-2.0

Deployment variants

q4f16_1
Download size: 828.3 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16_1
Weight revision: edc705fc1ffe862bc41cc056cc0031895e26eeee
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

TinyLlama 1.1B

Small open-source Llama; works in Transformers.js with WASM.

Tasks: Chat

ModelTransformers.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
Exact model ID
Xenova/TinyLlama-1.1B-Chat-v1.0
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0
Legacy license label (unverified)
Apache-2.0

Deployment variants

q4f16
Download size: 680.7 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 2d31d778084d99c2f58d14adfaa7a27f100d9391
Weight artifact ↗
q8
Download size: 1051.8 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 2d31d778084d99c2f58d14adfaa7a27f100d9391
Weight artifact ↗
fp16
Download size: 2098.8 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 2d31d778084d99c2f58d14adfaa7a27f100d9391
Weight artifact ↗
fp32
Download size: 4198.4 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 2d31d778084d99c2f58d14adfaa7a27f100d9391
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Gemma 2 2B IT

Google Gemma 2 2B instruction-tuned — small enough to load on iOS Safari via WebLLM.

Tasks: Chat

ModelWebLLM

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
Exact model ID
mlc-ai/gemma-2-2b-it-q4f16_1-MLC
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@mlc-ai/web-llm@0.2.85
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Custom
Legacy license label (unverified)
Other

Deployment variants

q4f16_1
Download size: 1402.8 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16_1
Weight revision: de9cc76f0d4b3a49a0f718df424944054bf1eec1
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

SmolLM2 1.7B Instruct

Hugging Face SmolLM2 1.7B — extremely compact instruct model for browser chat.

Tasks: Chat

ModelWebLLM

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
Exact model ID
mlc-ai/SmolLM2-1.7B-Instruct-q4f16_1-MLC
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@mlc-ai/web-llm@0.2.85
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0
Legacy license label (unverified)
Apache-2.0

Deployment variants

q4f16_1
Download size: 918.2 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16_1
Weight revision: 84f57f8580a9d8d623266b600ad4273bb9fd84c1
Weight artifact ↗

Performance and compatibility measurements

Compare 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

ModelWebLLM

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
Exact model ID
mlc-ai/DeepSeek-R1-Distill-Qwen-1.5B-q4f16_1-MLC
Natural languages
English, Chinese
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
@mlc-ai/web-llm@0.2.85
Execution backend
Not verified
Code license
Apache-2.0
Weight license
MIT
Legacy license label (unverified)
Other

Deployment variants

q4f16_1
Download size: 953.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16_1
Weight revision: 7198ce7f5a342e377f5e61ff8400193492af548b
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Qwen3 0.6B

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

ModelTransformers.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
Exact model ID
onnx-community/Qwen3-0.6B-ONNX
Natural languages
English, Chinese
Programming languages
Not specified
Other reported capabilities
Instruction following, Multilingual chat
Package
Not verified
Runtime version
@huggingface/transformers@4.3.1
Execution backend
webgpu, wasm
Code license
Apache-2.0
Weight license
Apache-2.0

Deployment variants

q4f16
Download size: 543.4 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: Not verified
int8
Download size: 589.1 MiB
Peak runtime memory: Not measured
Quantization / precision: int8
Weight revision: Not verified
q4
Download size: 876.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q4
Weight revision: Not verified
fp16
Download size: 1147.1 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: Not verified

Performance and compatibility measurements

Compare 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.

Other tasks in this category

Browse all LLM models →

Read next

All posts →