GGUF VRAM calculator

Estimate how much GPU memory a local LLM needs: model size, quantisation and context length, and the longest context that fits.

Runs in your browser. Your files and data never leave your device.

Weights
KV cache
Compute buffers
Total
Longest context that fits

An estimate: real files and runtimes differ by a few percent. Sliding-window and mixture-of-experts models are not modelled, and a card also needs room for the desktop.

Keyboard shortcuts

//Ctrl K
Search
?
Show this list
Esc
Close the open dialog, menu or search
Ctrl Enter
Run the main action of a tool (where it has one)