I measured how much VRAM Qwen3.5 9B and Gemma 4 E4B really use on a 3060 12 GB, and built a free calculator around it

Reddit r/LocalLLaMA Tools

Summary

The author benchmarked real VRAM usage of Qwen3.5 9B, Gemma 4 E4B and other models on an RTX 3060 12GB and launched a free browser-based calculator that predicts which of ~40 models will fit your GPU, RAM and context length, accurate to within 1% of measurements.

I kept guessing which models would fit on my RTX 3060 12 GB, so I measured it and built a small calculator around the numbers. Measured with LM Studio (llama.cpp CUDA), Q4_K_M, full GPU offload, `nvidia-smi` before/after: | Model | 4K ctx | 16K ctx | 32K ctx | Speed | |---|---|---|---|---| | Gemma 4 E4B | 4.51 GB | 4.72 GB | 5.01 GB | 74 tok/s | | Qwen3.5 9B | 6.66 GB | 7.07 GB | 7.63 GB | 54 tok/s | | Qwen3.8 27B | doesn't fit: 9.5 GB on GPU, rest in RAM | | | 5.4 tok/s | Two things I found interesting: - The hybrid models barely grow with context. Qwen3.5 only keeps a KV cache on 8 of its 32 layers (the rest are linear attention), so it's about 0.034 GB per 1K tokens. A Qwen2.5-style 7B of similar size is roughly double that, and older models like Gemma 2 9B are 10× more. - Gemma 4 E-models use less VRAM than their parameter count suggests. E4B is 8B parameters on paper, but about 2.8B of that is per-layer embeddings that llama.cpp keeps in system RAM. The calculator: pick your GPU (54 desktop and laptop cards, or type your VRAM), RAM and context length, and it shows ~40 models at Q4/Q5/Q8/FP16 as "runs on GPU", "runs slowly (spills to RAM)" or "won't run", plus the `ollama run` command for the biggest one that fits. The estimate is weights + KV cache (full-attention layers only for hybrid models, from each model's HF config) + ~0.6 GB runtime. Against my measurements it's within 1%. https://techtulna.in/ai/model-fit?utm\_source=reddit&utm\_campaign=launch It runs entirely in your browser, no sign-up. Disclosure: I made it; it's part of a small site of free tech tools I'm building. If your numbers on another card differ, tell me and I'll add a "tested" entry for it.
Original Article

Similar Articles

Qwen 35B-A3B is very usable with 12GB of VRAM

Reddit r/LocalLLaMA

A user benchmarks Qwen 35B-A3B (a 35B MoE model) on a 12GB RTX 3060, finding that 12GB VRAM is a practical sweet spot for running the model with 32k context, achieving ~47 t/s generation.

Layman's comparison on Qwen3.6 35b-a3b and Gemma4 26b-a4b-it

Reddit r/LocalLLaMA

A user compares Qwen3.6 35B-A3B and Gemma 4 26B-A4B-IT running locally on a 16GB VRAM GPU via LM Studio, finding Qwen3.6 produces more detailed outputs while both run at comparable speeds. The post is an informal community comparison using quantized models.