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

Run Gemma 2 9B in your browser

Google’s 9B instruct model. Needs 6.5 GB of GPU memory and f16 shaders.

modelgemma-2-9b-it-q4f16_1-MLC engineWebLLM 0.2.84 networkthe model downloads once
Download4.8 GB
GPU memory6.3 GB
Context4k tokens
Parameters9B
Builds2

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

Open this page in a browser with JavaScript to check whether Gemma 2 9B fits this device. It needs about 6.3 GB of GPU memory and a 4.8 GB download.
Specifications Sourced from the model card
Family
Gemma
Published by
Google
Parameters
9B
Quantisation
q4f16_1 · 4-bit
Download
4.8 GB · 128 files
GPU memory
6.3 GB
Context window
4k tokens
Reasoning
—
Good at
Chat · Multilingual
Builds Same weights, different precision
# Build Download GPU memory Context Note
01 q4f16_1 4.8 GB 6.3 GB 4k tokens 4-bit weights, f16 · needs f16 shaders Recommended
02 q4f32_1 5.4 GB 8.2 GB 4k tokens 4-bit weights, f32
How to run it
01 Open the chat The button above opens Gemma 2 9B in the browser AI chat, with the model already selected.
02 Download once 4.8 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 2 9B download?

4.8 GB for the q4f16_1 build, in 128 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 2 9B?

A browser with WebGPU (a recent Chrome, Edge, Firefox or Safari) and about 6.3 GB of GPU memory. Before anything downloads, the tool checks your GPU, memory and free space and tells you whether Gemma 2 9B fits.

Is anything I type sent to a server?

No. Gemma 2 9B 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 2 9B 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 2 9B hold?

Its context window is 4k tokens. Longer conversations still work: once the conversation no longer fits, the oldest turns are dropped and you see a notice.

What licence is Gemma 2 9B released under?

The weights are Gemma Terms of Use, taken from the model card of google/gemma-2-9b-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
The model downloads once·What you type stays on this device
Out0 B
Ready—