Local LLM VRAM Calculator

Enter parameter count and precision. Get the VRAM you actually need, including KV cache and overhead.

Estimate only. KV cache scales with context and batch; real usage varies by architecture, quantisation and backend.

What we can verify

ItemStatus
Weights (fp16)2 bytes per parameter
Weights (8-bit)1 byte per parameter
Weights (4-bit)~0.55 bytes per parameter (with quant overhead)
KV cachegrows with context length and batch size - shown separately
Runtime overhead~1-2 GB for the inference stack

Anything not published by the vendor is marked unverified rather than guessed.

Want the full pack?

40 prompt patterns, parameter cheat sheet and a batch generator.

Get the $9 pack →

Card or PayPal. After paying, send the receipt to kk12188@proton.me and the pack arrives by return email (usually within a few hours).

Or have it done for you — $199

We rebuild the page for your own model or product: tool, data table, copy, deployment and index submission. One-off, delivered in 3 days, invoice sent after you approve the scope.

Email for a quote →
document.getElementById('go').onclick=function(){ var P=parseFloat(document.getElementById('params').value)||0; var B=parseFloat(document.getElementById('prec').value)||2; var C=parseInt(document.getElementById('ctx').value)||4096; var N=parseInt(document.getElementById('batch').value)||1; if(P<=0){document.getElementById('out').textContent='Enter the model size in billions of parameters.';return;} var w=P*B, kv=0.000071*P*C*N, ov=1.5, tot=w+kv+ov; function g(x){return x.toFixed(1)+' GB';} document.getElementById('out').innerHTML='Total: '+g(tot)+'
' +'Weights: '+g(w)+'
KV cache: '+g(kv)+'
Runtime overhead: '+g(ov)+'

' +'Rule of thumb: buy '+Math.ceil(tot/8)*8+' GB of VRAM, or 1.3x if you plan to fine-tune.'; };