# How Much GPU Memory Do I Need? The Plain-English Answer

Published 17 October 2026, updated 7 November 2026. 5 min read. For: Beginners choosing a GPU to run or fine-tune an open model.

## Key facts

- Multiply the billions of parameters by 2.4 GB for 16-bit, 1.2 for 8-bit or 0.6 for 4-bit, then rent the cheapest GPU that holds the result.
- Qwen3.8-27B needs 17 GB in 4-bit (one RTX 4090), 33 GB in 8-bit (one L40S) and 67 GB in 16-bit (one A100).
- 24 GB is enough for many models: it serves an 8B model in 16-bit and models up to about 32B parameters in 4-bit.
- Fine-tuning needs more: about 0.7 GB per billion parameters with QLoRA, 2.4 with LoRA and 16 for full fine-tuning with Adam.
- Mixture-of-experts models need memory for every parameter: Qwen3.6-35B-A3B uses about 3B per token but needs about 86 GB in 16-bit.

How much GPU memory do I need? The model decides, not the GPU. Take the model's size in billions of parameters and multiply: 2.4 GB per billion to run it in 16-bit, 1.2 GB in 8-bit, 0.6 GB in 4-bit. Then rent the cheapest GPU with at least that much memory. Everything below is the detail, and the detail is where beginners lose money: on a GPU too small to load the model, or on one twice as big as it needed to be.

## The one rule

A model is a pile of numbers called parameters. A "27B" model has 27 billion of them. Each takes space in GPU memory, depending on how precisely it is stored:

- **16-bit** (the usual published form): 2 bytes per parameter.
- **8-bit**: 1 byte per parameter.
- **4-bit**: half a byte per parameter.

Add about 20% for the working memory a model needs while it answers (the KV cache, at moderate context). That gives the rule: **2.4, 1.2 or 0.6 GB per billion parameters.**

Three models, worked through. Figures come from our per-model facts and the [GPU memory guide](/guides/gpu-memory.html.md):

| Model | Parameters | 16-bit | 8-bit | 4-bit |
|---|---|---|---|---|
| An 8B model (Llama 3.1 8B) | 8B | 19 GB | 9.6 GB | 4.8 GB |
| [Qwen3.8-27B](/models/qwen/qwen3.8-27b.html.md) | 27.8B | 67 GB | 33 GB | 17 GB |
| [gpt-oss-120b](/models/openai/gpt-oss-120b.html.md) | 116.8B | 280 GB | 140 GB | 70 GB |

8-bit and 4-bit versions are compressed copies of the same model. They trade some quality for a much smaller footprint, so test them on your own prompts before you decide the smaller one is good enough. If it passes your tests, it fits a much cheaper GPU.

## Then find a GPU that holds it

Every GPU has a fixed amount of memory. Pick the cheapest one whose memory is at least your number:

| GPU | Memory | Lowest price per GPU-hour now |
|---|---|---|
| [RTX 4090](/gpus/rtx-4090.html.md) | 24 GB | [the live price](/gpus/rtx-4090.html.md) |
| [RTX 5090](/gpus/rtx-5090.html.md) | 32 GB | [the live price](/gpus/rtx-5090.html.md) |
| [L40S](/gpus/l40s.html.md) | 48 GB | [the live price](/gpus/l40s.html.md) |
| [A100](/gpus/a100.html.md) | 80 GB | [the live price](/gpus/a100.html.md) |
| [H100](/gpus/h100.html.md) | 80 GB | [the live price](/gpus/h100.html.md) |
| [RTX PRO 6000](/gpus/rtx-pro-6000.html.md) | 96 GB | [the live price](/gpus/rtx-pro-6000.html.md) |
| [H200](/gpus/h200.html.md) | 141 GB | [the live price](/gpus/h200.html.md) |
| [B200](/gpus/b200.html.md) | 180 GB | [the live price](/gpus/b200.html.md) |
| [B300](/gpus/b300.html.md) | 288 GB | [the live price](/gpus/b300.html.md) |

So Qwen3.8-27B in 4-bit (17 GB) runs on one RTX 4090. In 8-bit (33 GB) it needs one L40S. In 16-bit (67 GB) it needs one A100. gpt-oss-120b in 8-bit (140 GB) fits on one H200.

When one GPU is not enough, several on one machine add up. [GLM-5.3](/models/zai-org/glm-5.3.html.md) has 753 billion parameters; in 4-bit it needs about 452 GB, which is two B300s.

## A worked example in 30 seconds

Say you want your own copy of [Gemma 4 31B](/models/google/gemma-4-31b-it.html.md) to chat with. It has 31.3 billion parameters:

1. 16-bit: 31.3 x 2.4 = about 75 GB. One A100 (80 GB) holds it.
2. 8-bit: 31.3 x 1.2 = about 38 GB. One L40S (48 GB) holds it.
3. 4-bit: 31.3 x 0.6 = about 19 GB. One RTX 4090 (24 GB) holds it.

Try the 4-bit version on the RTX 4090 first, at [the live price](/gpus/rtx-4090.html.md) an hour. If the answers are not good enough, step up to 8-bit on an L40S at [the live price](/gpus/l40s.html.md). You found the right GPU without buying anything, and the most a wrong guess costs is an hour.

## Fine-tuning needs more, sometimes much more

Running a model only reads the weights. Training changes them, and that needs extra memory for the changes. Three common ways, with the rule for each:

| Method | Rough memory | What it does |
|---|---|---|
| QLoRA | 0.7 GB per billion | Freezes a 4-bit copy of the model, trains small add-ons |
| LoRA | 2.4 GB per billion | Freezes the 16-bit model, trains small add-ons |
| Full fine-tuning | 16 GB per billion | Trains every weight, with Adam |

For Qwen3.8-27B that is 19 GB with QLoRA (one RTX 4090), 67 GB with LoRA (one A100) and 445 GB for full fine-tuning (two B300s), before activations. That is the gap between one RTX 4090 at [the live price](/gpus/rtx-4090.html.md) an hour and two B300s at [the live price](/gpus/b300.html.md) each. Start with QLoRA unless you have a reason not to.

## Three traps

**1. "Active parameters" do not shrink memory.** Mixture-of-experts models, often named with an "A" like Qwen3.6-35B-A3B, only use part of their weights for each token they write (3B here; a token is a word or a piece of one). But all 36B must sit in memory: about 86 GB in 16-bit (one RTX PRO 6000) or 22 GB in 4-bit (one RTX 4090). They are cheap to run fast, not cheap to load. See [Qwen3.6-35B-A3B](/models/qwen/qwen3.6-35b-a3b.html.md).

**2. Long context eats the margin.** The 20% covers moderate prompts. Qwen3.8-27B accepts 262,144 tokens of context, and filling that, or serving many users at once, needs far more working memory than 20%. Long documents or many users: leave real headroom, or go up a GPU.

**3. Paying for memory you do not use.** An 80 GB card running a 17 GB model is not "safe", it is waste. The rule exists so you can rent the small card with confidence.

## Let the tools do the math

You do not need a spreadsheet. Three ways to get the number for any Hugging Face model:

- **"Can I run it?"** on [/models](/models.html.md) covers 120 popular models, with the setups that hold each one.
- **The API**, no account needed:

  ```sh
  curl "https://arrakis.goodailabs.com/v1/models/fit?model=Qwen/Qwen3.8-27B"
  ```

  It answers with the memory in 16, 8 and 4-bit and the cheapest GPU setups that hold it right now.
- **The deploy planner.** Name a model on the console's Models page, or ask an agent to call `plan_deploy`, and you get every machine it fits on now, best value first, before anything is rented.

More beginner reading: [rent a cloud GPU in five minutes](/blog/rent-first-cloud-gpu.html.md), and every model in our list that fits on one GPU in [open models on a single GPU](/blog/open-models-one-gpu-2026.html.md).

## Rent the smallest GPU that fits

Do the multiplication, check it with the tools, and pay for the memory you need, not the memory you might. [Find GPUs by memory and price](/console/#/gpus).

New here? Use code [FIRST25](/console/?code=FIRST25) for $25 off your first deposit of $50 or more, until 31 December 2026.

## Rent the GPUs in this post

- [RTX 4090](/gpus/rtx-4090.html.md): [the live price](/gpus/rtx-4090.html.md) per GPU-hour now; rent in the console (/console/#/gpus?gpu_type=RTX 4090) or with the MCP tool rent_gpu.
- [RTX 5090](/gpus/rtx-5090.html.md): [the live price](/gpus/rtx-5090.html.md) per GPU-hour now; rent in the console (/console/#/gpus?gpu_type=RTX 5090) or with the MCP tool rent_gpu.
- [L40S](/gpus/l40s.html.md): [the live price](/gpus/l40s.html.md) per GPU-hour now; rent in the console (/console/#/gpus?gpu_type=L40S) or with the MCP tool rent_gpu.
- [A100](/gpus/a100.html.md): [the live price](/gpus/a100.html.md) per GPU-hour now; rent in the console (/console/#/gpus?gpu_type=A100) or with the MCP tool rent_gpu.

## Questions

**How much GPU memory do I need for an 8B model?** About 19 GB to serve it in 16-bit, 9.6 GB in 8-bit and 4.8 GB in 4-bit, so one 24 GB RTX 4090 runs it at any of the three.

**Is 24 GB of GPU memory enough?** For many models, yes. It serves an 8B model in 16-bit and models up to about 32B parameters in 4-bit, and it fine-tunes an 8B model with LoRA or QLoRA.

**Why does fine-tuning need more memory than running a model?** Full fine-tuning keeps gradients and optimizer states next to the weights, about 16 bytes per parameter with Adam, against about 2.4 to serve in 16-bit. LoRA and QLoRA freeze the base model and need far less.

**Do mixture-of-experts models need less GPU memory?** No. Memory follows total parameters, not active ones. Qwen3.6-35B-A3B uses about 3B parameters per token but needs about 86 GB in 16-bit, because all 36B must be loaded.

## More from the blog

- [GPU price per GB: the metric that matters, from live prices](/blog/gpu-price-per-gb-memory.html.md): GPU price per GB of memory, from live hourly prices: the formula, a table for ten GPUs, break-even ratios, a one-line script, and when the metric misleads.
- [Open Source LLM on a Single GPU: 13 Models That Fit](/blog/open-models-one-gpu-2026.html.md): Which open source LLM runs on a single GPU? 13 of the 16 open models we track fit one card at 16, 8 or 4-bit, from an RTX 4090 to a B300. The full list.
- [Fine-Tune Qwen with LoRA: Cost, Memory and Hours](/blog/fine-tune-qwen-lora-cost.html.md): What it costs to fine tune Qwen with LoRA or QLoRA: the memory per model, the GPU that holds it, a worked estimate of hours, and the dollars per run.

Every post: [/blog](/blog.html.md). RSS: [/blog/feed.xml](/blog/feed.xml).
