Skip to content
WebAI

multimodal / vlm

VLM

Takes an image and a question and answers in text. A vision-language model is a vision encoder bolted onto a decoder LLM, so the browser cost is the LLM's plus an encoder pass per image, and the small builds are the only practical ones.

5 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

Moondream 2

Tiny VLM for visual question answering and captioning.

Tasks: VLM

ModelTransformers.js

q4f16: 706.5 MiB

q8: 1779.3 MiB

fp16: 3544.6 MiB

fp32: 7087.6 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/moondream2
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: 706.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 2d577a7ec3b54cce81456f5358d7aa815d587079
Weight artifact ↗
q8
Download size: 1779.3 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 2d577a7ec3b54cce81456f5358d7aa815d587079
Weight artifact ↗
fp16
Download size: 3544.6 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 2d577a7ec3b54cce81456f5358d7aa815d587079
Weight artifact ↗
fp32
Download size: 7087.6 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 2d577a7ec3b54cce81456f5358d7aa815d587079
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

LLaVA 1.5 7B

LLaVA visual chat model. No MLC or ONNX browser build is published; listed for comparison only.

Tasks: VLM

ModelTransformers (Python)

Download size: Historical estimate: ~4.5 GB (unverified)

Code license: Not verified

Weight license: Custom

Browser support unverified

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
llava-hf/llava-1.5-7b-hf
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Not specified
Package
Not verified
Runtime version
Not verified
Execution backend
Not verified
Code license
Not verified
Weight license
Custom
Legacy license label (unverified)
Other

Deployment variants

Unspecified variant
Download size: Historical estimate: ~4.5 GB (unverified)
Peak runtime memory: Not measured
Quantization / precision: Not verified
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

PaliGemma 2 3B (224)

Google PaliGemma 2 vision-language model with an ONNX build; strong OCR, 3B parameters.

Tasks: VLM

ModelTransformers.js

q4f16: 2760.9 MiB

q8: 3461.5 MiB

fp16: 6915.3 MiB

fp32: 13829.2 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
onnx-community/paligemma2-3b-pt-224
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
Custom
Legacy license label (unverified)
Other

Deployment variants

q4f16
Download size: 2760.9 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
Weight artifact ↗
q8
Download size: 3461.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
Weight artifact ↗
fp16
Download size: 6915.3 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
Weight artifact ↗
fp32
Download size: 13829.2 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: b0a2d6f61eff89480380bd1714ea5c43aadc35b5
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

Florence-2

Microsoft Florence-2 — unified vision foundation model for captioning, detection, OCR and grounding in the browser.

Tasks: VLM · Detection · OCR

ModelTransformers.js

q4f16: 213.1 MiB

q8: 262.3 MiB

fp16: 518.8 MiB

fp32: 1035.6 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
onnx-community/Florence-2-base
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
MIT
Legacy license label (unverified)
Other

Deployment variants

q4f16
Download size: 213.1 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: d59e079711c57174f29265539fb4cc9f0f335916
Weight artifact ↗
q8
Download size: 262.3 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: d59e079711c57174f29265539fb4cc9f0f335916
Weight artifact ↗
fp16
Download size: 518.8 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: d59e079711c57174f29265539fb4cc9f0f335916
Weight artifact ↗
fp32
Download size: 1035.6 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: d59e079711c57174f29265539fb4cc9f0f335916
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

SmolVLM 256M Instruct

A 256M Idefics3 vision-language model that answers questions about an image instead of only producing a caption. It ships as three ONNX graphs (vision encoder, embed tokens, decoder) and this site loads the q4 tier.

Tasks: VLM

ModelTransformers.js

q4: 251.7 MiB

fp32: 980.9 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
HuggingFaceTB/SmolVLM-256M-Instruct
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Visual question answering, Image captioning
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

q4
Download size: 251.7 MiB
Peak runtime memory: Not measured
Quantization / precision: q4
Weight revision: Not verified
fp32
Download size: 980.9 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
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 VLM

VLM under Multimodal holds 5 catalogue entries: 5 models.

4 of them carry browser evidence, all from upstream browser examples. Another 1 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 Transformers.js and Transformers (Python), 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
5 in total
Main runtime
Transformers.js and Transformers (Python)
Smallest known weights
213 MiB
Browser evidence
4 of 5 verified

VLM: common questions

Can VLM run directly in a browser?
Yes. 4 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 VLM?
We verified the weight file sizes of 4 entries in this task; the smallest tier is 213 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 VLM?
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 Multimodal models →

Read next

All posts →