[bmdpat]

Local LLM Toolkit

VRAM calculator for local LLMs.

Pick a model, quant, context window, and GPU. The default GGUF check estimates 46/80 GPU layers for Llama 3.3 70B at Q4_K_M on RTX 4090 24GB, then gives you --n-gpu-layers 46 before trial and error.

Calculator

5/5 free runs left today

CPU offload

46/80 layers on GPU

41GB required24GB available

Full GPU load needs about 17GB more VRAM.

GPU VRAM used

23.8GB

Model weights

40.3GB

KV cache

0.2GB

Speed estimate

8.3-15.9 tok/s

llama.cpp flag
--n-gpu-layers 46

The model can run with CPU offload. Expect lower throughput and more system RAM pressure.

Needs more VRAM

Some links are affiliate links. If you buy or rent through them I may earn a commission at no extra cost to you.

Save this configuration and get fit alerts

Keep the result above. Get new GGUF benchmarks, VRAM math, and model-fit notes by email. M-F, only when there is something worth sending.

Single opt-in for the local-LLM newsletter. Unsubscribe anytime. Privacy.

Default target

llama.cpp

Scope

22 model presets / 26 GPUs / 9 quant levels

Recent usage

0 tracked runs / 30d

FAQ

How much VRAM do I need for Llama 3 70B?
Llama 3.3 70B at Q4_K_M weighs about 40.3GB before runtime overhead and KV cache. With the calculator's 4K tokens default context, the full estimate is 41GB. A 24GB card can run it with partial GPU offload, but full GPU residency usually needs a 48GB class card, unified-memory machine, or multiple GPUs.
What does --n-gpu-layers do in llama.cpp?
`--n-gpu-layers` controls how many transformer layers llama.cpp keeps on the GPU. Higher values are faster when they fit in VRAM. Lower values spill more work to CPU and system RAM.
Can I run a 70B model on 24GB VRAM?
Yes, but usually not fully in VRAM. On RTX 4090 24GB, the current calculator estimate offloads 46/80 layers and emits `--n-gpu-layers 46` at the default 4K tokens. Use Q4_K_M or smaller, offload as many layers as fit, and expect CPU offload to reduce tokens per second.

§ 002 / PRICING

Unlimited local LLM decisions with Pro.

The toolkit is free for up to 5 free runs per tool per day. Upgrade to Pro to remove the limit and keep your rig history in one place.

Free

$0

  • 5 free runs per tool per day
  • Standard GPU presets

Pro

$7/mo

  • Unlimited calculator runs
  • Save my rig and get new-fit alerts
  • Import custom models from Hugging Face URLs
  • Benchmark history across model and quant choices
  • Early access to new toolkit surfaces
  • No ads
Go Pro

Or $49/year