Gemma 4 31B IT Q4_K_M · 8K context
Compatible The model needs about 20.5 GB and fits in the 23.3 GB available (2.8 GB left).
Your hardware RTX 3090 Ti 24 GB · 64 GB RAM
Estimated memory ~20.5 GB estimate
VRAM (usable memory) 23.3 GB
GPU only Yes
CPU/GPU offload Not required
Generation speed 36–49 tok/s estimate
Largest context in fast memory 42K tokens Memory breakdown ~20.5 GB (19.7 GB–21.3 GB) needed · estimate
Fits entirely in VRAM · 2.8 GB left
VRAM 23 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