Calculate the weight floor
An illustrative eight-billion-parameter model stored at two bytes per parameter needs about 16 billion bytes for its weights, or roughly 14.9 GiB. That is a floor, not a recommendation for a 16 GB card. The runtime still needs room to execute the model.
At four bits per parameter, the raw arithmetic gives four billion bytes. Real quantization formats also store scales and other metadata; some operations or layers may use higher precision. Treat the calculation as an estimate to reject obviously undersized GPUs, then load the actual artifact.
Context and concurrency consume the rest of the VRAM budget
During generation, attention implementations commonly retain keys and values for earlier tokens. Longer conversations and more simultaneous requests increase this working set. The exact size depends on the model architecture, cache precision and runtime.
Test the longest prompts you intend to accept. A configuration that answers one short prompt successfully can still run out of memory when several users submit documents together. Decide whether the application should queue, shorten context or reject oversized requests.

Keep a memory log during a realistic test
Record the model revision, weight format, maximum context, batch settings and GPU variant. Observe GPU memory during loading and under sustained traffic; NVIDIA documents memory reporting through nvidia-smi. A snapshot after startup misses peaks that occur during work.
Increase concurrency in steps while holding prompt lengths constant. Then hold concurrency constant and lengthen the prompts. Separating those tests tells you whether the limit comes from serving more users or keeping more tokens per user.
References: NVIDIA System Management Interface
When another GPU helps
If weights barely fit, a larger-memory GPU can leave useful room for requests. Splitting a model across GPUs is another option, but it introduces communication and deployment decisions. Do not assume two separate rental machines act like one large-memory device.
The useful purchasing document is a measured envelope: this model revision, this precision, this context limit and this number of concurrent requests. Include the observed headroom. It gives an operator a specific requirement and gives your team a reproducible acceptance test.
Quick reference: weight memory by model size
The table applies the weight-floor arithmetic to common parameter counts: parameters multiplied by bytes per parameter, in decimal GB. These are weights only, before KV cache, activations and runtime overhead. Use them to rule out GPUs that are obviously too small, not to pick one that exactly matches the number.
To convert to the binary GiB that tools such as nvidia-smi report, divide by about 1.074: 14 GB is about 13.0 GiB, and 140 GB is about 130.4 GiB. Real 4-bit formats also store scales and other metadata, and some layers are often kept at higher precision, so a 4-bit checkpoint usually loads somewhat larger than the 0.5-byte figure suggests. Check the size of the actual artifact before relying on the 4-bit column.
| Model size | FP16/BF16 (2 bytes/param) | INT8 (1 byte/param) | 4-bit (~0.5 byte/param) |
|---|---|---|---|
| 7B | 14 GB | 7 GB | ~3.5 GB |
| 13B | 26 GB | 13 GB | ~6.5 GB |
| 34B | 68 GB | 34 GB | ~17 GB |
| 70B | 140 GB | 70 GB | ~35 GB |
References: NVIDIA System Management Interface
Estimate the KV cache from the model configuration
For a standard multi-head or grouped-query attention model, cache size per token is roughly 2 (keys and values) × layers × key-value heads × head dimension × bytes per cache element. Multiply by the tokens held across all active sequences. The layer count, key-value head count and head dimension are in the model’s configuration file. Architectures with sliding-window attention or compressed caches follow different rules, so read the model documentation before applying the formula.
An illustrative configuration with 32 layers, 8 key-value heads, a head dimension of 128 and a 2-byte cache needs 131,072 bytes (128 KiB) per token. Eight concurrent sequences of 8,192 tokens hold 65,536 tokens, or 8 GiB of cache, on top of the weights. Runtimes that allocate the cache in fixed blocks or reserve it up front can show more memory in use than this estimate. If the runtime offers a lower-precision cache, test output quality and latency as well as memory before counting the saving.
Leave headroom for runtime allocations
Beyond weights and cache, the runtime reserves memory for kernels, temporary activations, graph capture and workspaces, and loading can peak above the steady-state level. Some serving engines also pre-allocate a fixed fraction of GPU memory, which makes the reported figure a configuration choice rather than a measurement of need.
Do not choose a GPU whose advertised memory matches the weight-file size and assume it will serve requests. Record free memory at the worst point of the test and keep that figure as the headroom in your requirement.
Test the request limits, not only typical traffic
Include the largest request the product will accept, not only the average prompt. If the service must reject oversized input, confirm that it returns a clear error before the worker runs out of memory. If it queues requests instead, record the queue policy and latency target with the result, because they decide how much cache can be in use at once.
For each run, record whether the request completed, peak memory, time to first token and a quick output check. That shows whether the limit is weight fit, cache growth or runtime behavior.
| Test dimension | Keep fixed while changing the other dimensions |
|---|---|
| Input length | Model revision, output length, concurrency |
| Concurrency | Input and output length, precision |
| Precision | Request set, concurrency, runtime version |
| GPU variant | Model artifact, server settings, client location |
References: NVIDIA System Management Interface
Compare tensor parallelism with one larger GPU
Splitting a model needs a parallelism strategy the serving engine supports, and communication between devices can reduce the benefit at small batch sizes. Run the intended engine with the exact model and tensor-parallel setting, then compare memory, latency, throughput and cost per successful request against a single larger-memory device.
Ask whether the GPUs share a host and what interconnect joins them; do not infer the topology from the device count in a listing.
Re-run the memory test when the configuration changes
Turn the measured envelope into a written requirement: model and revision, weight format, serving runtime, maximum input and output tokens, concurrency, latency target, required headroom, and the test command or request set that counts as a pass. That makes the GPU request reproducible and helps separate an undersized offer from a configuration problem.
Changing the model, tokenizer, runtime, quantization or context policy can change memory use on the same GPU. Re-run the test after any of them and keep the result with the release, so a later memory regression can be compared with a known working configuration.
References: NVIDIA System Management Interface
NeuraMesh prices for these GPUs
| GPU | Memory | Data center | Value |
|---|---|---|---|
| RTX 4090 | 24 GB | $0.46 | $0.40 |
| RTX 5090 | 32 GB | $1.60 | $0.53 |
| L40S | 48 GB | $1.26 | $0.54 |
| A100 | 80 GB | $1.56 | $0.98 |
| H100 | 80 GB | $2.88 | $2.00 |
| H200 | 141 GB | $4.60 | $2.73 |
Match the memory budget you calculated to the smallest GPU that leaves room for the KV cache and runtime, then check the price per GPU-hour.
Every order is confirmed in a quotation before you pay. See all GPU prices.
Questions readers ask
Can a model meet its LLM VRAM requirements and still fail during inference?
Yes. Loading the weights does not reserve enough memory for every future prompt, cache entry and temporary tensor.
Does quantization guarantee a four-times smaller deployment?
No. The weights may shrink substantially, while cache, metadata and runtime allocations follow different rules.
How much VRAM does an LLM need?
Start with parameter count times the weight precision, then add measured KV cache and runtime peak memory for your context length and concurrency. Validate the exact model and serving runtime; model size alone is not enough.
Why does an LLM fit on a GPU but fail on longer prompts?
Longer prompts and more active sequences can grow the KV cache. The runtime also needs memory beyond the model weights for temporary work and serving overhead.
Can I add a second GPU to make a model fit?
Sometimes, if the runtime supports the required multi-GPU strategy and the devices can communicate effectively. Benchmark the real configuration and compare it with a single larger-memory GPU.
Sources and editorial notes
Primary documentation reviewed October 9, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.
Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.



