llamaperf

Gemma 4 on the NVIDIA RTX 3060 12GB

On the NVIDIA RTX 3060 12GB, Gemma 4 8B · 4.5B active at 4-bit generates a median 59.5 tokens per second, from 2 plain runs (4K context, 1 not stated).

Speed by size and quant on the NVIDIA RTX 3060 12GB

Plain runs only: one card, one request, no speculative decoding, the whole model in memory. Each row is one model size at one bit class. Context length and build still differ between runs, and each row shows its own.

Gemma 4GenerationBy engine
8B · 4.5B active 4-bit59.5 t/smedian of 2, 4K context, 1 not stated
LM Studio 74.0 t/s (1)
Ollama 45.0 t/s (1)
5.1B · 2.3B active 4-bit60.0 t/sone report, context not stated
Ollama 60.0 t/s (1)

Memory Gemma 4 needs on the NVIDIA RTX 3060 12GB

The NVIDIA RTX 3060 12GB gives a model 12 GB. Each figure is the memory a size reported on this card needs at one quant with an 8k context, cache and buffers included, from the VRAM calculator. It is for one card holding the whole model. Gemma 4 memory on every card.

SizeQ8_0Q6_KQ5_K_MQ4_K_MQ3_K_M
5.1B · 2.3B active7.2 GBfits6.2 GBfits5.6 GBfits5.0 GBfits4.3 GBfits
8B · 4.5B active10 GBfits8.6 GBfits7.6 GBfits6.6 GBfits5.6 GBfits
31B33 GBtoo big28 GBtoo big24 GBtoo big20 GBtoo big16 GBtoo big

5 reports of Gemma 4 on the NVIDIA RTX 3060 12GB

Newest first. A run on several cards, with speculative decoding, with part of the model in system RAM or with batched requests says so, since each describes a different setup. Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.

Filter these reports on the homepage

Frequently asked

How fast is Gemma 4 on the NVIDIA RTX 3060 12GB?

On the NVIDIA RTX 3060 12GB, Gemma 4 8B · 4.5B active at 4-bit generates a median 59.5 tokens per second, from 2 plain runs (4K context, 1 not stated).

Does Gemma 4 fit on the NVIDIA RTX 3060 12GB?

The NVIDIA RTX 3060 12GB gives a model 12 GB. With an 8k context, the 5.1B · 2.3B active model fits at Q8_0 (about 7.2 GB), the 8B · 4.5B active model fits at Q8_0 (about 10 GB), the 31B model does not fit with headroom at any quant from Q8 to Q3 (about 16 GB at Q3). The figures are the VRAM calculator's, for one card with the whole model in its memory.

Which engine runs Gemma 4 fastest on the NVIDIA RTX 3060 12GB?

Plain runs of the 8B · 4.5B active model at 4-bit on this card: LM Studio 74.0 t/s (1 run), Ollama 45.0 t/s (1 run). Context length and engine build differ between the runs, so treat it as a lead, not a benchmark.