Guide
How much GPU memory do you need to run an LLM?
Last updated: 1 December 2026
The first question for any language model is whether it fits in GPU memory. A simple rule gets you close before you rent anything.
Instant VPS from $7.99 a month
- Sign up with an email address, a password and any nickname: no ID, no phone number.
- Pay with Monero, Bitcoin, Litecoin, USDT, USDC, SOL or TRX, or by card through MoonPay. Monero is the most private way to pay; USDT or USDC on Solana confirm in seconds, and we add no transfer fee on them.
- Orders are processed automatically and delivered in about 10 minutes.
- New VPS orders have a 24-hour guarantee (see the terms for what is covered).
See Instant VPS plansHow ordering worksThe rule of thumb
Memory for the weights is roughly the number of parameters times the bytes per parameter. In 16-bit precision that is 2 bytes, in 8-bit 1 byte, and in 4-bit about half a byte. Then add room for the context cache and overhead: plan for at least 10 to 30 percent more.
Examples
- 7B model: about 14 GB in 16-bit, about 7 GB in 8-bit, about 4 GB in 4-bit
- 13B model: about 26 GB in 16-bit, about 7 GB in 4-bit
- 70B model: about 140 GB in 16-bit, about 35 to 40 GB in 4-bit
Context length and batching
Long prompts and many parallel users grow the context cache. If memory runs out, lower the context length, reduce the batch size or use a smaller quantization.
Matching it to a GPU
T4 has 16 GB, L4 and A30 have 24 GB each, H100 has 80 GB and H200 has 141 GB. A server with 2 or 4 GPUs adds the memory together for models that can be split across cards.
Need a GPU server?
See our GPU servers: NVIDIA T4 to H200, built to order, no ID documents, pay with Monero or Bitcoin. Use them within our acceptable use policy.
Questions and answers
Does quantization hurt quality?
A little, and it depends on the model and method. Test with your own prompts.
Can the CPU RAM help?
Some tools offload layers to RAM, but it is much slower than GPU memory.
What about training?
Training needs several times more memory than inference, because of gradients and optimizer states.
How do I check usage?
Run nvidia-smi and watch the memory column while the model runs.
Ready to try it? Instant VPS from $7.99 a month
- Pick a plan: Instant 1-2, $7.99 a month or all Instant VPS plans.
- Sign up with an email address, a password and any nickname: no ID, no phone number.
- Pay with Monero, Bitcoin, Litecoin, USDT, USDC, SOL or TRX, or by card through MoonPay. Monero is the most private way to pay; USDT or USDC on Solana confirm in seconds, and we add no transfer fee on them.
- Orders are processed automatically and delivered in about 10 minutes.
- New VPS orders have a 24-hour guarantee (see the terms for what is covered).
- Before you pay you can ping our test IPs and read the live status page.
- Support is available 24/7 via email and our client ticket portal.
See Instant VPS plansHow ordering works