Skip to the tool workspace
Browser 106
no file limit
Google Runs on your GPU

Run Gemma 2B in your browser

Gemma 2B is a 2B Google model. In the browser it downloads 1.3 GB and needs about 1.4 GB of GPU memory.

modelgemma-2b-it-q4f16_1-MLC engineWebLLM 0.2.84 networkthe model downloads once
Download1.3 GB
GPU memory1.4 GB
Context4k tokens
Parameters2B
Builds4

Use Gemma 2B in the browser All models Downloads once · then works offline

Open this page in a browser with JavaScript to check whether Gemma 2B fits this device. It needs about 1.4 GB of GPU memory and a 1.3 GB download.
Specifications Sourced from the model card
Family
Gemma
Published by
Google
Parameters
2B
Quantisation
q4f16_1 · 4-bit
Download
1.3 GB · 38 files
GPU memory
1.4 GB
Context window
4k tokens
Reasoning
Base model
google/gemma-2b-it
Good at
Chat · Multilingual
Builds Same weights, different precision
# Build Download GPU memory Context Note
01 q4f16_1 1.3 GB 1.4 GB 4k tokens 4-bit weights, f16 · needs f16 shaders Recommended
02 q4f16_1 1.3 GB 1.4 GB 1k tokens 4-bit weights, f16 · short context, less memory · needs f16 shaders
03 q4f32_1 1.5 GB 1.7 GB 4k tokens 4-bit weights, f32
04 q4f32_1 1.5 GB 1.7 GB 1k tokens 4-bit weights, f32 · short context, less memory
How to run it
01 Open the chat The button above opens Gemma 2B in the browser AI chat, with the model already selected.
02 Download once 1.3 GB arrives from Hugging Face and stays in your browser cache. You can start typing while it downloads.
03 Chat privately The model runs on your GPU. Nothing you type is uploaded, and it keeps working offline.
Questions
How big is the Gemma 2B download?

1.3 GB for the q4f16_1 build, in 38 files. It downloads once and stays in your browser cache, so every later visit starts straight away and works offline.

What does my device need to run Gemma 2B?

A browser with WebGPU — recent Chrome, Edge, Firefox or Safari — and about 1.4 GB of GPU memory. The tool checks your GPU, memory and free space and tells you whether Gemma 2B fits before anything downloads.

Is anything I type sent to a server?

No. Gemma 2B runs on your own GPU inside the browser tab. The only network traffic is the one-time download of the model files from Hugging Face; your prompts and the answers never leave the device, and the chats are stored in this browser.

Which build of Gemma 2B should I choose?

Start with q4f16_1 — it is the smallest download and the fastest to run. The f32 builds are larger and use more memory, but they run on GPUs without 16-bit shader support. Builds marked 1k hold a shorter conversation in exchange for less memory.

How long a conversation can Gemma 2B hold?

Its context window is 4k tokens. Longer conversations keep working — the oldest turns are dropped with a notice when the conversation no longer fits.

What licence is Gemma 2B released under?

The weights are Gemma Terms of Use, taken from the model card of google/gemma-2b-it. Check the licence yourself before using it commercially.

Other models Same family, then same size

All 65 models Open the chat

Figures read from the WebLLM 0.2.84 catalog and the model card on 2026-09-03.

/ai/browser-based-ai-chat
1 tool selected
Runs locally·The model downloads once·Your input never leaves
Out0 B
Ready