← All posts
LLMFine-tuningStrategy

Fine-tune or prompt? A decision framework that fits on a napkin

Lightning Leap · May 4, 2026

Choosing between fine‑tuning a large language model (LLM) and engineering a prompt is the most frequent crossroads we hit at Lightning Leap Analytics. The decision isn’t binary; it’s a spectrum defined by data availability, latency constraints, cost tolerance, and long‑term governance. Below is a napkin‑sized framework that lets you plot a project in seconds and walk away with a clear action.

70%
of enterprises start with prompting
3‑5 weeks
typical fine‑tune cycle
$0.12/1K
average inference cost for a 7B model

1. Data density – If you have high‑quality, domain‑specific data that covers >10k distinct intents, fine‑tuning yields a measurable lift (often 5‑12 % in exact‑match metrics). Sparse data (<1k examples) favours prompt engineering, where retrieval‑augmented generation (RAG) can compensate by pulling external knowledge at runtime.

2. Latency budget – Fine‑tuned models can be served on smaller inference nodes, shaving 30‑50 ms per token compared to prompting a 175B base model behind a remote API. If your SLA is sub‑200 ms for real‑time chat, fine‑tuning is usually the only viable path.

3. Cost trajectory – Prompting incurs per‑token API fees that scale linearly with usage. Fine‑tuning has an upfront compute bill (≈$8‑$12 k for a 6‑epoch run on a 40‑GPU cluster) but then costs drop to $0.02‑$0.04 per 1k tokens for self‑hosted inference. For workloads >5 M tokens/month, the ROI break‑even typically occurs within 2‑3 months.

Decision Matrix (napkin view)

  • Data volume — <1k examples — >10k examples
  • Latency SLA — >300 ms — <200 ms
  • Monthly token volume — <5 M — >5 M

4. Governance & auditability – Fine‑tuned models are a static artifact you can version, scan for bias, and ship offline. Prompt pipelines, especially those that stitch together multiple LLM calls, are harder to certify because each external call introduces a moving target.

5. Skill set – Prompt engineering leans on product designers and domain experts; fine‑tuning demands ML engineers comfortable with distributed training, hyper‑parameter sweeps, and quantization. Align the choice with the talent you have on hand or are willing to hire.

Practical workflow

1️⃣ Start with a baseline prompt and measure key metrics (accuracy, latency, cost). 2️⃣ If you hit a data‑rich, low‑latency wall, spin up a fine‑tune job on a mid‑size model (e.g., LLaMA‑7B). 3️⃣ Validate the fine‑tuned checkpoint against the original prompt baseline. 4️⃣ Deploy the winner behind a feature flag and monitor drift.

In practice, most teams end up in a hybrid loop: prompt for rapid experimentation, fine‑tune once the pattern stabilises, then fall back to prompting for edge cases. The napkin framework simply forces you to ask the right three questions—data, latency, and cost—before you waste engineering cycles.