Article
IntermediateHow Big a Model Can Your Browser Actually Run? WebGPU Limits, Honestly Explained
Browser-based AI has hard walls: GPU memory, model size, and context windows. Learn where those walls are, how to check your own device, and when the browser lab stops being enough.
AI Literacy Local Models
Our learning lab runs AI models in your browser, on your own computer. Nothing uploads. Nothing leaves your machine. That privacy is the whole point — but it comes with walls, and it is better to know where they are before you hit them.
This article explains those walls in plain terms: what decides how big a model your browser can run, what happens when you push past it, how to check your own device, and when the browser lab stops being the right tool for the job. Every scenario below is fictional; the limits are real.
The wall is GPU memory, not RAM
When a model runs in your browser, it lives on your graphics card’s memory — VRAM — not the main RAM your operating system reports. This trips up almost everyone the first time.
Your laptop might have 16 GB of RAM and still only have 4 or 8 GB of VRAM, because integrated graphics (the kind built into most office laptops) share system memory and claim a small slice for graphics. Discrete graphics cards — the separate NVIDIA or AMD cards in gaming and workstation machines — have their own dedicated VRAM.
WebGPU, the browser technology our lab uses, can only use what the graphics card offers. So the first question is never “how much RAM do I have?” It is: “how much VRAM does my graphics card have?”
Quantization: why an 8-billion-parameter model fits in 5 gigabytes
Model sizes are usually quoted in parameters: 3B, 8B, 27B. A parameter is a number the model learned during training, and storing each one takes memory.
The trick that makes browser AI possible is quantization — storing those numbers with fewer digits. A full-precision 8-billion-parameter model needs about 16 gigabytes. The same model quantized to 4-bit (written “Q4”) needs about 5 gigabytes. The quality loss for everyday writing and summarizing is small enough that most people never notice.
So the practical math looks like this:
- A 3–4B model at Q4 needs roughly 2.5–3 GB of VRAM
- An 8B model at Q4 needs roughly 5 GB of VRAM
- A 14B model at Q4 needs roughly 9 GB of VRAM
- A 27B model at Q4 needs roughly 17 GB of VRAM
Add a margin on top of those numbers, because the model needs extra room to think (more on that below).
The context window also eats memory
A model’s size is only half the story. The other half is the context window — how much text the model can hold in mind at once. Everything you paste in, every source document, and everything the model has already written in this conversation sits in the context window.
The catch: a bigger context window needs more memory while the model runs. The memory used for “thinking about the current conversation” (technically the KV cache) grows with the window size. A 4,096-token window is cheap. A 32,768-token window on the same model can need several extra gigabytes — on a card that was already nearly full.
This is why our lab defaults to a conservative 4,096-token context. It is not that bigger is worse — it is that bigger costs memory, and on a lower-powered device that cost can be the difference between a model that runs and one that crashes.
Practical rule: if you are pasting long documents, paste the relevant pages, not the whole binder. If a conversation gets long, start a new one with a summary of what mattered. You are doing manually what expensive systems do automatically — and for foundation work, it is usually enough.
What happens when you push too far
Nobody damages their computer by trying a model that is too big. But the failure modes are annoying, so here they are in order of how often people meet them:
- Slow generation. The model technically fits, but tokens crawl out one at a time. A draft that should take 30 seconds takes 6 minutes. This is the most common sign you are near the edge.
- The tab runs out of memory. The browser kills the lab tab with an “out of memory” error. Your conversation is gone unless you saved it. The model was bigger than the available VRAM.
- The download finishes but the model won’t load. WebGPU has per-resource limits, and some browsers cap how much memory one page may hold. The file is fine; the browser just won’t hand over that much.
- Everything works until the context fills up. The model loads and answers quickly, then crashes twenty minutes into a long session. The KV cache grew until it hit the ceiling.
If you hit any of these, the fix is the same: use a smaller model, a smaller context window, or both. Drop from 8B to 4B before you spend an afternoon fighting settings — the smaller model answering now beats the bigger model crashing later.
A quick map of what fits where
These are honest approximations, not guarantees. Drivers, browsers, and other open tabs all shift the numbers.
- Office laptop, integrated graphics (4–8 GB shared): 3B–4B models at Q4. Fine for short drafts, summaries, and learning the workflow. This is where most foundation staff start, and it is a perfectly good place to start.
- Modest discrete GPU (8 GB VRAM): 8B models at Q4. Noticeably better writing, handles longer sources. The sweet spot for the browser lab.
- Mid-range card, e.g. RTX 3060/4060 (12 GB VRAM): up to 14B at Q4. Strong drafts, longer context windows possible.
- High-end card: the largest tier in Find the Biggest Model Your GPU Can Actually Run reaches 27B–32B at Q4. Near the top of what open models offer — but at this point, ask whether the browser is still the right home for the work (see below).
Apple silicon Macs are a special case: their memory is shared between the CPU and GPU, so a Mac with 16 GB of unified memory can often run an 8B model comfortably, and 24 GB handles 14B. An 8 GB Mac should stay at 3B–4B.
How to check your own device
Picture a program associate at the fictional Harborlight Foundation — a standard-issue office laptop, integrated graphics, 8 GB of shared memory. She loads a 4B model in the lab and it answers crisply. She tries an 8B model, and the tab dies halfway through the download. Nothing is broken. Her machine simply has about 4 GB of usable graphics memory, and the 8B model wanted 6.5. The 4B model was always the right answer for that laptop.
You do not need to guess which laptop you have.
- Windows: press Win+R, type
dxdiag, open the Display tab. “Display Memory (VRAM)” is your number. - Mac: Apple menu → About This Mac. The memory figure is unified — treat roughly two-thirds of it as available to the model.
- Then apply the rule of thumb: the model’s size in gigabytes, times 1.3, should be less than your VRAM. An 8B Q4 model at ~5 GB needs about 6.5 GB of headroom — so an 8 GB card works, a 4 GB card does not.
Our lab also runs a compatibility check before downloading a model and will warn you when a model is unlikely to fit. Trust that warning; it has seen more graphics cards than any of us.
The inflection point: when the lab helps, and when it hinders
The browser lab is a learning environment. It teaches you the workflow — sources in, draft out, human review — with complete privacy and zero setup. Small models are genuinely good teachers: they force you to write clear prompts, check claims against sources, and keep context tight. Those habits transfer to any model, any size.
The lab becomes a hindrance when the work outgrows what small models do well:
- You need long, polished drafts (grant narratives, board reports) and the small model’s output needs heavy rewriting every time.
- You are spending more time managing the context window — summarizing, trimming, restarting conversations — than doing the actual work.
- Generation is so slow that you avoid using the tool, which defeats the purpose.
- You need to process many documents at once and the browser’s memory ceiling keeps stopping you.
That is not failure. That is graduation. The lab did its job: you now know exactly what you need, which means you will not waste money or time on the wrong next step.
The path forward: a downloadable harness
The natural next step is a version of the lab that runs outside the browser — a small program you install on your computer that talks to larger models through a local server (tools like Ollama or LM Studio), with the same presets, the same source handling, and the same privacy guarantees. No browser memory caps, no tab crashes, room for 27B models and long context windows on a decent card.
We are building toward exactly that: a downloadable harness carrying our presets, with the Trihelix name behind it so a foundation can trust what it installs. It is not available yet. When it is, the browser lab remains the starting point — the place you learn the workflow before you commit a machine to it.
Until then, the honest guidance stands: start in the browser, learn on a small model, and move up only when the work — not the curiosity — demands it. The best model for your foundation is the smallest one that does the job, running on hardware you already own, with your data never leaving the building.
New to the lab? Start with the learning lab and our first-timer’s guide to tokens and context windows.
Common mistakes
Shopping by RAM instead of VRAM. The number on the laptop sticker is not the number that matters. Check the graphics memory before downloading anything.
Downloading the biggest model first. Start small, confirm the workflow, then size up only if the output quality demands it. An 8B model you never use because it’s slow loses to a 4B model you actually open.
Ignoring the compatibility warning. The lab checks your device before downloading. If it says a model won’t fit, it won’t fit — the warning is cheaper than the crashed tab.