Gemma 4 31B IT Q4_K_M · 8K context
Possible but slow The model needs about 20.5 GB but only 7.7 GB of VRAM is usable: 12.8 GB must be loaded into system RAM. It runs, 37% on the GPU, but more slowly.
Your hardware RTX 4060 Ti 8 GB · 64 GB RAM
Estimated memory ~20.5 GB estimate
VRAM (usable memory) 7.7 GB
GPU only No
CPU/GPU offload Required (12.8 GB)
Generation speed 1.5–3 tok/s estimate
Largest context in fast memory None Memory breakdown ~20.5 GB (19.7 GB–21.3 GB) needed · estimate
12.8 GB must be offloaded to system RAM
VRAM 8 GB
VRAM System RAM 51 GB →
Model weights 17.1 GB KV cache 1.4 GB Runtime overhead 1 GB Safety margin 1 GB Assumptions: context 8K tokens · KV cache f16 · llama.cpp (CUDA) · flash attention on · weights = real file size · sliding-window layers keep 1,024 tokens EstimateData updated on September 25, 2026 Source: Run LLM Locally engine , Hugging Face config.json + model card
What makes this estimate less reliable
no benchmark for this hardware and model yet split CPU/GPU runs vary a lot with the CPU and PCIe link system RAM speed unknown (dual-channel DDR4-3200 assumed)