iWebSeoTool VRAM Calculator: Work out how much GPU memory an AI model needs — enter the parameters, the precision and the overhead, and see the weights, the total VRAM and whether it fits your card.
This vram calculator works out how much GPU memory an AI model needs — the parameters, the precision and the overhead. Enter your own figures and this gpu memory calculator shows the model weights, the total VRAM and whether the model fits a 16 GB or a 24 GB card — so the card is chosen before the model is downloaded.
The overhead is the honest part of this calculation — the weights are only part of what a model holds in memory, and activations, the context window and the working space add gigabytes on top. The figures are a model of your own numbers, not a promise that a particular model will load on a particular card. Everything runs in your browser.
Tap a star to rate:
Why Use Our VRAM Calculator?
Fit Before You Download
Know whether a model fits your card before the download starts, not after it fails to load.
Precision Compared
The weights are shown for every precision, so the saving from quantisation is visible at a glance.
Overhead Counted
The activations and context are added on top, so the total is the memory the model really needs.
Free, With No Limits
Size every model, precision and card on your list, with no signup and no premium tier.
Common Use Cases for VRAM Calculator
Local AI Setups
Check which models fit the graphics card you already own.
Card Shopping
Work out which card a model needs before buying one.
Quantisation Choices
Compare FP16, INT8 and INT4 on the same model.
Cloud GPU Budgets
Pick the smallest cloud GPU a model fits on.
Multi-Model Servers
Add up the models a server must hold at once.
Context Planning
See how much overhead a long context window adds.
Understanding VRAM for AI Models
What is VRAM for an AI Model?
VRAM is the memory on a graphics card, and an AI model needs enough of it to hold its weights — the parameters times the bytes per parameter, set by the precision — plus an overhead for the activations, the context window and the working space. The total VRAM is the weights plus the overhead, and the model only runs if that total fits the card.
How Our VRAM Calculator Works
- Enter the model: Add the model size in billions of parameters and the precision.
- Add the overhead: Enter the gigabytes for activations and context.
- Read the fit: See the weights, the total VRAM and whether the model fits a 16 GB or a 24 GB card — then try a lower precision if it does not fit.
Where VRAM Sizing Goes Wrong
- Counting weights only: A model whose weights fit can still run out of memory once the context window is added.
- Forgetting the precision: A 7B model is 28 GB at FP32 and 14 GB at FP16 — the same model, twice the memory.
- Trusting the parameter count: Some models store extra tables alongside the weights, so the real size can be larger than the count suggests.
- Sizing for training: Training needs gradients and optimiser states too, which can be several times the weights alone.
Privacy, Accuracy & Availability
Your figures are calculated in your browser and are never uploaded or stored. The calculator is a model of the numbers you enter — it cannot know how a particular model stores its weights or how much context it will use, and no model is guaranteed to load. It is free, with no account and no usage limits.
Related tools
- AI Infrastructure Cost Calculator — work out what the servers behind an AI service cost.
- Context Window Calculator — work out how much text fits inside a model's context window.
- Chunk Size Calculator — work out the chunk size a document needs for a target chunk count.
- AI ROI Calculator — work out the return on any AI investment.
Frequently asked questions
It depends on the precision and the overhead: at FP16, a 7B model holds 7 times 2 bytes — 14.00 GB of weights — and with 2.50 GB of overhead the total is 16.50 GB, so it does not fit a 16 GB card but does fit a 24 GB card. At INT4 the same model holds only 3.50 GB of weights.
It is the bytes each parameter takes in memory — four for FP32, two for FP16 or BF16, one for INT8 and half a byte for INT4. Halving the precision halves the weights, which is why a 7B model is 28 GB at FP32, 14 GB at FP16 and 7 GB at INT8.
The activations, the context window and the working space a model needs while it runs — none of which is part of the weights. A few gigabytes is a fair allowance for a short conversation; a long context window or a large batch can need far more.
It does not — the model needs the same memory everywhere. What changes is the card: a 16 GB card cannot hold a 16.50 GB model, while a 24 GB card can, with room to spare. The calculator shows both so the card can be chosen against the model.
Yes — a quantised model is smaller and faster, but its answers can be less accurate than the full-precision model. INT8 and INT4 are a trade: less memory for a small loss of quality, which is worth it when the model would not fit otherwise.
Not directly — training needs memory for the gradients and the optimiser states as well as the weights, which can be several times the weights alone. This calculator covers running a model; training a 7B model needs far more than 16.50 GB.
No. The calculator runs entirely in your browser; the figures you enter are never uploaded or stored.