Can NVIDIA GeForce RTX 4060 run gemma-4-E4B-it?
This page was written and translated automatically by AI and checked by software against its sources, with no human editing. Specifications come from the sources listed; memory requirements and speeds are estimates calculated with published formulas. How we use AI
Fits By llama.cpp’s default load check, gemma-4-E4B-it fits on NVIDIA GeForce RTX 4060 at Q4_K_M with a context of 8,192 tokens. One card needs 4.7 GiB available for “Fits”.
At Q4_K_M, the longest context that fits is 15,104 tokens.
Run profile: llama.cpp, CUDA back end (NVIDIA discrete GPU), all layers on the GPU, Flash Attention on, micro-batch (-ub) 512, F16 KV cache, context (-c) as shown; “Fits” is judged with llama-server’s default 4 parallel sequences (-np auto, unified KV cache) and “Doesn’t fit” with 1 sequence; idle GPU with no other programs using its memory.
Memory counted as available for “Fits” (C_low): 4.88 GiB per card = 8 GiB nominal − 1,054 MiB (the largest gap between nominal and reported total measured on consumer and workstation GPUs in this profile, used because no public log reports this GPU’s own total) − 2,112 MiB (the largest start-up and runtime use seen in this profile’s public logs), rounded down to a multiple of 64 MiB.
These results assume the card’s default configuration. Settings that reduce usable memory (for example ECC, where the card supports it) are not covered.
Memory used for “Doesn’t fit” (C_high): the full 8 GiB per card. Run profiles and their measurements
Memory needed by quantization and context
| Quantization | 4,096 | 8,192 | 32,768 | 131,072 |
|---|---|---|---|---|
| BF16 | 10.9 GiB Doesn't fit | 11.0 GiB Doesn't fit | 11.4 GiB Doesn't fit | 13.2 GiB Doesn't fit |
| Q8_0 | 6.8 GiB Tight | 6.9 GiB Tight | 7.3 GiB Tight | 9.1 GiB Tight |
| Q6_K | 5.7 GiB Tight | 5.8 GiB Tight | 6.2 GiB Tight | 8.0 GiB Tight |
| Q5_K_M | 5.2 GiB Tight | 5.2 GiB Tight | 5.7 GiB Tight | 7.5 GiB Tight |
| Q4_K_M | 4.7 GiB Fits | 4.7 GiB Fits | 5.2 GiB Tight | 7.0 GiB Tight |
| Q4_0 | 4.5 GiB Fits | 4.6 GiB Fits | 5.1 GiB Tight | 6.8 GiB Tight |
| IQ4_XS | 4.4 GiB Fits | 4.5 GiB Fits | 4.9 GiB Tight | 6.7 GiB Tight |
| Q3_K_M | 4.1 GiB Fits | 4.2 GiB Fits | 4.6 GiB Fits | 6.4 GiB Tight |
How fast can it generate?
At Q4_K_M, the theoretical ceiling is about 85.6 tokens per second (272 GB/s ÷ 3.18 GB read per token).
Alternatives
Other 8 GB GPUs where gemma-4-E4B-it fits
Sources
- Model page, with every quantization and its files: gemma-4-E4B-it
- GPU page, with each specification and its sources: NVIDIA GeForce RTX 4060
- Model files on Hugging Face (pinned revisions): google/gemma-4-E4B-it@ee0ef60, unsloth/gemma-4-E4B-it-GGUF@bfc15c3
- Memory size of NVIDIA GeForce RTX 4060 from: Wikipedia: GeForce RTX 40 series (CC BY-SA 4.0), GetDeploying GPU Models (CC BY 4.0)
- Methodology