GeForce RTX 4060 · Gemma 4 12B · Q4_K_M

Tight. Gemma 4 12B at Q4_K_M loads on GeForce RTX 4060 at 8,192 tokens and uses most of the fast memory, roughly 20–31 tokens per second.

Check GeForce RTX 4060 price on Amazon

As an Amazon Associate we earn from qualifying purchases.

PieceValueNote
Weights6.63 GiBgemma-4-12b-it-Q4_K_M.gguf
KV cache0.44 GiB8,192 tokens
Engine overhead0.50 GiBFlat 0.5 GiB allowance
5% headroom0.38 GiBOn the sum above
Total7.95 GiBTight
Fast memory8.00 GiB8 GB VRAM
Speed20–31 tok/sDense bandwidth range

ollama run gemma4:12b

GeForce RTX 4060 · Gemma 4 12B ·GGUF file · Methodology

FAQ

How was this fit calculated?

Weights 6.63 GiB, KV cache 0.44 GiB at 8,192 tokens, engine overhead 0.50 GiB, then 5% headroom, for 7.95 GiB. Fast memory available is 8.00 GiB.

What if I change the quant or the context?

This page is Q4_K_M at 8,192 tokens. A smaller quant or a shorter context lowers the total. The homepage calculator changes both without a new page.

Can I trust the tokens per second?

The range 20–31 tok/s is a bandwidth roofline, 55% to 80% efficient. This dense model reads the whole weight file each token. Measure your own box before you buy around it.

What do I type?

ollama run gemma4:12b

Is GeForce RTX 4060 assumed to have extra RAM?

Yes. Discrete GPU pages assume 32 GB of system RAM. Offload uses whatever remains after 8 GB for Windows, and it is limited by the slower of DDR5-5600 and the PCIe link.