Skip to content
Run LLM Locally

Gemma 3 4B IT on the H100 PCIe

With 80 GB of VRAM, the H100 PCIe runs Gemma 3 4B IT at Q4_K_M entirely on the GPU with an 8K context (about 3.9 GB needed). At Q8_0 it fits entirely.

Gemma 3 4B IT

Q4_K_M · 8K context

Excellent

The model needs about 3.9 GB and fits in the 77.6 GB available, with 73.7 GB to spare.

Your hardware
H100 PCIe 80 GB · 64 GB RAM
Estimated memory
~3.9 GB estimate
VRAM (usable memory)
77.6 GB
GPU only
Yes
CPU/GPU offload
Not required
Generation speed
266–495 tok/s estimate
Largest context in fast memory
128K tokens
Confidence: low

Based on: memory bandwidth (2,000 GB/s) and model size

Memory breakdown

~3.9 GB (3.5 GB–4.4 GB) needed · estimate

Fits entirely in VRAM · 73.7 GB left

  • Model weights2.3 GB
  • KV cache0.3 GB
  • Runtime overhead1 GB
  • Safety margin0.3 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 24 days agoSource: Run LLM Locally engine, Hugging Face config.json + model card

What makes this estimate less reliable

  • no benchmark for this hardware and model yet

Other quantizations on the H100 PCIe

Gemma 3 4B IT on H100 PCIe + 64 GB RAM · 8K context
Gemma 3 4B IT Q8_08K~5.4 GB · 208–351 tok/s estimateExcellent
Gemma 3 4B IT Q6_K8K~4.6 GB · 238–421 tok/s estimateExcellent
Gemma 3 4B IT Q5_K_M8K~4.2 GB · 252–456 tok/s estimateExcellent
Gemma 3 4B IT Q4_K_M8K~3.9 GB · 266–495 tok/s estimateExcellent
Gemma 3 4B IT IQ4_XS8K~3.7 GB · 277–525 tok/s estimateExcellent
Gemma 3 4B IT Q3_K_M8K~3.5 GB · 286–549 tok/s estimateExcellent

Alternatives

Hardware that runs Gemma 3 4B IT Q4_K_M entirely in memory

Prices and links follow the market you choose.

GeForce RTX 4060

NVIDIA

ExcellentRuns Gemma 3 4B IT Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

Radeon RX 7600 XT

AMD

ExcellentRuns Gemma 3 4B IT Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

AMD Ryzen AI Max+ 395

Unified memory PC

ExcellentRuns Gemma 3 4B IT Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

No current offer imported for this market: the link opens a marketplace search.

Frequently asked questions

Can the H100 PCIe run Gemma 3 4B IT?
The model needs about 3.9 GB and fits in the 77.6 GB available, with 73.7 GB to spare.
Which quantization should I use on the H100 PCIe?
Q8_0 is the highest-precision quantization that fits entirely in VRAM at 8K context. ~5.4 GB / 77.6 GB.
What is the largest context on the H100 PCIe?
At Q4_K_M, about 128K tokens fit entirely in VRAM with an f16 KV cache. A q8_0 KV cache roughly doubles that.
How fast is Gemma 3 4B IT (H100 PCIe)?
We estimate 266–495 tok/s (estimate, confidence low). Based on: memory bandwidth (2,000 GB/s) and model size.