# Private LLM hardware requirements and VRAM sizing

> How much GPU memory a self-hosted LLM needs: weights by model and precision, memory for context, and which open-weight models fit in 32, 48 and 80 GB.

Source: https://wharfcloud.co.uk/guides/private-llm-hardware-requirements · Last updated 5 December 2026 · WharfCloud

Published 5 December 2026. Reading time about 7 minutes.

## Short answer

A self-hosted LLM needs enough GPU memory (VRAM) for its weights plus its context. The weights take about 2 GB per billion parameters at 16-bit, 1 GB at 8-bit and 0.5 GB at 4-bit, so a 32B model needs about 66 GB, 33 GB or 16 GB. Context comes on top: Qwen3-32B uses 256 KiB per token at 16-bit, 8 GiB for one full 32,768-token conversation. In practice a 32 GB GPU runs 30B-class models at 4-bit, a 48 GB GPU such as the NVIDIA L40S runs them at 8-bit, and an 80 GB GPU such as the NVIDIA H100 runs gpt-oss-120b, or Llama 3.3 70B at 4-bit.

## The rule of thumb: parameters times bytes

A model's weights are a list of numbers, one per parameter. At 16-bit each number takes 2 bytes, at 8-bit 1 byte and at 4-bit half a byte. So memory for the weights is roughly the parameter count in billions times 2, 1 or 0.5, in gigabytes.

Table: Memory for the weights alone, by precision

| Parameters | 16-bit | 8-bit | 4-bit |
| --- | --- | --- | --- |
| 8 billion | 16 GB | 8 GB | 4 GB |
| 32 billion | 64 GB | 32 GB | 16 GB |
| 70 billion | 140 GB | 70 GB | 35 GB |

Real 4-bit files are a little larger than this, because common 4-bit formats store a scaling factor with every block of weights; the widely used GGUF Q4_K format works out at 4.5 bits per weight. Lower precision also costs some answer quality, so 8-bit is a common compromise when it fits.

## Weights for popular open-weight models

Table: Memory for the weights of open-weight models, by precision

| Model | Parameters | 16-bit | 8-bit | 4-bit | Basis |
| --- | --- | --- | --- | --- | --- |
| gpt-oss-20b | 21B (3.6B active) | Not published | Not published | Within 16 GB (as released, MXFP4) | Runs within 16 GB as released, according to the model card |
| Gemma 4 12B | 12B | 26.7 GB | 13.4 GB | 6.7 GB | Google's memory table |
| Gemma 4 26B A4B | 26B (4B active) | 57.7 GB | 28.8 GB | 14.4 GB | Google's memory table |
| Qwen3-30B-A3B | 30.5B (3.3B active) | 61 GB | 30.5 GB | 15.3 GB | Calculated from the parameter count |
| Gemma 4 31B | 31B | 69.9 GB | 34.9 GB | 17.5 GB | Google's memory table |
| Qwen3-32B | 32.8B | 65.6 GB | 32.8 GB | 16.4 GB | Calculated from the parameter count |
| Llama 3.3 70B | 70B | 140 GB | 70 GB | 35 GB | Calculated from the parameter count |
| gpt-oss-120b | 117B (5.1B active) | Not published | Not published | Fits one 80 GB GPU (as released, MXFP4) | Fits a single 80 GB GPU as released, according to the model card |

Two things in this table surprise people. First, a mixture-of-experts model such as Gemma 4 26B A4B or Qwen3-30B-A3B uses only a few billion parameters per token, but all of its parameters must sit in memory; Google says so plainly for Gemma 4. It is faster than a dense model of the same size, not smaller. Second, gpt-oss is released in a 4-bit format (MXFP4), so OpenAI publishes its memory need rather than a 16-bit figure: within 16 GB for gpt-oss-20b, a single 80 GB GPU for gpt-oss-120b.

## Memory for context: the part people forget

While the model reads your prompt and writes its answer, it keeps a working memory for every token, called the KV cache. Its size per token is 2 x layers x key-value heads x head size x bytes per number.

Worked example, from Qwen3-32B's published configuration: 64 layers, 8 key-value heads and a head size of 128. At 16-bit that is 2 x 64 x 8 x 128 x 2 bytes = 262,144 bytes, or 256 KiB per token. A full conversation at its native 32,768-token context needs 8 GiB on top of the weights, and four people each with a long document open at once need 32 GiB.

That is why a model that just fits is a poor choice: there is no room left for long documents or for more than one person at a time. Serving software can reduce the cache, for example by storing it at 8-bit, but plan for it from the start.

## Which models fit in 32, 48 and 80 GB

Table: Highest precision of each model that fits each GPU memory size

| Model | Licence | Small (32 GB GPU) | Medium (NVIDIA L40S 48 GB) | Large (NVIDIA H100 80 GB) |
| --- | --- | --- | --- | --- |
| gpt-oss-20b | Apache 2.0 | As released | As released | As released |
| Gemma 4 12B | Apache 2.0 | 8-bit | 16-bit | 16-bit |
| Gemma 4 26B A4B | Apache 2.0 | 4-bit | 8-bit | 16-bit |
| Qwen3-30B-A3B | Apache 2.0 | 4-bit | 8-bit | 16-bit |
| Gemma 4 31B | Apache 2.0 | 4-bit | 8-bit | 8-bit |
| Qwen3-32B | Apache 2.0 | 4-bit | 8-bit | 8-bit |
| Llama 3.3 70B | Llama 3.3 Community Licence (custom terms) | No | No | 4-bit |
| gpt-oss-120b | Apache 2.0 | No | No | As released |

A model is shown as fitting when its weights take no more than 80% of the GPU memory, leaving the rest for context and the software that runs it; 4-bit weights are counted one eighth larger because 4-bit formats also store scaling factors. The figure shown is the highest precision that fits. Gemma 4 figures are Google's own; Qwen3 and Llama figures are calculated from the published parameter count; gpt-oss figures are OpenAI's.

For a team doing everyday office work, summarising, drafting and asking questions over documents, a 30B-class model at 8-bit on a 48 GB GPU is a sensible middle. The largest open-weight models, such as gpt-oss-120b, need 80 GB.

## The GPUs we offer, and their memory

Table: GPU memory of our Private AI plans and hourly GPUs, in pounds

| GPU | Memory | How you rent it | Price |
| --- | --- | --- | --- |
| 32 GB GPU | 32 GB | Private AI Small, monthly | £625/month (list £745/month), plus £295 (list £395) setup |
| [NVIDIA L40S](https://wharfcloud.co.uk/gpu/nvidia-l40s) | 48 GB GDDR6 with ECC, 864 GB/s | Private AI Medium, monthly | £895/month (list £1,095/month), plus £295 (list £395) setup |
| [NVIDIA H100](https://wharfcloud.co.uk/gpu/nvidia-h100) | 80 GB | Private AI Large, a whole server, monthly | £2,195/month (list £2,495/month), plus £295 (list £395) setup |
| [Hourly GPU](https://wharfcloud.co.uk/gpu): the types in stock | Shown for each type in the panel | Per second, from a prepaid balance | Per-second rate shown in the panel; minimum top up £25 |

Memory bandwidth matters too: a model reads all its active weights for every token it writes, so faster memory means faster answers. For sizing, though, memory capacity comes first: if the model does not fit, speed does not matter.

## CPU, RAM and disk

- **Disk.** Room for the model files at the precision you run, plus a spare copy while you switch models. A 32B model at 8-bit is about 33 GB of files.
- **CPU and RAM.** With the whole model on the GPU, the processor mostly handles requests and the web interface rather than the model itself.
- **One GPU or several.** Splitting a model across GPUs works, but runs best with fast links between them and takes more setup. Choosing a model that fits one GPU is simpler to run.

## Next step: Get the GPU sized for you

A Private AI server is a dedicated GPU with the model, web chat and a private API set up and managed for you: £625/month (list £745/month) with 32 GB, £895/month (list £1,095/month) with an L40S 48 GB or £2,195/month (list £2,495/month) with an H100 80 GB, plus a one-off setup fee of £295 (list £395).

- **We size, set up and run it:** [See the Private AI plans](https://wharfcloud.co.uk/private-ai-server), Private AI server, from £625/month (list £745/month).
- **Test a model by the hour first:** [Hourly GPU](https://wharfcloud.co.uk/gpu)

Not sure which fits? [Ask an engineer](https://wharfcloud.co.uk/contact?topic=private-ai-server); we reply in UK business hours.

## Frequently asked questions

### How much VRAM do I need to run an LLM?

For the weights, about 2 GB per billion parameters at 16-bit, 1 GB at 8-bit and 0.5 GB at 4-bit, plus memory for context. A 32B model at 8-bit needs about 33 GB before context, so a 48 GB GPU is the practical size.

### What GPU do I need for Llama 3.3 70B?

At 4-bit the weights take about 35 GB by simple arithmetic and more in real files, so an 80 GB GPU such as the NVIDIA H100 leaves room for context. At 8-bit the weights alone are about 70 GB; at 16-bit, about 140 GB, which needs several GPUs.

### Can gpt-oss-120b run on one GPU?

Yes. OpenAI's model card says gpt-oss-120b fits a single 80 GB GPU such as the NVIDIA H100, as released, and gpt-oss-20b runs within 16 GB.

### Does a mixture-of-experts model need less memory?

No. It uses fewer parameters per token, so it is faster, but all its parameters must be loaded. Gemma 4 26B A4B needs 28.8 GB at 8-bit according to Google, close to a dense model of the same size.

### How much memory does context use?

It depends on the model. For Qwen3-32B at 16-bit it is 256 KiB per token: 8 GiB for one full 32,768-token conversation. Several people working at once multiply that.

### Can I run a private LLM without a GPU?

Small models run on a processor, more slowly. For a team using a 30B-class model during the working day, a GPU with enough memory is the usual choice.

## Sources

- [OpenAI: gpt-oss model card on Hugging Face](https://huggingface.co/openai/gpt-oss-120b)
- [Google: Gemma 4 inference memory requirements](https://ai.google.dev/gemma/docs/core)
- [Qwen: Qwen3-30B-A3B model card](https://huggingface.co/Qwen/Qwen3-30B-A3B)
- [Qwen: Qwen3-32B model card](https://huggingface.co/Qwen/Qwen3-32B)
- [Meta: Llama 3.3 70B Instruct model card](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct)
- [Qwen: Qwen3-32B configuration (layers, key-value heads, head size)](https://huggingface.co/Qwen/Qwen3-32B/blob/main/config.json)
- [Hugging Face: GGUF quantisation types (Q4_K, 4.5 bits per weight)](https://huggingface.co/docs/hub/en/gguf)
- [NVIDIA: L40S specifications](https://www.nvidia.com/en-us/data-center/l40s/)
- [NVIDIA: H100 specifications](https://www.nvidia.com/en-us/data-center/h100/)

---

WharfCloud is a trading name of Sunucu Internet Services Consultancy Ltd, registered in England and Wales, company number 12963678.
Support: engineers Monday to Friday, 08:00 to 18:00 UK time. Critical incidents: A person responds to critical incidents within 1 hour (Every day, 07:00 to 23:00 UK time). Automated monitoring and automated recovery overnight and at weekends.
Contact: hello@wharfcloud.co.uk · https://wharfcloud.co.uk/contact