Napkin math for GPU fit: a 7B model needs ~14GB at FP16, ~3.5GB at INT4

cneuralnetwork · x · 2026-10-28

@cneuralnetwork shares a quick rule for estimating whether a model fits on your GPU: weight memory ≈ parameters × bits / 8. A 7B model needs roughly 14GB at FP16, 7GB at INT8, and 3.5GB at INT4. But weights aren't the whole story — KV cache, activations, and runtime overhead (which depend on context length and batch size) also consume VRAM, so fitting in memory doesn't mean comfortable inference. Always leave headroom.

Original post →

More from Infra

Infra channel →