Published ML Training & MLOps Reference: SampleEfficiency compiles verified GPU hourly rates (RunPod, Lambda, Modal, CoreWeave), managed LoRA/fine-tuning platforms, and evaluation/data-curation pricing. Confirm current H100/B200 availability, spot preemption terms, and enterprise seat quotes directly with each vendor.

Primary-Source Playbook · Updated 2026-11-25

QLoRA & Full Fine-Tuning VRAM Sizing & GPU Cost Cheat Sheet

Key Takeaway: Exact memory math for 4-bit QLoRA, 16-bit LoRA, and full-parameter AdamW training across 8B, 32B, and 70B models on L40S, A100, and H100 GPUs.

1. Know the 4x–16x VRAM Gap Between Full Fine-Tuning and QLoRA

Full bf16 fine-tuning with AdamW stores model weights (2 bytes/param), gradients (2 bytes), and fp32 optimizer states + master weights (12 bytes)—requiring roughly 16 bytes per parameter before activations (~128 GB+ for an 8B model). 4-bit QLoRA with Unsloth compresses base weights to ~0.5 bytes/param and updates only ~1%–3% adapter parameters, fitting an 8B model cleanly inside a single 16–24 GB GPU and a 70B model inside a single 80 GB A100/H100.

2. Budget Context Length Activation Memory

Doubling training sequence length increases attention activation memory dramatically unless FlashAttention-2/3 and gradient checkpointing are enabled. Always turn on sequence packing (in Axolotl or Unsloth) so short 300-token training samples do not waste 85% of GPU FLOPs on padding tokens.

3. Match GPU Tier to Bottleneck, Not Hype

For 7B–14B QLoRA experiments under 10M tokens, a $0.80–$1.50/hr L40S or RTX 4090 finishes in under 45 minutes for less than $2. Step up to $2.00–$4.29/hr 80 GB H100s (RunPod/Lambda/Modal) when training 32B–70B models, long 16K–32K contexts, or multi-million-token GRPO loops.

4. Checkpoint Frequently on Spot & Community GPUs

Save LoRA adapter checkpoints (often just 50–300 MB) to persistent S3 or RunPod/Modal Network Volumes every 100–250 steps so a spot preemption loses minutes rather than hours of compute.

Verified Answers

QLoRA & Full Fine-Tuning VRAM Sizing & GPU Cost Cheat Sheet — FAQs

How much does an NVIDIA H100 GPU cost per hour for fine-tuning in 2026?

Published on-demand single-H100 hourly rates range from ~$1.99–$2.69/hr on RunPod Community Cloud and $2.89–$3.99/hr on RunPod Secure Cloud, ~$3.29–$4.29/hr on Lambda Cloud, ~$6.16/GPU-hr on CoreWeave (billed per 8x node on demand), and roughly $6.88–$12.29/GPU-hr on major enterprise hyperscalers.

How much cheaper is QLoRA fine-tuning compared to full-parameter fine-tuning?

Because 4-bit QLoRA with fused kernels (such as Unsloth) compresses base weights and trains only ~1%–3% low-rank adapter parameters, VRAM demand drops by up to 70%–80%. That lets teams fine-tune 8B–70B models on a single GPU for $10–$300 instead of reserving multi-node 8x H100 clusters.

When should I choose RAG instead of fine-tuning an LLM?

Choose RAG whenever answers depend on private, frequently changing, or auditable documents requiring verbatim citations and per-user access controls. Choose LoRA fine-tuning when you need strict output formatting, specialized domain reasoning, faster latency, or 5x–10x lower unit inference costs via model distillation.

What is Thinking Machines’ Tinker API and how is it priced?

Tinker is a token-metered post-training API designed for running custom LoRA fine-tuning and RL loops on open-weight models without managing GPU clusters. Instead of renting hourly servers, teams pay per million training, prefill, and sampling tokens (with published base training rates near ~$0.40 per million tokens).

How do Weights & Biases, MLflow, LangSmith, and Braintrust differ in pricing?

MLflow is free Apache-2.0 open source (plus your own infra or Databricks DBUs); W&B offers a free personal tier, ~$60/mo Pro, and custom enterprise seats (~$315–$400/seat reported); LangSmith starts free (5k traces) and bills $39/seat/mo Plus plus trace overages; Braintrust starts free (1 GB) and charges $249/mo Pro with unlimited seats included.

Does SampleEfficiency fabricate benchmarks or store my training budget inputs?

No. All calculator modeling runs 100% locally in your browser with zero cookies, zero server logging, and zero invented star ratings or synthetic accuracy scores.