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

Prompt Engineering vs RAG vs LoRA Fine-Tuning: 2026 Decision Matrix

Key Takeaway: A rigorous engineering flowchart showing when to stay on cached prompts, when to invest in hybrid RAG, and when QLoRA distillation pays back in under 30 days.

1. Never Fine-Tune Before Building a Golden Eval Dataset

Before touching Unsloth or renting an H100, assemble 150–300 real production edge cases inside Braintrust, LangSmith, or MLflow with deterministic graders. Most perceived "model failures" disappear once prompts, JSON tool descriptions, and retrieval chunks are systematically measured.

2. Use RAG for Dynamic Knowledge, Fine-Tuning for Behavior & Cost

Fine-tuning updates neural weights to teach output format, domain vocabulary, tool-calling discipline, or distilled reasoning—not to store yesterday’s inventory table. When an app requires both private real-time facts and compact low-latency reasoning, combine hybrid BM25+vector RAG with a small LoRA-tuned synthesis model.

3. Calculate Distillation Payback Volume

Distilling a 5,000-token GPT-5 or Claude prompt into a fine-tuned 8B–32B open-weight model (via OpenPipe, Fireworks, or Unsloth) typically costs $50–$500 in compute plus 1–2 weeks of engineering evals. Below ~$1,500/month in frontier API spend, cached prompts win on ROI; above $5,000–$10,000/month on repetitive high-volume endpoints, LoRA distillation often pays back within a single month.

4. Audit Training Data Quality Over Raw Sample Count

Sample efficiency beats brute-force scale: 1,500 deduplicated, verified domain examples curated with NeMo Curator or human review routinely outperform 50,000 noisy scraped rows in QLoRA SFT and DPO/GRPO alignment.

Verified Answers

Prompt Engineering vs RAG vs LoRA Fine-Tuning: 2026 Decision Matrix — 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.