Part of the AI & Machine Learning suite · 24 calculators

GPU Memory Requirement Calculator

How much GPU memory a model needs — weights, KV cache and overhead — and whether it fits the card you have.

Weights are parameters times bytes per parameter: two bytes at 16-bit, one at 8-bit, half at 4-bit.

Results update as you type
Results
Total memory needed
326.8 GB
Weights (GB)
KV cache (GB)
Activations and overhead (GB)
Total (GB)
GPUs needed
Fits one GPU?
Requests that fit on one GPU
Weights at 4-bit (GB)
Reviewed September 2026. Model arithmetic is the same everywhere: the same formulas in every market, in your own currency. Australia's AI Ethics Principles are voluntary; cost and sizing arithmetic carries no regulatory requirement.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About gpu memory requirement

How the gpu memory requirement calculator works

Weights are parameters times bytes per parameter: two bytes at 16-bit, one at 8-bit, half at 4-bit. A 70-billion-parameter model is 140 GB at fp16 and 35 GB at 4-bit, which is the difference between four cards and one.

The part people forget is the KV cache, which grows with batch size and context length and can exceed the weights on long-context serving. Loading is not the same problem as serving, and this shows both.

Formula: memory = params × bytes + KV cache + overhead

Worked examples

InputsTotal memory neededNote
A 70B model at fp16326.8 GBneeds several 80 GB cards
The same at 4-bit82.45 GBfits one card
Long context1.53 TBthe KV cache dominates

Frequently asked questions

How much VRAM does a model need?

Two bytes per parameter at fp16, so a 7B model is 14 GB and a 70B is 140 GB — before the KV cache and overhead.

What is the KV cache?

The stored keys and values for every token in the context, per layer. It grows with both context length and concurrent requests, and on long context it can exceed the weights.

Does quantisation hurt quality?

8-bit is usually indistinguishable. 4-bit costs a little accuracy on hard tasks and buys a fourfold memory reduction, which is often the right trade.

Why does batch size matter so much?

Because each concurrent request carries its own KV cache. Doubling concurrency doubles that part of the memory.

What is the overhead?

Activations, workspace and the framework itself. Ten per cent of the weights plus a gigabyte is a reasonable planning allowance.

Where these figures come from

Last checked: September 2026. The relationships here are architectural, not vendor-specific: bytes per parameter follow the numeric format, KV-cache size follows the transformer definition, and token-per-word ratios come from published tokeniser behaviour.