Skip to content
ModelLM

How much VRAM do you need?

What can I run on my GPU?

Short answer

Weights plus KV cache plus about a gigabyte of overhead. For inference, budget parameters × bits ÷ 8 for the weights, then add the cache for the context you want.

4 min read · updated August 2026

01

The three components

Weights: parameters times effective bits per weight, divided by eight. A 14B at Q4_K_M is 14.8e9 × 4.83 ÷ 8 ≈ 8.9 GB.

KV cache: 2 × layers × kv_heads × head_dim × context × dtype bytes. Grouped-query attention, which almost every modern model uses, cuts this by the ratio of query heads to key-value heads — often 4× or 8×.

Overhead: the CUDA or Metal context, compute buffers and allocator slack. Roughly half a gigabyte plus a bit more for larger models.

You never get the whole card

The OS and desktop compositor take a slice. ModelLM reserves about 0.6 GB on a headless Linux box and 1 GB where a desktop is running, and budgets 75% of unified memory on Apple Silicon to match the default wired-memory limit.

02

What each budget buys

Assuming Q4_K_M and a modest context window:

VRAMComfortableTightFine-tuning
8 GB3–7B9B3B QLoRA
12 GB7–9B14B7B QLoRA
16 GB9–14B24B7–8B QLoRA
24 GB14–24B32B14B QLoRA
32 GB24–32B49B14–24B QLoRA
48 GB32–49B70B32B QLoRA
128 GB unified70B+32B+ via MLX

ModelLM estimates. Check a specific model against your machine on its model page.

03

Training needs far more than inference

A model you can comfortably run is not necessarily one you can train. Fine-tuning adds the adapter weights, their gradients, two fp32 Adam moments per trainable parameter, and activation memory that scales with batch size times sequence length.

In practice, expect to need roughly 1.5–2× the inference footprint for a QLoRA run at a modest sequence length, and considerably more without gradient checkpointing.

Put this into practice

ModelLM applies these rules to your own data.

Upload what you have and the advisor scores all four approaches against it, with the evidence behind the recommendation.

Create a model