▶ Fine-tune Calculator▋
Estimate the GPU memory and cost to fine-tune and serve an LLM — full vs LoRA vs QLoRA, multi-GPU splits, serving concurrency, cloud vs local, and download size.
- 01Fine-tuning VRAM Calculator — Full vs LoRA vs QLoRAEstimate the GPU memory to fine-tune an LLM, broken down into base weights, gradients, optimizer state and activations.training
- 02Multi-GPU LLM Split CalculatorHow many GPUs you need to hold a model, and the VRAM per card at tensor-parallel 2, 4 and 8.multi-gpu
- 03LLM Serving Concurrency CalculatorHow many concurrent requests a GPU can serve — from the VRAM left after the weights, divided by the KV cache per request.serving
- 04Cloud GPU vs Local — LLM Cost CalculatorThe smallest cloud GPU tier that fits your model, its dollars per million tokens, and how that compares to an API.cost
- 05LLM Download Size & Disk CalculatorHow much disk a model takes at a given quantization, how many files it splits into, and how long the download takes.storage
Sibling of vram-calc.com, which covers plain inference sizing. Every tool takes model / GPU presets or custom numbers; presets carry a verified date.
- How Much VRAM Do You Need to Fine-Tune an LLM? Full vs LoRA vs QLoRAThe memory bill for fine-tuning an open-weight model — weights, gradients, optimizer state and activations — and why QLoRA turns a 120 GB job into a 5 GB one.
- Fine-Tuning Memory Levers: Optimizer, Gradient Checkpointing, Batch Size and LoRA RankThe four settings that actually move your fine-tuning memory — with measured-by-formula examples for an 8B model — and a recipe for making a job fit.
- Multi-GPU LLMs: Data, Tensor and Pipeline Parallelism, FSDP and ZeRO ExplainedHow many GPUs a model really needs for inference and for training, what each parallelism strategy splits, and what the interconnect does to the answer.
Adapting an open-weight language model to your own data, and then serving it to users, are two separate memory problems with very different answers. Fine-tuning needs room for the weights, the gradients, the optimizer state and the activations; serving needs room for the weights and one KV cache per concurrent user. This site gives you a calculator for each stage — training memory, multi-GPU splits, serving concurrency, cloud-versus-local cost and storage — and guides that explain the reasoning behind every number.
It is built for people planning a fine-tune or a small deployment: engineers choosing between LoRA and a full run, teams deciding how many GPUs a model needs, and founders working out whether to rent or buy. Everything runs in your browser; nothing you type is sent anywhere.
- Models: layer counts, hidden sizes, attention heads, KV heads and expert counts are read from each model's own
config.jsonon Hugging Face, with exact parameter counts from the safetensors metadata, and regenerated automatically every few days. - KV cache: computed per attention type — standard grouped-query attention, MLA latent caches, sliding-window layers and hybrid attention/state-space models — so a model with a compressed cache is not overstated.
- Training memory: weights, gradients, optimizer state (including the fp32 master copy for full fine-tuning) and activations, with and without gradient checkpointing.
- GPUs and prices: memory and bandwidth come from manufacturer spec sheets. Cloud prices are indicative on-demand rates and are meant to be replaced with a real quote.
These are first-order planning numbers. They do not model a specific framework's behaviour (DeepSpeed, FSDP, Unsloth, Axolotl), CPU or NVMe offloading, packing, flash-attention savings or the exact LoRA target modules you choose. Use them to pick a method, a batch size and a number of GPUs, then confirm with a short real run. Spotted a wrong number? Tell us on thecontact page.